ParagraphAbsorberOptions

Inheritance: java.lang.Object, com.aspose.pdf.ParagraphAbsorberOptions

public final class ParagraphAbsorberOptions extends Object

Represents options for the {@link ParagraphAbsorber}.

Constructors

ConstructorDescription
ParagraphAbsorberOptionsInitializes a new instance of the {@link ParagraphAbsorberOptions} object.

Methods

MethodDescription
getSearchRectangleGets or sets paragraph search rectangle.
getSectionUnbreakingHorizontalOverrideGets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual horizontal section break (as a fraction of the width / height of a page). The default value is 0.005.
getSectionUnbreakingVerticalOverrideGets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual vertical section break (as a fraction of the width / height of a page). The default value is 0.005.
setSearchRectangleGets or sets paragraph search rectangle.
setSectionUnbreakingHorizontalOverrideGets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual horizontal section break (as a fraction of the width / height of a page). The default value is 0.005.
setSectionUnbreakingVerticalOverrideGets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual vertical section break (as a fraction of the width / height of a page). The default value is 0.005.

ParagraphAbsorberOptions

public ParagraphAbsorberOptions()

Initializes a new instance of the {@link ParagraphAbsorberOptions} object.

getSearchRectangle

public final Rectangle getSearchRectangle()

Gets or sets paragraph search rectangle.

Returns: Rectangle instance

getSectionUnbreakingHorizontalOverride

public final double getSectionUnbreakingHorizontalOverride()

Gets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual horizontal section break (as a fraction of the width / height of a page). The default value is 0.005.

Returns: double value

getSectionUnbreakingVerticalOverride

public final double getSectionUnbreakingVerticalOverride()

Gets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual vertical section break (as a fraction of the width / height of a page). The default value is 0.005.

Returns: double value

setSearchRectangle

Gets or sets paragraph search rectangle.

setSectionUnbreakingHorizontalOverride

public final void setSectionUnbreakingHorizontalOverride(double value)

Gets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual horizontal section break (as a fraction of the width / height of a page). The default value is 0.005.

Parameters:

ParameterTypeDescription
valuedouble value

setSectionUnbreakingVerticalOverride

public final void setSectionUnbreakingVerticalOverride(double value)

Gets or sets the maximum length of zone with ‘zero filling level’ that will not be treated as actual vertical section break (as a fraction of the width / height of a page). The default value is 0.005.

Parameters:

ParameterTypeDescription
valuedouble value