Bug 130113 - PDF export of formulas in
Summary: PDF export of formulas in
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Printing and PDF export (show other bugs)
Version:
(earliest affected)
6.0.7.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-21 20:49 UTC by niyumard
Modified: 2020-02-25 22:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
A table with some formulas in LTR, if you make them RTL and get a PDF export they won't be shown correctly in the PDF export (93 bytes, text/plain)
2020-02-19 15:45 UTC, niyumard
Details
A table with some formulas in LTR, if you make them RTL and get a PDF export they won't be shown correctly in the PDF export (2.72 MB, application/vnd.oasis.opendocument.text)
2020-02-19 17:35 UTC, niyumard
Details

Note You need to log in before you can comment on or make changes to this bug.
Description niyumard 2020-01-21 20:49:53 UTC
Description:
You can see the details and an screenshot here.
When formulas are in a right to left text, PDF exports don't show the formula correctly.
https://ask.libreoffice.org/en/question/149580/formula-export-to-pdf/


Steps to Reproduce:
1.Write a formula
2.Make the text RTL
3.Export it as PDF

Actual Results:
The PDF result of formula is misshaped 

Expected Results:
The PDF result of formula is correctly shown. 


Reproducible: Always


User Profile Reset: No



Additional Info:
Comment 1 m_a_riosv 2020-01-21 20:54:31 UTC
Please can you attach a sample file to test.
Comment 2 niyumard 2020-02-19 15:45:33 UTC
Created attachment 158010 [details]
A table with some formulas in LTR, if you make them RTL and get a PDF export they won't be shown correctly in the PDF export
Comment 3 m_a_riosv 2020-02-19 17:25:49 UTC
Sorry where is the writer file?
Comment 4 niyumard 2020-02-19 17:35:06 UTC
Created attachment 158012 [details]
A table with some formulas in LTR, if you make them RTL and get a PDF export they won't be shown correctly in the PDF export
Comment 5 niyumard 2020-02-19 17:36:45 UTC
(In reply to m.a.riosv from comment #3)
> Sorry where is the writer file?

Sorry, Fixed it.
You can export a PDF file from this one and then try turning formulas RTL, get an export again and see how it messes with the formulas.
Comment 6 QA Administrators 2020-02-19 18:58:20 UTC Comment hidden (obsolete)
Comment 7 m_a_riosv 2020-02-19 20:48:28 UTC
On your sample file, cleaning the direct format for the cells with formulas, solves the align of formula inside the cell not inside the formulas,
Comment 8 niyumard 2020-02-19 20:54:13 UTC
(In reply to m.a.riosv from comment #7)
> On your sample file, cleaning the direct format for the cells with formulas,
> solves the align of formula inside the cell not inside the formulas,

Well it's enough to change the direction of inside the cells to make the bug appear, I didn't mean making inside the formulas RTL
Comment 9 raal 2020-02-25 22:15:41 UTC
I can not confirm with Version: 7.0.0.0.alpha0+
Build ID: f32a59a52e3ee2a0a8df9bb76bc1ff0ada7c7f1d
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 

Version 6.0 is old, please test with new version
http://www.libreoffice.org/download/libreoffice-fresh/
Thank you
Comment 10 niyumard 2020-02-25 22:37:55 UTC
(In reply to raal from comment #9)
> I can not confirm with Version: 7.0.0.0.alpha0+
> Build ID: f32a59a52e3ee2a0a8df9bb76bc1ff0ada7c7f1d
> CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
> 
> Version 6.0 is old, please test with new version
> http://www.libreoffice.org/download/libreoffice-fresh/
> Thank you

Tried with 
Version: 6.3.5.2
Build ID: 1:6.3.5~rc2-0ubuntu0.18.04.1~lo1
CPU threads: 8; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded

It's solved.