Apache OpenOffice (AOO) Bugzilla – Issue 30559
Copy/Paste modifies styles usage
Last modified: 2017-05-20 11:19:46 UTC
A page break is inserted between two paragraphs when attached documents content is copied into a new text-document. Steps to reproduce: 1. copen cliq_test.sxw 2. select all 3. copy 4 new File 5. paste result: cliq_test_kopie.sxw incorrect text:style-names 1st paragraph style changes from standard to P1 last paragraph style changes from P1 to P2
Created attachment 16077 [details] cliq_test.sxw
Created attachment 16078 [details] cliq_test_kopie.sxw
ES->FME: 1) page break: there's a Page break After on the last empty paragraph. When copy/pasting the whole text, the page break occurs but not at this paragraph, at the the second paragraph. Strange! 2) lost style: the character style "CliqWordFett" only has "bold" set as attribute but copy pasting the paragraph shouldn't make that the font and fontsize get lost. Strange too! Do you want to split those issues or can you exclude one or collate them?
FME->DVO/HBRINKM: Looks like yours.
[...] 2) lost style [...] Discussed this with DVO. This works as expected. The font size 11pt is set in the default paragraph style. You don't want the paste operation to change the default paragraph style of the target document.
FME: 1) page break: bug already occurs in 6.0.
FME: After discussing this with ES, we agreed to set this issue to 'later'
I have the same problem. My document contains loads of custom styles, which I copy and paste as needed. After that, copy-paste sometimes misforms my style, and inserting text does not insert in the syle I expect. Moreover, it is impossible* to me to change the style (e.g. text color) to the one I need. I have looked at the content.xml file, and see that when copy-pasting the content.xml stays well-formed but becomes very complicated with sometimes up to 10 iterations or more deep the same style. * I use an XML editor to clean content.xml to the point it's workable again.
Created attachment 18660 [details] Shows the result of copy paste in a style-loaded environment
Reset assigne to the default "issues@openoffice.apache.org".