java.lang.Object
com.aspose.words.ExportHeadersFootersMode
public class ExportHeadersFootersMode
- extends java.lang.Object
Utility class containing constants.
Specifies how headers and footers are exported to HTML, MHTML or EPUB.
Example:
Demonstrates how to disable the export of headers and footers when saving to HTML based formats.
Document doc = new Document(getMyDir() + "HeaderFooter.RemoveFooters.doc");
HtmlSaveOptions saveOptions = new HtmlSaveOptions(SaveFormat.HTML);
saveOptions.setExportHeadersFootersMode(ExportHeadersFootersMode.NONE); // Disables exporting headers and footers.
doc.save(getMyDir() + "HeaderFooter.DisableHeadersFooters Out.html", saveOptions);
- See Also:
- HtmlSaveOptions.ExportHeadersFootersMode
Field Summary |
static final int | NONE = 0 | |
Headers and footers are not exported.
|
static final int | PER_SECTION = 1 | |
Primary headers and footers are exported at the beginning and the end of each section.
|
static final int | FIRST_SECTION_HEADER_LAST_SECTION_FOOTER = 2 | |
Primary header of the first section is exported at the beginning of the document and primary footer is at the end.
|
static final int | FIRST_PAGE_HEADER_FOOTER_PER_SECTION = 3 | |
First page header and footer are exported at the beginning and the end of each section.
|
NONE = 0 | |
public static final int NONE |
-
Headers and footers are not exported.
PER_SECTION = 1 | |
public static final int PER_SECTION |
-
Primary headers and footers are exported at the beginning and the end of each section.
FIRST_SECTION_HEADER_LAST_SECTION_FOOTER = 2 | |
public static final int FIRST_SECTION_HEADER_LAST_SECTION_FOOTER |
-
Primary header of the first section is exported at the beginning of the document and primary footer is at the end.
FIRST_PAGE_HEADER_FOOTER_PER_SECTION = 3 | |
public static final int FIRST_PAGE_HEADER_FOOTER_PER_SECTION |
-
First page header and footer are exported at the beginning and the end of each section.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.