You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by JZ Q <cc...@gmail.com> on 2018/05/10 20:45:30 UTC

How to make PDF file read-only?

Hi everyone,

If a PDF file contains fill-able fields, how do I make it read-only? Is
this process reversible using API? Thanks.

-- 
Best Wishes,
Jason

Re: How to make PDF file read-only?

Posted by JZ Q <cc...@gmail.com>.
Thank you, Tilman!

On Thu, May 10, 2018 at 4:49 PM, Tilman Hausherr <TH...@t-online.de>
wrote:

> Simplest idea I have is to set the read only flag for each field.
>
> PDField.setReadOnly(true)
>
> Tilman
>
> Am 10.05.2018 um 22:45 schrieb JZ Q:
>
>> Hi everyone,
>>
>> If a PDF file contains fill-able fields, how do I make it read-only? Is
>> this process reversible using API? Thanks.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>


-- 
Best Wishes,
Jason

Re: How to make PDF file read-only?

Posted by Tilman Hausherr <TH...@t-online.de>.
Simplest idea I have is to set the read only flag for each field.

PDField.setReadOnly(true)

Tilman

Am 10.05.2018 um 22:45 schrieb JZ Q:
> Hi everyone,
>
> If a PDF file contains fill-able fields, how do I make it read-only? Is
> this process reversible using API? Thanks.
>


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