Building a Custom Page View

Table of Contents


By default, the ICEpdf Viewer application can display PDF documents in any of the predefined views specified in the PDF Reference. The viewer application will first see if the document specifies which document view to use. If not specified, then the viewer selects the view that was last used.

The source code for all of the view layout types can be found in the package org.icepdf.core.ri.common.views. Each page is represented by a PageViewComponentImpl object which can be easily used to build
custom view types.

The page view implementation uses a secondary MVC to manage the multiple views efficiently. All supporting classes can be found in the package org.icepdf.core.views. The support view types are as follows:

  • Single Page - Displays one page at a time.
  • One Column - Displays the pages, continuously, in one column.
  • Two Column Left - Displays the pages, continuously, in two columns, with odd-numbered pages on the left.
  • Two Page Left - Displays the pages, two at a time, with odd-numbered pages on the left.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2017 ICEsoft Technologies Canada Corp.