BreakType

Overview

BreakType is an enum in Aspose.Words FOSS for Java.

Specifies type of a break inside a document.

Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.

This enum declares 4 methods for BreakType objects in Java programs. Available methods include: fromName, getName, getValues, toString. Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java package. Properties: values.

Values

ValueDescription
PARAGRAPH_BREAKBreak between paragraphs.
PAGE_BREAKExplicit page break.
COLUMN_BREAKExplicit column break.
SECTION_BREAK_CONTINUOUSSpecifies start of new section on the same page as the previous section.
SECTION_BREAK_NEW_COLUMNSpecifies start of new section in the new column.
SECTION_BREAK_NEW_PAGESpecifies start of new section on a new page.
SECTION_BREAK_EVEN_PAGESpecifies start of new section on a new even page.
SECTION_BREAK_ODD_PAGESpecifies start of new section on a odd page.
LINE_BREAKExplicit line break.

Properties

NameTypeAccessDescription
valuesint[]ReadReturns array of BreakType values.

Methods

SignatureDescription
getName(breakType: int) → StringReturns JAVA_STYLE string representation of integer BreakType value.
toString(breakType: int) → StringReturns DotNetStyle string representation of integer BreakType value.
fromName(breakTypeName: String) → intReturns integer representation by BreakType name.
getValues() → int[]Returns array of BreakType values.

See Also