ParagraphAbsorberOptions
Inheritance: java.lang.Object, com.aspose.pdf.ParagraphAbsorberOptions
public final class ParagraphAbsorberOptions extends Object
Represents options for the {@link ParagraphAbsorber}.
Constructors
| Constructor | Description |
|---|---|
| ParagraphAbsorberOptions | Initializes a new instance of the {@link ParagraphAbsorberOptions} object. |
Methods
| Method | Description |
|---|---|
| getSearchRectangle | Gets or sets paragraph search rectangle. |
| 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. |
| 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. |
| setSearchRectangle | Gets or sets paragraph search rectangle. |
| setSectionUnbreakingHorizontalOverride | 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. |
| setSectionUnbreakingVerticalOverride | 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. |
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:
| Parameter | Type | Description |
|---|---|---|
| value | double 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:
| Parameter | Type | Description |
|---|---|---|
| value | double value |