HtmlSaveOptions
Vue de l’ensemble
HtmlSaveOptions est une classe dans Aspose.PDF FOSS pour Java.
Options pour enregistrer un document dans le format HTML.
Cette classe fournit 14 méthodes pour travailler avec des objets HtmlSaveOptions dans les programmes Java. Les méthodologies disponibles comprennent: ‘getCssPrefix’, ‘ghetDocumentType’, getImageFolder', ‘getScale’, 'isEmbedImages', ’isFixedLayout',isSplitIntoPages’, setCSSPre Fix', ''setDokumentTepe, ‘setEambedImages’,‘‘setFiksedLaayouts’,’ setImagifilderet 2 méthode supplémentaires. Tous les membres sont accessibles à toute application Java après l'installation de l’Aspose.PDF FOSS pour le package Java, Properties:cssprefix,documentiffixé, imagifié` Imagificé‘, plus d’image, 1 scale.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
documentType | HtmlDocumentType | Read | Gets the HTML document type. |
fixedLayout | boolean | Read | Gets whether fixed layout rendering is enabled. |
splitIntoPages | boolean | Read | Gets whether the document is split into separate HTML pages. |
embedImages | boolean | Read | Gets whether images are embedded as base64 data URIs. |
scale | double | Read | Gets the scale factor applied to the output. |
imageFolder | String | Read | Gets the folder path for storing external images. |
cssPrefix | String | Read | Gets the prefix prepended to CSS class names. |
méthodes
| Signature | Description |
|---|---|
getDocumentType() → HtmlDocumentType | Gets the HTML document type. |
setDocumentType(documentType: HtmlDocumentType) | Sets the HTML document type. |
isFixedLayout() → boolean | Gets whether fixed layout rendering is enabled. |
setFixedLayout(fixedLayout: boolean) | Sets whether to use fixed layout rendering. |
isSplitIntoPages() → boolean | Gets whether the document is split into separate HTML pages. |
setSplitIntoPages(splitIntoPages: boolean) | Sets whether to split the document into separate HTML pages. |
isEmbedImages() → boolean | Gets whether images are embedded as base64 data URIs. |
setEmbedImages(embedImages: boolean) | Sets whether to embed images as base64 data URIs. |
getScale() → double | Gets the scale factor applied to the output. |
setScale(scale: double) | Sets the scale factor applied to the output. |
getImageFolder() → String | Gets the folder path for storing external images. |
setImageFolder(imageFolder: String) | Sets the folder path for storing external images. |
getCssPrefix() → String | Gets the prefix prepended to CSS class names. |
setCssPrefix(cssPrefix: String) | Sets the prefix to prepend to CSS class names. |
Voir aussi
- Aspose.PDF pour Java — API d’entreprise