Bug 126687 - FORM CONTROLS: problem with editable pdf export and multiline textboxes
Summary: FORM CONTROLS: problem with editable pdf export and multiline textboxes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.2.4.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Form-Controls
  Show dependency treegraph
 
Reported: 2019-08-03 13:34 UTC by Zerstreuter.Forum
Modified: 2021-06-28 21:23 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
this is the original odt file with form content. (14.93 KB, application/vnd.oasis.opendocument.text)
2019-08-31 12:00 UTC, Zerstreuter.Forum
Details
this is the pdf result .. border in form lines are different than in LO (37.12 KB, application/pdf)
2019-08-31 12:01 UTC, Zerstreuter.Forum
Details
showing differences (29 bytes, text/plain)
2019-09-08 14:19 UTC, Zerstreuter.Forum
Details
wrong odt file uploaded last time (16.87 KB, application/vnd.oasis.opendocument.text)
2019-09-08 14:26 UTC, Zerstreuter.Forum
Details
154016 - why no attachment ?! (251.33 KB, image/png)
2019-09-25 19:16 UTC, Zerstreuter.Forum
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Zerstreuter.Forum 2019-08-03 13:34:41 UTC
Description:
Problem detectet on :
W10 X64 
LO Version: 6.2.4.2 (x64)
Build-ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64

Problem description :

Today i desinged a Template for driving cost returning. i create a writer document with a lot of form textboxes. inside of LO i can enter value in the textboxes and all be fine. but after export to pdf the starting point of cursor, in the multiline textboxes, is in the vertical middle of the box and the second line is scrolling outside. This isnt the same as inside of LO. where is the problem ? I can send you the original odt file and the pdf to check the problem.

Steps to Reproduce:
1.create writer document
2.add multiline textboxes (Form textbox)
3.export dokument to pdf (non PDF-A for editable pdf)

Actual Results:
after export to pdf : the top border of multiline textboxes is to big and the second line is scolling out because this border and line distance are bigger than inside of LO.

Expected Results:
Same view and behavior as within LO


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 Dieter 2019-08-29 12:33:08 UTC Comment hidden (obsolete)
Comment 2 Zerstreuter.Forum 2019-08-31 12:00:24 UTC Comment hidden (obsolete)
Comment 3 Zerstreuter.Forum 2019-08-31 12:01:35 UTC Comment hidden (obsolete)
Comment 4 Dieter 2019-08-31 12:56:56 UTC Comment hidden (obsolete)
Comment 5 Zerstreuter.Forum 2019-09-08 14:19:12 UTC Comment hidden (obsolete)
Comment 6 Zerstreuter.Forum 2019-09-08 14:26:02 UTC
Created attachment 154017 [details]
wrong odt file uploaded last time

please create pdf from the odt
Comment 7 Dieter 2019-09-09 06:55:47 UTC Comment hidden (obsolete)
Comment 8 Zerstreuter.Forum 2019-09-25 19:16:10 UTC
Created attachment 154504 [details]
154016 - why no attachment ?!

sorry .. attachment is missing in 154016 - only plaintext was shown ..
i hope this time it works..
Comment 9 Dieter 2019-09-26 09:45:55 UTC Comment hidden (obsolete)
Comment 10 Zerstreuter.Forum 2019-10-01 18:55:04 UTC
My last picture shows the differences directly.
On the left side of the image, "test" stands directly below the textbox border. (Libre Office Writer)
On the right side of the image, the "test" is spaced a few millimeters from the top of the text box.
This distance is the problem, it exists only with multi-line text fields.
As a result, the last line of text in the text box is not displayed correctly or even hidden.

For example:
Within Libre Office, I can easily type two lines in the highlighted text box without hiding anything.
Once the document has been saved as a PDF, there is a gap between the upper edge of the text box and the upper edge of the text. (Attention not within Libre Office, but in Acrobat Reader)..

I hope I could explain it reasonably.
Comment 11 Dieter 2019-10-03 20:06:19 UTC
Now I got it!

I confirm it with

Version: 6.4.0.0.alpha0+ (x64)
Build ID: 460908269972fd1f89312a1e62897ed1503e9e98
CPU threads: 4; OS: Windows 10.0; UI render: default; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2019-09-30_09:18:03
Locale: de-DE (de_DE); UI-Language: en-US
Calc: threaded
Comment 12 Paul Simmonds 2020-07-27 07:39:57 UTC
See also Bug 61850 which may be related to that same root cause.
Comment 13 m.a.riosv 2021-06-28 21:23:48 UTC
*** Bug 143110 has been marked as a duplicate of this bug. ***