You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/06/28 16:30:53 UTC

[Bug 122622] New: Direct formatting added when copy-pasting pages

https://issues.apache.org/ooo/show_bug.cgi?id=122622

            Bug ID: 122622
        Issue Type: DEFECT
           Summary: Direct formatting added when copy-pasting pages
           Product: Draw
           Version: AOO 3.4.1
          Hardware: PC
                OS: other
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: formatting
          Assignee: issues@openoffice.apache.org
          Reporter: eric.edwards.msb@outlook.com
                CC: issues@openoffice.apache.org

Created attachment 80944
  --> https://issues.apache.org/ooo/attachment.cgi?id=80944&action=edit
An example of the bug.

Create two text boxes and place text in them.
Create a style, say ">1".
Apply the style to said boxes.
Create a line.
Group the first box with the line, but leave the second box ungrouped.
Right-click on the page in the page pane.
Select copy.
Right click on the page pane.
Select paste. (You now have two pages that "should" be identical)
Modify the font size of the style.

Both text boxes on page 1 correctly update font size.  However, only the
grouped text box on page 2 does.  The ungrouped box on page 2 has the font size
directly formatted to it, even though it is just a copy of page 1.  The color
and font face can be changed just fine, the font size is the only problem I
found.

This makes it difficult to create a "base" image, then copy it out to multiple
pages for derivations unless you know to group all your objects before copying.

I have attached a sample file with the issue, but you should be able to
reproduce this on your own.

(P.S. by "OS: Other", I'm on a Windows server edition)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122622] Direct formatting added when copy-pasting pages

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122622

eric.edwards.msb@outlook.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eric.edwards.msb@outlook.co
                   |                            |m

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122622] Direct formatting added when copy-pasting pages

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122622

--- Comment #2 from eric.edwards.msb@outlook.com ---
Yes it does.  I did not add the extra formatting, it was done so automatically
when I copy-pasted page 1.

If you would like to reproduce, right click on page one in the page pane, then
select copy, then right click again on the page pane and select paste.  Page 3
will have the same problem page 2 does, even though you are copying from page
1.

The two workarounds are selecting default formatting on each of the ungrouped
text boxes (which can be a pain if you have a lot of them, and even more of a
pain if you want to keep some of the direct formatting, like bold) or you can
group all of your text boxes before copying, and then ungroup them after
pasting.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122622] Direct formatting added when copy-pasting pages

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122622

Joe Smith <je...@martnet.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jes@martnet.com

--- Comment #1 from Joe Smith <je...@martnet.com> ---
The copied page contains different xml for the ungrouped text box:

>From page 1:

<draw:frame draw:style-name="_3e_1" ...>
  <draw:text-box>
    <text:p>Ungrouped text, style &gt;1</text:p>
  </draw:text-box>
</draw:frame>

>From page 2:

<draw:frame draw:style-name="_3e_1" draw:text-style-name="P2" ...>
  <draw:text-box>
    <text:p>Ungrouped text, style &gt;1</text:p>
  </draw:text-box>
</draw:frame>

The copy has an extra attribute pointing to text style "P2", which specifies a
font size of 14pt and seems to override whatever font size comes through the
draw:style-name.

Format > Default Formatting will clear the added style.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.