Search completed in 1.36 seconds.
11 results for "npembedprint":
NPEmbedPrint - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Substructure of NPPrint that contains platform-specific information used during embedded mode printing. Syntax typedef struct _
NPEmbedPrint { NPWindow window; void* platformPrint; /* Platform-specific */ }
NPEmbedPrint; Fields The data structure has the following fields: window The NPWindow the plug-in should use for printing. platformPrint Additional platform-specific printing information. Mac OS: THPrint Unix: Pointer to a NPPrintCallbackStruct. Description The NPP_Print function passes a pointer to an NPPrint object (previously allocated by the browser) to the plug-in. The
NPEmbedPrint structure is used when the mode field of NPPrint is set to NP_EMBED. Unix The plug-in location and size in the NPWindo...
NPPrint - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Contains information the plug-in needs to print itself in full-page or embedded mode. Syntax typedef struct _NPPrint { uint16 mode; /* NP_FULL or NP_EMBED */ union { NPFullPrint fullPrint; /* if mode is NP_FULL */
NPEmbedPrint embedPrint; /* if mode is NP_EMBED */ } print; } NPPrint; Fields The data structure has the following fields: mode Determines whether plug-in prints in full-page or embedded mode. Values: NP_FULL: Pointer to NPFullPrint structure. Plug-in can optionally print in full-page mode. The fullPrint field of the union is valid. See NPFullPrint and NPP_Print. NP_EMBED: Pointer to
NPEmbedPrint structure. Plug-in should print in embedded mode. The embedPrint field of the uni...
...the following fields: mode Determines whether plug-in prints in full-page or embedded mode. Values: NP_FULL: Pointer to NPFullPrint structure. Plug-in can optionally print in full-page mode. The fullPrint field of the union is valid. See NPFullPrint and NPP_Print. NP_EMBED: Pointer to
NPEmbedPrint structure. Plug-in should print in embedded mode. The embedPrint field of the union is valid. See
NPEmbedPrint. ...
...r to
NPEmbedPrint structure. Plug-in should print in embedded mode. The embedPrint field of the union is valid. See
NPEmbedPrint. Description The NPP_Print function passes a pointer to an NPPrint object (previously allocated by the browser) to the plug-in. The pointer and fields within the NPPrint structure are valid only for the duration of the NPP_Print call. ...
Index - Archive of obsolete content
, Plugins, Reference Contains information required during embedded mode printing. 3624 NPByteRange NPAPI, Plugins Represents a particular range of bytes from a stream. 3625 NPClass NPAPI, Plugins NPClass is a structure that holds a set of pointers to functions that make up the behavior of an instance of an NPClass (i.e. an NPObject). 3626
NPEmbedPrint NPAPI, Plugins Substructure of NPPrint that contains platform-specific information used during embedded mode printing. 3627 NPEvent NPAPI, Plugins Represents an event passed by NPP_HandleEvent() to a windowless plug-in. 3628 NPFullPrint NPAPI, Plugins Substructure of NPPrint that contains platform-specific information used during full-page mode ...
...:"Data_Arrived") 3690 NPP_WriteReady NPAPI, Plugins Determines maximum number of bytes that the plug-in can consume. 3691 NPPrint NPAPI, Plugins Contains information the plug-in needs to print itself in full-page or embedded mode. 3692 NPPrintCallbackStruct NPAPI, Plugins Contains information required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing on Unix systems. 3693 NPRect NPAPI, Plugins Represents a rectangular area of a plug-in's content area. 3694 NPRegion API, Gecko, NPAPI, Plugins, Reference Represents a platform-defined region of a page. 3695 NPSavedData NPAPI, Plugins Block of instance information saved after the plug-in instanc...
NPAnyCallbackStruct - Archive of obsolete content
rms. Contains information required during embedded mode printing. Syntax typedef struct { int32 type; } NPAnyCallbackStruct; Fields The data structure has the following field: type Always contains NP_PRINT. Description Callback structures are used to pass platform-specific information. The NPAnyCallbackStruct structure contains information required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing. During printing in embedded mode, the platformPrint field of the
NPEmbedPrint structure points to an NPAnyCallbackStruct. This structure contains the file pointer to which the plug-in should write its PostScript data. At the time the plug-in is called, the browser has already opened the file and written PostScript for other parts of the page. When the plug...
...AnyCallbackStruct. ...
NPP_Print - Archive of obsolete content
plug-in or as a full-page plug-in. An embedded plug-in shares printing with the browser; the plug-in prints the part of the page it occupies, and the browser handles everything else, including displaying print dialog boxes, getting the printer device context, and any other tasks involved in printing, as well as printing the rest of the page. For an embedded plug-in, set the printInfo field to
NPEmbedPrint. A full-page plug-in handles all aspects of printing itself. For a full-page plug-in, set the printInfo field to NPFullPrint or null. For information about printing on your platform, see your platform documentation. MS Windows On MS Windows printInfo->print.embedPrint.platformPrint is the device context (DC) handle. Be sure to cast this to type HDC. The coordinates for the window rectangle ...
...ng on your platform, see your platform documentation. MS Windows On MS Windows printInfo->print.embedPrint.platformPrint is the device context (DC) handle. Be sure to cast this to type HDC. The coordinates for the window rectangle are in TWIPS format. This means that you need to convert the x-y coordinates using the Windows API call DPtoLP when you output text. See Also NPPrint, NPFullPrint,
NPEmbedPrint ...
NPPrintCallbackStruct - Archive of obsolete content
<< Gecko Plugin API Reference << Plug-in Side Plug-in API Summary Contains information required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing on Unix systems. This structure is only used on Unix. Syntax typedef struct { int32 type; FILE* fp; } NPPrintCallbackStruct; Fields The data structure has the following fields: type Always contains NP_PRINT. fp Pointer to the file to which the plug-in should write its PostScript data. Description Callback structures are used to pass platform-specific information. The NPPrintCallbackStruct structure contains the file pointer to which the plug-in should write its PostScript data. This information is required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing. At t...
... This information is required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing. At the time the plug-in is called, the browser has already opened the file and written PostScript for other parts of the page. When the plug-in is done, it should leave the file open, so the browser can continue to write additional PostScript data to the file. ...
NPAPI plugin reference - Archive of obsolete content
these allow plug-ins to interact with the browser. The names of all of these methods begin with NPP_ to indicate that they are implemented by the plug-in and called by the browser. NPByteRange Represents a particular range of bytes from a stream. NPClass NPClass is a structure that holds a set of pointers to functions that make up the behavior of an instance of an NPClass (i.e. an NPObject).
NPEmbedPrint Substructure of NPPrint that contains platform-specific information used during embedded mode printing. NPEvent Represents an event passed by NPP_HandleEvent() to a windowless plug-in. NPFullPrint Substructure of NPPrint that contains platform-specific information used during full-page mode printing. NPIdentifier NPIdentifier is an opaque type used for method and property identifiers, such...
...t. NPP_Write Delivers data to a plug-in instance. (Remark: Hence the name "NPP_Write" is misleading - just think of:"Data_Arrived") NPP_WriteReady Determines maximum number of bytes that the plug-in can consume. NPPrint Contains information the plug-in needs to print itself in full-page or embedded mode. NPPrintCallbackStruct Contains information required by the platformPrint field of the
NPEmbedPrint structure during embedded mode printing on Unix systems. NPPVariable See NPN_SetValue. NPRect Represents a rectangular area of a plug-in's content area. NPRegion Represents a platform-defined region of a page. NPSavedData Block of instance information saved after the plug-in instance is deleted; can be returned to the plug-in to restore the data in future instances of the plug-in. NPSetW...
Structures - Plugins
<< PreviousNext >> This chapter describes the data structures that are used to represent the various objects in the plug-in API. Structure Summary NPAnyCallbackStruct Contains information required during embedded mode printing. NPByteRange Represents a particular range of bytes from a stream.
NPEmbedPrint Substructure of NPPrint that contains platform-specific information used during embedded mode printing. NPEvent Represents an event passed by NPP_HandleEvent to a windowless plug-in. NPFullPrint Substructure of NPPrint that contains platform-specific information used during full-page mode printing. NPP Represents a single instance of a plug-in. NP_Port Contains information required by the window fiel...
...ion used during full-page mode printing. NPP Represents a single instance of a plug-in. NP_Port Contains information required by the window field of an NPWindow structure. NPPrint Contains information the plug-in needs to print itself in full-page or embedded mode. NPPrintCallbackStruct Contains information required by the platformPrint field of the
NPEmbedPrint during embedded mode printing. NPRect Represents a rectangular area of a page. NPRegion Represents a platform-defined region of a page. NPSavedData Block of instance information saved after the plug-in is deleted; can be returned to the plug-in. NPSetWindowCallbackStruct Contains information about the plug-in's Unix window environment. NPSt...
Index of archived content - Archive of obsolete content
resources for plugin creation Logging Multi-Process Plugins Monitoring plugins Multi-process plugin architecture NPAPI plugin developer guide NPAPI plugin reference Browser-side plug-in API NPAPI plug-in side API NPAnyCallbackStruct NPByteRange NPClass
NPEmbedPrint NPEvent NPFullPrint NPIdentifier NPN NewStream NPNVariable NPN_CreateObject NPN_DestroyStream NPN_Enumerate NPN_Evaluate NPN_ForceRedraw NPN_GetAuthenticationInfo NPN_GetIntIdentifier NPN_GetProperty NPN_GetStringIdentifier ...
Gecko Plugin API Reference - Plugins
_UTF8FromIdentifier NPN_IntFromIdentifier NPObject NPN_CreateObject NPN_RetainObject NPN_ReleaseObject NPN_Invoke NPN_InvokeDefault NPN_Evaluate NPN_GetProperty NPN_SetProperty NPN_RemoveProperty NPN_HasProperty NPN_HasMethod NPN_SetException NPClass Structures NPAnyCallbackStruct NPByteRange
NPEmbedPrint NPEvent NPFullPrint NPP NP_Port NPPrint NPPrintCallbackStruct NPRect NPRegion NPSavedData NPSetWindowCallbackStruct NPStream NPWindow Constants Error Codes Result Codes Plug-in Version Constants Version Feature Constants External resources External projects and articles for plugin creation Original document information Copyright Information: Netscape Communication ...