You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2021/05/24 15:15:00 UTC

[jira] [Comment Edited] (PDFBOX-5197) Form Field Hidden but Printable is not identified as hidden

    [ https://issues.apache.org/jira/browse/PDFBOX-5197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17350481#comment-17350481 ] 

Tilman Hausherr edited comment on PDFBOX-5197 at 5/24/21, 3:14 PM:
-------------------------------------------------------------------

Here's what I get with PDFDebugger 2.0.23 - what code did you use to check that field / are you sure that you checked the right field ("nam1TXT")?

 !screenshot-1.png! 


was (Author: tilman):
Here's what I get with PDFDebugger - what code did you use to check that field / are you sure that you checked the right field ("nam1TXT")?

 !screenshot-1.png! 

> Form Field Hidden but Printable is not identified as hidden
> -----------------------------------------------------------
>
>                 Key: PDFBOX-5197
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5197
>             Project: PDFBox
>          Issue Type: Bug
>          Components: AcroForm
>    Affects Versions: 2.0.18
>            Reporter: Vikram Sah
>            Priority: Major
>         Attachments: Text_Overlapp_Empty.pdf, Text_Overlapp_Flattened.pdf, overlapping Text.JPG, screenshot-1.png
>
>
> While working on a PDF Form which has two overlapping form fields 
>  # TestBox Common Property  – Hidden but Printable
>  # DropDown with Common Property – Visible but Dosen't print
> But when we flatten the form but calling pdfDoc.getDocumentCatalog().getAcroForm().flatten()
> the text on the respective fields also over lap.
> But as per the documentation of the flatten (Invisible and hidden fields will be skipped and will not become part of the page content stream). 
> Debugged it further found out the isHidden() is returning false for both the controls. Attached the screen shot of the over lapping text.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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