Issue 70566 - flat xml for impress/draw does not work correctly if there is no <office:styles> element.
Summary: flat xml for impress/draw does not work correctly if there is no <office:styl...
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.0.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 84036 (view as issue list)
Depends on:
Blocks:
 
Reported: 2006-10-18 14:40 UTC by clippka
Modified: 2017-05-20 10:47 UTC (History)
1 user (show)

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


Attachments
A sample falt draw file where the master page is not imported (1.74 KB, text/xml)
2006-10-18 14:42 UTC, clippka
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description clippka 2006-10-18 14:40:52 UTC
If you try to import a flat xml file for impress or draw that does not have a
<office:styles> element, some things will not work, f.e. masterpages.

The reason is that SdXMLImport::CreateStylesContext() is only called when there
is a <office:styles> element in the xml stream. But only this method sets a
StylesContext at the shapeimport(). Many places in the code do not work at all
if GetShapeImport().GetStylesContext() returns 0.
Comment 1 clippka 2006-10-18 14:42:03 UTC
Created attachment 39852 [details]
A sample falt draw file where the master page is not imported
Comment 2 clippka 2007-11-28 10:26:16 UTC
*** Issue 84036 has been marked as a duplicate of this issue. ***
Comment 3 clippka 2008-01-10 10:21:50 UTC
shifting target
Comment 4 clippka 2008-06-02 18:02:00 UTC
shifting target
Comment 5 Marcus 2017-05-20 10:47:29 UTC
Reset assigne to the default "issues@openoffice.apache.org".