pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wojack, Robert (USTP)" <Robert.Woj...@usdoj.gov>
Subject RE: Updating footer text for an existing PDF doc?
Date Fri, 05 Feb 2016 15:06:23 GMT
That was exactly the direction I needed!  Thanks for your help!

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
Onsite Phone Number:    TBD
Cell#:			   (301)910-9975

-----Original Message-----
From: Tilman Hausherr [mailto:THausherr@t-online.de] 
Sent: Tuesday, February 02, 2016 12:06 PM
To: users@pdfbox.apache.org
Subject: Re: Updating footer text for an existing PDF doc?

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.

Tilman

>
> 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



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


Mime
View raw message