Hi,

PDF supports incremental saving i.e. only changed objects are stored as an 
update to the original PDF i.e. they are appended to the end of the original 
file + Xref infos etc. For details you can look at section 7.5.6 of the ISO 
32000 spec. PDFBOX-912 added some basic support for that but AFAIK it doesn't 
cover all aspects.

Kind regards

Maruan Sahyoun

Am 16.01.2013 um 19:37 schrieb Sam Karpouzos <[email protected]>:

> 
> Hi Guys,
> I am working on modifying text in a pdf and have some concerns about 
> performance. The majority of the processing time is taken up in loading and 
> saving the doc (which makes sense).
> I can't really see getting around not parsing the entire page as I need to 
> look for text and even replace a font if necessary. But. On the save, is 
> there a way for me to just save the tokens that I changed. Kind of like a 
> RandomAccessFile.                                         

Reply via email to