https://bugs.documentfoundation.org/show_bug.cgi?id=95744

            Bug ID: 95744
           Summary: Writer -- Name given to Shape draw objects is not
                    saved to ODF archive, gone when document is reopened
           Product: LibreOffice
           Version: 5.0.3.2 release
          Hardware: Other
                OS: All
            Status: UNCONFIRMED
          Severity: major
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

In Writer when document is written to ODF on save--the Name attribute of draw
shapes is being lost.  It is not present in content.xml file of the ODF
archive.

To have Drawing objects (other than Frames) show in Navigator, they must have a
Name assigned. But, the Names of all draw shapes are gone from Navigator on
reopening, so a Data loss.

Frame objects are a long present feature in writer. When given a name, they do
retain it in a <draw:name="... " stanza in content.xml, and it is restored on
reopening.

Interestingly, for the draw objects entries in their Title and Description
dialog is recorded into the ODF archive.

So just suspect something missing in writing details of the draw objects (other
than frames) to the ODF archive.

STR

1. create a document in Writer
2. insert a Frame anchor to page, and fill with some text.
3. open the Frame -> Options dialog and enter a Name (default is Frame1)
4. insert a TextBox (from standard menu button, or Insert menu), drag to size,
and fill with text. Anchor to page.
5. from context menu of TextBox just created--Name it
6. check the Navigator -- both the Frame and the Draw objects show their names
7. save to ODF
8. reopen

result -- Name(s) of Draw objects are gone

expected -- Name(s) of Draw objects should be recorded to ODF and restored on
opening.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to