Apache OpenOffice (AOO) Bugzilla – Issue 89460
Writer refusing to open documents with text:h inside draw:text-box
Last modified: 2017-05-20 11:15:54 UTC
Summary: Writer is not able to open documents that contain a text:h child-node inside a draw:text-box node. Detailed Description: According to the ODT 1.0 schema definition a draw:text-box node may contain text-content which also includes text:h nodes. If a document contains such a text:h, a non-explicatory error message is shown ("Error reading file.") when trying to open the document and the document is not opened. In versions prior to OOo 2.4.0 document recovery is started (which fails to recover the document). This error is reproducible on several machines and different platforms (Win** + Linux) and in different versions of OOo (2.4.0 and earlier). KWord (1.6.3) and Lotus Symphony are able to open such documents as well as the OpenXML/ODF Translator Add-in for Word, thus it would be an improvement to interoperability if OOo also could handle such documents. At least, OOo could treat the text:h as a text:p node in the context of a text-box node.
Created attachment 53620 [details] A simple text-box sample created using OOo 2.4.0 which can be opened
Created attachment 53621 [details] A text-box containing text:h which fails to open
AFIAK, styles are not allowed in drawing text boxes, right? So such assignments for text in drawings should be ignored on import (or stored in a buffer), so that a 3rd party odf could at least be opened.
OD->AMA: Please take over, Thx.
mod->ama: draw objects as well as the new notes have the same issue
Oliver, please take over
Reset assigne to the default "issues@openoffice.apache.org".