Partitioning

To increase the flexibility of KeyView output, you can output the HTML rendering of different parts of a file to different partitions. These partitions are snippets of HTML output for a given portion of the file. The calling code can then combine these partitions into the desired output structure. This option allows for highly flexible and customizable output.

For each partition, KeyView returns information about the partition, such as dimensions and background color, which you can use to better reflect the appearance of the original document in your output. For an example of how to do this, see HTML Export Reference Implementation.

The KeyView interface allows you to create new partitions for several reasons. The following table lists the available reasons.

Partition Start Reason Description
Format Standard

This start reason applies only to documents that were converted by using the presentation graphic or spreadsheet structured access layers. The format standard start reason is:

  • a new worksheet for spreadsheet formats
  • a table for database formats
  • a slide for presentation graphic formats
  • a graphic for image/graphic formats
Heading A heading in a Word Processing document.
Hard Break A hard page break in a Word Processing document.
Block Size The block size limit was reached.
Page Size Change A page size change in a Word Processing document.
Soft Break The page height was reached in a Word Processing document.

To enable partitioning