pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tilman Hausherr <THaush...@t-online.de>
Subject Re: Updating footer text for an existing PDF doc?
Date Tue, 02 Feb 2016 17:05:41 GMT
Am 02.02.2016 um 15:12 schrieb Wojack, Robert (USTP):
> Is there a standard approach to updating the footer text of an existing PDF document
using PDFBox.

Load the file, get the page, open an "append" content stream with 
"reset" set, write to the appropriate position, save the file. If you 
want to modify an existing footer, fill a rectangle in the background 
color before writing the text.


> Sadly, we're using PDFBox 1.2.
> Bob Wojack
> SRA International, Inc.
> Onsite Contractor for the Department of Justice
> Senior Tech Lead
> US Trustee Program
> Onsite Email Address:     Robert.Wojack@usdoj.gov<mailto:Robert.Wojack@usdoj.gov>
> Onsite Phone Number:    TBD
> Cell#:                              (301)910-9975

To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org

View raw message