Bug 152145 - Placeholder text for the content control fields should be exported to the output
Summary: Placeholder text for the content control fields should be exported to the output
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2022-11-20 22:14 UTC by Hossein
Modified: 2022-11-26 01:29 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.