PDF4Java Reference Documentation
com.o2sol.pdf4java.flowdocument Package / PDFFlowContent Class
Fields Methods Collapse All Expand All Members Options: Show All Members Options: Filtered
Include Inherited Members
Include Protected Members
In This Topic

PDFFlowContent Class Members
In This Topic

The following tables list the members exposed by PDFFlowContent.

Protected Fields

| Name | Description
--- | --- | ---
| background |
| contentHeight |
| destinationAdded |
| destinationName |
| innerMargins |
| outerMargins |
| structureElement |
| widthForContentHeight |

Top
Public Methods

| Name | Description
--- | --- | ---
| addAfterFlowContentDrawListener | Adds a listener for the create page event.
| addBeforeFlowContentDrawListener | Adds a listener for the before flow content draw event.
| getBackground | Gets the content background. The background that fills the flow content bounding rectangle.
| getContentHeight | Overloaded. Gets the content height. When this method is called for the first time, the content height is calculated. Subsequent calls with the same 'width' parameter return the already computed height.
| getDestinationName | Gets the destination name. A named destination is created at the top of flow content when this property is not null or an empty string.
| getInnerMargins | Gets the content inner margins. The inner margins are located inside the content's bounding rectangle. The margins are applied to content as a whole and not to parts of content when content is split across pages.
| getOuterMargins | Gets the content outer margins. The outer margins are located outside the content's bounding rectangle. The margins are applied to content as a whole and not to parts of content when content is split across pages.
| getStructureElement | Gets the structure element.
| getTag | Gets an arbitrary object value that can be used to store custom information about this element.
| removeAfterFlowContentDrawListener | Removes a listener for the create page event.
| removeBeforeFlowContentDrawListener | Removes a listener for the before flow content draw event.
| setBackground | Sets the content background. The background that fills the flow content bounding rectangle.
| setDestinationName | Sets the destination name. A named destination is created at the top of flow content when this property is not null or an empty string.
| setInnerMargins | Sets the content inner margins. The inner margins are located inside the content's bounding rectangle. The margins are applied to content as a whole and not to parts of content when content is split across pages.
| setOuterMargins | Sets the content outer margins. The outer margins are located outside the content's bounding rectangle. The margins are applied to content as a whole and not to parts of content when content is split across pages.
| setStructureElement | Sets the structure element.
| setTag | Sets an arbitrary Object value that can be used to store custom information about this element.

Top
Protected Methods

| Name | Description
--- | --- | ---
| addNamedDestination |
| onAfterContentDraw | This method supports the internal library infrastructure and should not be used by external client code.
| onBeforeContentDraw | This method supports the internal library infrastructure and should not be used by external client code.

Top
See Also

#### Reference

PDFFlowContent Class
com.o2sol.pdf4java.flowdocument Package

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.