To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=103338 Issue #|103338 Summary|z-index ignored, modified and created wrongly in odt d |ocuments. Component|Word processor Version|OOO310m14 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|code Assigned to|writerneedsconfirm Reported by|frank_markesteijn
------- Additional comments from frank_markeste...@openoffice.org Sun Jul 5 17:29:56 +0000 2009 ------- see also: issue 62094, issue 95948 I created a document in Writer, original.odt, containing an image, a path and a frame with a textbox, when this documents is inserted into another text document (inserted.odt) then, the image is displayed above all other objects. The order of creation of the objects is preserved, in contents.xml of inserted.odt, the image comes first but it's z-index number is not 0, it has the highest number of all. To further explore the issue I created four more odt documents (not using OpenOffice): in three of the attached documents, z-index-ordered.odt, z-index-mixed.odt and no-z-index-ordered.odt the picture is displayed above all other objects, it should be below all others, paths and frames are rendered in the correct order. The last attached document, no-z-index-mixed.odt, is for comparison, this is what z-index-mixed.odt would look like if the z-index property were completely ignored. About the contents of the attached documents: z-index-orderd.odt: the draw objects have a draw:z-index property, the value of which follows the order of creation. z-index-mixed: a copy of the above file but, the order of the draw objects, as they appear in content.xml, was mixed up. no-z-index-ordered: a copy of the first document with all draw:z-index properties stripped of. no-z-index-mixed: a copy of the second document with all draw:z-index properties stripped of. The first three documents should all look identical when opened in Writer and indeed they do, but not in the way one would expect, the fourth should show a different ordering of objects, it does not, after manually deleting the images from all open documents the rest does look the way it was supposed to. When you save these four documents, in Writer and under a different name, then if you unzip these and look in the content.xml files, the order of appearence of objects is preserved exept for the image, that is allway put first, the z-index numbers follow the order of appearance but, the image receives the largest number, in other words it is a mess. These four documents were not created with OpenOffice but, as far as I can tell they do conform to the ODF specification, iso/iec 26300 and the image is fine too, a PNG image with indexed colours. If anyone knows of a workaround, what changes to make to the xml code, that would be nice, it may offer me some solice, perhaps a way off the workaroundabout. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@sw.openoffice.org For additional commands, e-mail: issues-h...@sw.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org