Page Display properties
This section gives information about the Page Display properties tab, the function of the different flags and how they can be changed. Please note, we are constantly adding new functionality to the properties file and therefore the documentation contained here is for version 4.3 of JPedal. If a flag is not present in your properties file then the functionality is not available for your version.

The above image shows the preferences Page Display tab and the available options on this tab.
Page Display Tab Options
Use enhanced viewer mode
This check box allows the user to turn on/off the newer JPedal graphical style.
The properties file flag for this option is <enhancedViewerMode value="true" />.
The two values for this option are
- box selected
Turns on the enhanced mode.
Properties file value = true - box unselected
Turns off the enhanced mode.
Properties file value = false
Show Borders
This check box allows the user to turn on/off the borders that are drawn around the pages.
The properties file flag for this option is <borderType value="1" />.
The two values for this option are
- box selected
Turns on the border.
Properties file value = 1 - box unselected
Turns off the border.
Properties file value = 0
PDF Page Insets
This text area allows the user to set how far the pages of the PDF should be inset in the displayable area.
The properties file flag for this option is <pageInsets value="25" />.
Any value can be put here so long as it is an integer value.
PDF Page Layout
This combo box allows the user to set how the pages of the PDF file should be displayed.
The properties file flag for this option is <pageMode value="1" />.
The four values for this option are
- Single Page
PDF pages will be displayed one at a time.
Properties file value = 1 - Continuous
PDF Pages will be displayed as a continuous column of pages displayed verticaly from top two bottom.
Properties file value = 2 - Facing
PDF pages will be displayed as two pages side by side. Navigation will move two pages at once (next page button will show the following to pages).
Properties file value = 3 - Continuous - Facing
PDF pages will be displayed as two columns of pages with the order going from left to right from top to bottom.
Properties file value = 4
Enable facing mode page flip
This check box allows the user to turn on/off the ability to drag pages over in Facing mode.
The properties file flag for this option is <enhancedFacingMode value="true" />.
The two values for this option are
- box selected
Turns on page dragging.
Properties file value = true - box unselected
Turns off page dragging.
Properties file value = false
Visible pages
This text area allows the user to set how many pages should be drawn per side in PageFlow2D.
The properties file flag for this option is <pageFlowPages value="8" />.
Any value can be put here so long as it is an integer value.
Pages cached
This text area allows the user to set how many pages should be kept in memory in PageFlow2D.
The properties file flag for this option is <pageFlowExtraCache value="10" />.
Any value can be put here so long as it is an integer value.
Side size
This text area allows the user to set how large the side pages should appear relative to the main page in PageFlow2D.
The properties file flag for this option is <pageFlowSideSize value="0.75" />.
This value should be between 0 and 1.
Show reflection
This check box allows the user to turn on/off the reflection in PageFlow2D.
The properties file flag for this option is <pageFlowReflection value="true" />.
The two values for this option are
- box selected
Turns on the reflection.
Properties file value = true - box unselected
Turns off the reflection.
Properties file value = false
Reflection height
This text area allows the user to set how much space to leave under the pages when showing reflections in PageFlow2D.
The properties file flag for this option is <pageFlowReflectionHeight value="0.25" />.
This value should be between 0 and 1.
Return to main PDF support section
Click here for the main PDF support area with lots of java examples, PDF tutorials and useful information to get the most out of the JPedal PDF library




