Bug 163194 - PDF export with comments in margins should adapt their width to the width of comment area (DisplayWidthFactor)
Summary: PDF export with comments in margins should adapt their width to the width of ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
24.8.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2024-09-28 15:32 UTC by Jérôme Borme
Modified: 2024-09-28 17:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Example odt document (15.81 KB, application/vnd.oasis.opendocument.text)
2024-09-28 15:33 UTC, Jérôme Borme
Details
Example of the resulting exported PDF (45.00 KB, application/pdf)
2024-09-28 15:33 UTC, Jérôme Borme
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jérôme Borme 2024-09-28 15:32:33 UTC
Description:
When the user sets a wider comment area (new feature) then exports the document as PDF by exporting the comments in margins, the comments don't fit into the PDF page are truncated to the right.

Steps to Reproduce:
1. Create a Writer document, add a lengthy comment
2. Change the width of the comment area. Due to Bug 162937, I did not use the UI, I changed the comment width in registrymodifications.xcu by setting DisplayWidthFactor to 4
3. Export as PDF and check "Comments in margin"


Actual Results:
The comments are truncated

Expected Results:
The whole document should have been scaled down to fit into the printable area, considering the larger width of comment area.


Reproducible: Always


User Profile Reset: No

Additional Info:
See attached example
Comment 1 Jérôme Borme 2024-09-28 15:33:00 UTC
Created attachment 196767 [details]
Example odt document
Comment 2 Jérôme Borme 2024-09-28 15:33:20 UTC
Created attachment 196768 [details]
Example of the resulting exported PDF
Comment 3 BogdanB 2024-09-28 17:53:36 UTC
Confirm with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded