PDFix SDK  6.4.0
PdfToHtml Struct Referenceabstract

PdfToHtml class. More...

Inheritance diagram for PdfToHtml:
PdfixPlugin

Public Member Functions

virtual PdfHtmlDocOpenHtmlDoc (PdfDoc *doc)=0
 
virtual bool SaveCSS (PsStream *stream)=0
 
virtual bool SaveJavaScript (PsStream *stream)=0
 
- Public Member Functions inherited from PdfixPlugin
virtual void Destroy ()=0
 Destroys Pdfix plugin resources. More...
 
virtual bool Initialize (Pdfix *pdfix)=0
 Authorizes Pdfix. More...
 
virtual int GetVersionMajor ()=0
 
virtual int GetVersionMinor ()=0
 
virtual int GetVersionPatch ()=0
 
virtual int GetPdfixVersionMajor ()=0
 Returns the major version of the Pdfix SDK with which the plugin was built. More...
 
virtual int GetPdfixVersionMinor ()=0
 
virtual int GetPdfixVersionPatch ()=0
 
virtual PdfixGetPdfix ()=0
 

Detailed Description

PdfToHtml class.

PdfToHtml plugin main class.

Member Function Documentation

◆ OpenHtmlDoc()

virtual PdfHtmlDoc* PdfToHtml::OpenHtmlDoc ( PdfDoc doc)
pure virtual

Creates a HTML document from PdfDoc. NOTE: You must call PdfHtmlDoc::Close once for every successful open.

Parameters
docPdfDoc to convert to HTML.
Returns
The newly created document or null.
See also
PdfHtmlDoc::Close

◆ SaveCSS()

virtual bool PdfToHtml::SaveCSS ( PsStream stream)
pure virtual

Saves CSS required for propper display of the converted html document. The developer is responsilbe for placing the style to approprite place in the html document. This method is required only when saving PdfHtmlDoc using GetDocHtml and GetPageHtml.

Parameters
streamThe stream to which the css will be written return true if successfull, false othervise

◆ SaveJavaScript()

virtual bool PdfToHtml::SaveJavaScript ( PsStream stream)
pure virtual

Saves JavaScript required for propper display of the converted html document. The developer is responsilbe for placing the JavaScript to approprite place in the html document. This method is required only when saving PdfHtmlDoc using GetDocHtml and GetPageHtml.

Parameters
streamThe stream to which the JavaScript will be written return true if successfull, false othervise