Bug 152145

Summary: Placeholder text for the content control fields should be exported to the output
Product: LibreOffice Reporter: Hossein <hossein>
Component: WriterAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED NOTABUG    
Severity: normal CC: vmiklos
Priority: medium    
Version: 7.5.0.0 alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 107742    

Description Hossein 2022-11-20 22:14:05 UTC
Description:
When exporting/printing a file containing content control fields, the placeholder text for the fields (those without any selection/editing) should be exported to the output.

Steps to Reproduce:
1. Open attachment 182846 [details]
2. Export the document to PDF

Actual Results:
The placeholder text on page 1 and elsewhere is not exported to PDF.

Expected Results:
The placeholder text should be exported to PDF. Compare page 1 from PDF output from MS Word (attachment 183511 [details]) with the PDF output from LibreOffice 7.5 dev master (attachment 183512 [details]).

Reproducible: Always


User Profile Reset: No


Additional Info:
Version: 7.5.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 1f9b2a7057a519e0ea750875ac439129f1d3df87
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: x11
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 1 Miklos Vajna 2022-11-21 08:19:04 UTC
Can you test if you have "create pdf form" enabled in the pdf export settings dialog? If it's enabled, then you ask the PDF exporter to create PDF forms instead of plain text for fillable forms. In this case this is working as expected.

If it's disabled and the placeholder text is missing, that sounds like a bug.
Comment 2 Hossein 2022-11-26 01:29:31 UTC
(In reply to Miklos Vajna from comment #1)
> Can you test if you have "create pdf form" enabled in the pdf export
> settings dialog? If it's enabled, then you ask the PDF exporter to create
> PDF forms instead of plain text for fillable forms. In this case this is
> working as expected.
> 
> If it's disabled and the placeholder text is missing, that sounds like a bug.
Yes, I have selected "Create PDF Form". By deselecting this option, I see the placeholder text in the output.