Apache OpenOffice (AOO) Bugzilla – Issue 125882
wrong numbering with selection PDF
Last modified: 2016-10-16 11:03:01 UTC
Created attachment 84222 [details] file to convert to PDF Open tstPDF.odt,.then, perform one of: step_0: Select all (^a); Click File>ExportAsPDF>Selection to tstPDFsel.pdf. Open tstPDFsel.pdf with any PDF reader: 4 parag after 'b' have wrong styles. step_1: Click PDF to tstPDF.pdf. Open tstPDF.pdf: no error.
Created attachment 84223 [details] bad PDF, from selection
Created attachment 84224 [details] good PDF from whole document
I tested according to the directions and was unable to reproduce the issue.
Your document is malformed. You use numbering style instead of heading to set your titles. This is an end-user problem and not a bug. Thanks to post this kind of question on support forum.
Created attachment 85051 [details] source to convert
Created attachment 85052 [details] complete conversion --OK
Created attachment 85053 [details] converted from selection: bad
(In reply to oooforum from comment #4) 'Your document is malformed.' What is a 'malformed' document? If the document is 'malformed', why is it properly converted whole --TstPDFb.pdf? 'You use numbering style instead of heading to set your titles.' Huh? What 'titles'? Are some style sequences (from one paragraph to the next) illegal? 'This is an end-user problem and not a bug.' What is an 'end-user problem'? OO does not like my face? My computer is not at-fault. The same behaviour happens on another computer under Windows 10. 'post this kind of question on support forum' I did. Hagar Delest concluded: 'I think that there is a bug with the export if a selection only is used. You should try to report it.' The simpler file TstPDFb.odt (#85051) converts (whole) correctly to TstPDFb.pdf (#85052). But the selection does not: TstPDFbSel.pdf. I tried * Default formatting on the whole selection; * Setting the style of BB to default, then copying the style of CC to BB; * Setting the style of CC to default, then copying the style of BB to CC; ... and always obtained the same result when converting the selection: TstPDFbSea.pdf, #85053 ; FL, Fa, Fb, Fc are incorrectly converted.
(In reply to TAB from comment #0) > Created attachment 84222 [details] > file to convert to PDF > > Open tstPDF.odt,.then, perform one of: > step_0: Select all (^a); Click File>ExportAsPDF>Selection to tstPDFsel.pdf. > Open tstPDFsel.pdf with any PDF reader: 4 parag after 'b' have wrong styles. > step_1: Click PDF to tstPDF.pdf. Open tstPDF.pdf: no error. I have been able to reproduce the described behaviour under: OS: Windows 10 OO: 4.2.0 using the documents provided by the user that reported the issue. If the Export to PDF option is available in the program, it's functionality should be consistent, no matter the document, formatting or selection. It is significant to note that when the document is being exported as a whole, the formatting is being kept in the PDF document. Exporting should work consistently for all available options.
I can confirm the behaviour on Windows 10 Pro N 64bit, using the open office version 4.1.2 build 9782. Not only with the documents provided by the user that reported that issue, but also by using my own prepared documents. Steps on how to reproduce the error: 1. Create new document 2. Create a list of three with numbering on 3. Add another listitem (X) between two of the available ones 4. Delete the numbering in this new listitem (X) by using backspace 5. Afterwards add new listitems (Y, Z) after the initial new listitem (X) and use a different numbering symbol, for example bullet points. (Now the list should look similar to the one provided by the reporting user) 6. Export PDF with Range selection 7. Export PDF with Range All Result: In the PDF with range All the list fits with the one in the original .odt file. In the PDF with range Selection the list is missing the bullet points and the intendation of those. Expected results: Both PDF files look the same as the original .odt file. Added my prepared .odt file as an attachment (Example.odt)
Created attachment 85735 [details] Example document as prepared with the listed steps
By changing the steps a bit we get a slightly different outcome: 1. Create new document 2. Create a list of three with numbering on 3. Remove the numbering in the second listitem (X) by clicking 'Numbering on/off' 5. Afterwards add new listitems (Y, Z) after the listitem (X) and use a different numbering symbol, for example bullet points. 6. Export PDF with Range selection 7. Export PDF with Range All Result: In the PDF with range All the list fits with the one in the original .odt file. In the PDF with range Selection the listitem (X) is shown with numbering on (although that was removed before) and the list is missing the bullet points and the intendation of those. Expected results: Both PDF files look the same as the original .odt file. Added my prepared .odt file as an attachment (Example1.odt)
Created attachment 85736 [details] New example document as prepared with new steps