Download it now!
Bug 118615 - Base form text box content overflows in PDF exported without form support when viewed in Adobe Acrobat Reader
Summary: Base form text box content overflows in PDF exported without form support whe...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2018-07-07 21:04 UTC by Alan Wheeler
Modified: 2019-12-10 19:08 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Database file to demonstrate scrollable memo field problem (12.37 KB, application/vnd.sun.xml.base)
2018-07-07 21:04 UTC, Alan Wheeler
Details
Screenshot of the PDF got. (6.98 KB, image/png)
2018-07-14 21:51 UTC, Jacques Guilleron
Details
Screenshot of export to PDF of memo without "Create PDF form" (66.38 KB, image/jpeg)
2018-07-14 22:45 UTC, Alan Wheeler
Details
Screenshot of export to PDF of memo with "Create PDF form" (66.96 KB, image/jpeg)
2018-07-14 22:51 UTC, Alan Wheeler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alan Wheeler 2018-07-07 21:04:32 UTC
Created attachment 143383 [details]
Database file to demonstrate scrollable memo field problem

When a form showing a scrollable memo field containing more lines than the field can display is exported as a PDF file without "Create PDF form" checked, the field on the resultant PDF file shows a field containing the lines that were visible in the field on the database form, but may also show the hidden lines below the field. Whether or not the hidden lines are shown appears to depend on how many characters the memo field contains.

To demonstrate :-
1.	Open the attached "Test6 - Memo.odb" database file.
2.	Open form "Form1" - this will display a form containing three fields of type memo each containing 10 lines, of which the first 7 lines are visible, with a scrollbar allowing the remaining 3 lines to be viewed, but containing different numbers of characters.
3.	From the menu bar, select "File", then "Export as PDF..."
4.	On the right hand side of the resultant "PDF Options" panel, check only "View PDF after export", then select "Export"
5.	Save the resultant PDF file to a convenient place - it will then be automatically displayed.
6.	Observe that, below two of the three fields on the PDF file, the lines that were hidden on the original form are shown. It may be relevant that the correct field originally contained more characters than the two incorrect fields.
Comment 1 Jacques Guilleron 2018-07-14 21:51:25 UTC
Created attachment 143551 [details]
Screenshot of the PDF got.

Hi Alan,

What I get accordug to your steps, with
LO  6.0.5.2 Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
Threads CPU : 2; OS : Windows 6.1; UI Render : par défaut; 
Locale : fr-FR (fr_FR); Calc: CL
This seems to me different from what you describe. Which Windows OS are you using?
Can you provide a screenshot to see the diferences? 
Thank you.
Comment 2 Alan Wheeler 2018-07-14 22:45:15 UTC
Created attachment 143552 [details]
Screenshot of export to PDF of memo without "Create PDF form"

I have attached a JPG file combining a screenshot of the original form as I was exporting it to PDF with "Create PDF form" NOT checked, and a screenshot of the resultant PDF file.

This clearly shows the symptoms I described.

Operating system Windows 10 (64-bit) version 1803 (OS Build 17134.165).

Further LibreOffice info:-
Version: 6.0.5.2 (x64)
Build ID: 54c8cbb85f300ac59db32fe8a675ff7683cd5a16
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-GB (en_GB); Calc: group
Comment 3 Alan Wheeler 2018-07-14 22:51:10 UTC
Created attachment 143553 [details]
Screenshot of export to PDF of memo with "Create PDF form"

I have attached a JPG file combining a screenshot of the original form as I was exporting it to PDF with "Create PDF form" checked, and a screenshot of the resultant PDF file.

This does not show the symptoms described in the original bug report but is similar to the screenshot in Attachment 143551 [details] submitted by Jacques Guilleron. It is interesting in that it only shows 5 lines whereas Jacques's screenshot shows almost 7 lines.
Comment 4 Alan Wheeler 2018-07-14 22:51:49 UTC
Changing status back yo UNCONFIRMED
Comment 5 Alan Wheeler 2018-07-14 22:59:48 UTC
I suspect that it may be relevant that my screen resolution is 1440 x 900.
Comment 6 Buovjaga 2018-08-31 14:18:03 UTC
Repro, but only when viewed in Adobe Acrobat Reader

Version: 6.2.0.0.alpha0+ (x64)
Build ID: 414ef6cb187dd3bbcc917dbedf3c0c1cc8668f60
CPU threads: 4; OS: Windows 10.0; UI render: default; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-08-21_00:13:04
Locale: fi-FI (fi_FI); Calc: threaded
Comment 7 QA Administrators 2019-12-10 04:05:25 UTC Comment hidden (obsolete)
Comment 8 Alan Wheeler 2019-12-10 17:53:00 UTC
Seems much improved when using LibreOffice 6.3.3.2.

"About LibreOffice" says :-
Version: 6.3.3.2 (x64)
Build ID: a64200df03143b798afd1ec74a12ab50359878ed
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-GB (en_GB); UI-Language: en-GB
Calc: threaded