PDFix SDK  6.4.0
PdfToHtml Enumerations

PDFix PDF to HTML enumeration types. More...

Enumerations

enum  {
  kHtmlNone = 0x00, kHtmlExportJavaScripts = 0x0001, kHtmlExportFonts = 0x0002, kHtmlRetainFontSize = 0x0004,
  kHtmlRetainTextColor = 0x0008, kHtml41Support = 0x0010, kHtmlNoExternalCSS = 0x0020, kHtmlNoExternalJS = 0x0040,
  kHtmlNoExternalIMG = 0x0080, kHtmlNoExternalFONT = 0x0100, kHtmlGrayBackground = 0x0200, kHtmlNoPageRender = 0x0400
}
 PdfHtmlFlags. More...
 
enum  PdfHtmlType { kPdfHtmlFixed = 0, kPdfHtmlResponsive }
 PdfHtmlType. More...
 

Detailed Description

PDFix PDF to HTML enumeration types.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum

PdfHtmlFlags.

Specifies a various html construction flags. NOTE: kHtmlExportFonts flag Each font has its own licensing terms. If you extract fonts from PDF files and install them in the local system, it can break those license terms. When you use kHtmlExportFonts flag, be sure you are permitted to do that. Font programs are subject to copyright, and the copyright owner may impose conditions under which a font program can be used. These permissions are recorded either in the font program or as part of a separate license. One of the conditions may be that the font program cannot be embedded, in which case it should not be incorporated into a PDF file. A font program may allow embedding for the sole purpose of viewing and printing the document but not for creating new or modified text that uses the font (in either the same document or other documents). The latter operation would require the user performing the operation to have a licensed copy of the font program, not a copy extracted from the PDF file. In the absence of explicit information to the contrary, a PDF consumer should assume that any embedded font programs are to be used only to view and print the document and not for any other purposes.

Enumerator
kHtmlNone 

Basic html.

kHtmlExportJavaScripts 

Exports document JavaScripts.

kHtmlExportFonts 

Exports embedded forn files. For this you have to check the licensing terms of the font file.

kHtmlRetainFontSize 

Ignore font sizes and use standard.

kHtmlRetainTextColor 

Retain text color.

kHtml41Support 

Support of HTML 4.1. Deprecated.

kHtmlNoExternalCSS 

Do not use external css, but use inline instead.

kHtmlNoExternalJS 

Do not use external javascripts, but use inline instead.

kHtmlNoExternalIMG 

Do not use external images, but use embedded base64 instead.

kHtmlNoExternalFONT 

Do not use external fonts, but use embedded base64 instead.

kHtmlGrayBackground 

Display pages on the gray background with margin around each page. Applicable when using PdfHtmlDoc::Save method.

kHtmlNoPageRender 

Do not render the page. Available only in fixed view.

◆ PdfHtmlType

PdfHtmlType.

Specifies html view type. Fixed type represents original document layout. Responsive type generated html with responsive content adjustable to screen width.

Enumerator
kPdfHtmlFixed 

Original content layout type.

kPdfHtmlResponsive 

Responsive content layout type.