[ 
https://issues.apache.org/jira/browse/FOP-2445?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

simon steiner updated FOP-2445:
-------------------------------
    Description: 
Linearization is helpful to allow viewing of first page over a slow connection.

Feature will be disabled by default, can be enabled with
{code}
<fop version="1.0">
  <renderers>
    <renderer mime="application/pdf">
      <linearization>true</linearization>
    </renderer>
  </renderers>
</fop>
{code}

Some changes:
Postpone writing PDF until end of document is reached.
Split cross reference table into two, one for first page objects, the other for 
the remaining objects.
Use an object number place holder for every object and an object number 
generator.
Build mapping between objects and pages.
Assign effective numbers to objects.
Write catalog and first page objects before writing remaining objects.
Write objects to file in order of object number.
Create linearization dictionary and adapt cross reference tables.
Create hint tables.

  was:
Feature will be disabled by default, can be enabled with
{code}
<fop version="1.0">
  <renderers>
    <renderer mime="application/pdf">
      <linearization>true</linearization>
    </renderer>
  </renderers>
</fop>
{code}

Some changes:
Postpone writing PDF until end of document is reached.
Split cross reference table into two, one for first page objects, the other for 
the remaining objects.
Use an object number place holder for every object and an object number 
generator.
Build mapping between objects and pages.
Assign effective numbers to objects.
Write catalog and first page objects before writing remaining objects.
Write objects to file in order of object number.
Create linearization dictionary and adapt cross reference tables.
Create hint tables.


> PDF Linearization
> -----------------
>
>                 Key: FOP-2445
>                 URL: https://issues.apache.org/jira/browse/FOP-2445
>             Project: Fop
>          Issue Type: New Feature
>            Reporter: simon steiner
>            Assignee: simon steiner
>
> Linearization is helpful to allow viewing of first page over a slow 
> connection.
> Feature will be disabled by default, can be enabled with
> {code}
> <fop version="1.0">
>   <renderers>
>     <renderer mime="application/pdf">
>       <linearization>true</linearization>
>     </renderer>
>   </renderers>
> </fop>
> {code}
> Some changes:
> Postpone writing PDF until end of document is reached.
> Split cross reference table into two, one for first page objects, the other 
> for the remaining objects.
> Use an object number place holder for every object and an object number 
> generator.
> Build mapping between objects and pages.
> Assign effective numbers to objects.
> Write catalog and first page objects before writing remaining objects.
> Write objects to file in order of object number.
> Create linearization dictionary and adapt cross reference tables.
> Create hint tables.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to