Issue 89460 - Writer refusing to open documents with text:h inside draw:text-box
Summary: Writer refusing to open documents with text:h inside draw:text-box
Status: CONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: open-import (show other issues)
Version: OOo 2.4.0
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-14 12:50 UTC by divo76
Modified: 2017-05-20 11:15 UTC (History)
2 users (show)

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


Attachments
A simple text-box sample created using OOo 2.4.0 which can be opened (7.44 KB, application/vnd.sun.xml.writer)
2008-05-14 12:51 UTC, divo76
no flags Details
A text-box containing text:h which fails to open (7.46 KB, application/vnd.sun.xml.writer)
2008-05-14 12:52 UTC, divo76
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description divo76 2008-05-14 12:50:30 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.
Comment 1 divo76 2008-05-14 12:51:47 UTC
Created attachment 53620 [details]
A simple text-box sample created using OOo 2.4.0 which can be opened
Comment 2 divo76 2008-05-14 12:52:24 UTC
Created attachment 53621 [details]
A text-box containing text:h which fails to open
Comment 3 michael.ruess 2008-05-14 15:20:25 UTC
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.
Comment 4 Oliver-Rainer Wittmann 2008-05-14 15:25:18 UTC
OD->AMA: Please take over, Thx.
Comment 5 max.odendahl 2008-05-14 16:55:59 UTC
mod->ama: draw objects as well as the new notes have the same issue
Comment 6 Mathias_Bauer 2009-05-06 17:10:13 UTC
Oliver, please take over
Comment 7 Marcus 2017-05-20 11:15:54 UTC
Reset assigne to the default "issues@openoffice.apache.org".