Issue 30559 - Copy/Paste modifies styles usage
Summary: Copy/Paste modifies styles usage
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: ui (show other issues)
Version: OOo 1.1.2
Hardware: All All
: P3 Trivial with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-22 11:41 UTC by beh
Modified: 2017-05-20 11:19 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
cliq_test.sxw (5.62 KB, application/vnd.sun.xml.writer)
2004-06-22 11:43 UTC, beh
no flags Details
cliq_test_kopie.sxw (5.93 KB, application/vnd.sun.xml.writer)
2004-06-22 11:43 UTC, beh
no flags Details
Shows the result of copy paste in a style-loaded environment (297.15 KB, text/xml)
2004-10-26 09:35 UTC, leonw
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description beh 2004-06-22 11:41:52 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
Comment 1 beh 2004-06-22 11:43:03 UTC
Created attachment 16077 [details]
cliq_test.sxw
Comment 2 beh 2004-06-22 11:43:44 UTC
Created attachment 16078 [details]
cliq_test_kopie.sxw
Comment 3 eric.savary 2004-06-24 14:54:08 UTC
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?
Comment 4 frank.meies 2004-06-24 15:05:20 UTC
FME->DVO/HBRINKM: Looks like yours.
Comment 5 frank.meies 2004-08-09 10:22:18 UTC
[...] 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. 
Comment 6 frank.meies 2004-08-10 10:08:23 UTC
FME: 1) page break: bug already occurs in 6.0.
Comment 7 frank.meies 2004-08-10 15:28:24 UTC
FME: After discussing this with ES, we agreed to set this issue to 'later'
Comment 8 leonw 2004-10-26 09:32:24 UTC
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. 
Comment 9 leonw 2004-10-26 09:35:15 UTC
Created attachment 18660 [details]
Shows the result of copy paste in a style-loaded environment
Comment 10 Marcus 2017-05-20 11:19:46 UTC
Reset assigne to the default "issues@openoffice.apache.org".