PDFix SDK  7.2.0
Loading...
Searching...
No Matches
PdfHtmlConversion Struct Referenceabstract

PdfHtmlConversion class. More...

#include <pdfix.h>

Inheritance diagram for PdfHtmlConversion:
PdfConversion

Public Member Functions

virtual bool SetParams (PdfHtmlParams *params)=0
 Sets html export parameters. More...
 
virtual bool SaveCSS (PsStream *stream)=0
 
virtual bool SaveJavaScript (PsStream *stream)=0
 
- Public Member Functions inherited from PdfConversion
virtual void Destroy ()=0
 Destroys the object and its associated resources. More...
 
virtual bool AddPage (int index, PdfCancelProc cancel_proc, void *cancel_data)=0
 Adds page for conversion. When none page is added, the whole document is saved. More...
 
virtual bool Save (const wchar_t *path, PdfCancelProc cancel_proc, void *cancel_data)=0
 Writes conversion of the document into the file. More...
 
virtual bool SaveToStream (PsStream *stream, PdfCancelProc cancel_proc, void *cancel_data)=0
 Writes conversion of the document into the stream. More...
 

Detailed Description

PdfHtmlConversion class.

A PdfHtmlConversion allow you to set convert PDF to HTML.

Member Function Documentation

◆ SaveCSS()

virtual bool PdfHtmlConversion::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 PdfHtmlConversion::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

◆ SetParams()

virtual bool PdfHtmlConversion::SetParams ( PdfHtmlParams params)
pure virtual

Sets html export parameters.

Parameters
paramshtml export parameters.
Returns
true if the parameters were set successfully or false in case of an error.