java.lang.Object
com.aspose.words.ChapterPageSeparator
public class ChapterPageSeparator
- extends java.lang.Object
Utility class containing constants.
Defines the separator character that appears between the chapter and page number.
Example:
Shows how to work with page chapters.
Document doc = new Document(getMyDir() + "Big document.docx");
PageSetup pageSetup = doc.getFirstSection().getPageSetup();
pageSetup.setPageNumberStyle(NumberStyle.UPPERCASE_ROMAN);
pageSetup.setChapterPageSeparator(com.aspose.words.ChapterPageSeparator.COLON);
pageSetup.setHeadingLevelForChapter(1);
- See Also:
- PageSetup, PageSetup.ChapterPageSeparator
|
Field Summary |
static final int | HYPHEN = 0 | |
|
A colon.
|
static final int | PERIOD = 1 | |
|
A period.
|
static final int | COLON = 2 | |
|
A colon.
|
static final int | EM_DASH = 3 | |
|
An emphasized dash.
|
static final int | EN_DASH = 4 | |
|
A standard dash.
|
HYPHEN = 0 | |
public static final int HYPHEN |
-
A colon.
PERIOD = 1 | |
public static final int PERIOD |
-
A period.
COLON = 2 | |
public static final int COLON |
-
A colon.
EM_DASH = 3 | |
public static final int EM_DASH |
-
An emphasized dash.
EN_DASH = 4 | |
public static final int EN_DASH |
-
A standard dash.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.