Issue 77868 - RNG: The value of the property fo:wrap-option is inconsistent with ODF spec
Summary: RNG: The value of the property fo:wrap-option is inconsistent with ODF spec
Status: CLOSED DUPLICATE of issue 59405
Alias: None
Product: xml
Classification: Code
Component: definition (show other issues)
Version: OOo 2.0.2
Hardware: All All
: P2 Trivial (vote)
Target Milestone: OOo 2.3
Assignee: michael.brauer
QA Contact: issues@xml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-05-28 14:15 UTC by ironknight
Modified: 2007-06-21 09:11 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ironknight 2007-05-28 14:15:08 UTC
Problem: In OpenOffice.org 2.0, when I select word wrap text in shape and then 
save the file, the value of the property fo:wrap-option that is saved to the 
file is actually "no-wrap". I think it is inconsistent with ODF spec. 

Actual XML section in ODP file(selected "word wrap" option in shape setting 
dialog)

<style:style style:name="gr1" style:family="graphic" style:parent-style-
name="standard">
	<style:graphic-properties draw:stroke="none" draw:fill="none" 
draw:fill-color="#7889fb" draw:textarea-horizontal-align="justify" 
draw:textarea-vertical-align="middle" draw:auto-grow-height="false" fo:padding-
top="0cm" fo:padding-bottom="0cm" fo:padding-left="0cm" fo:padding-right="0cm" 
fo:wrap-option="no-wrap" draw:shadow="hidden" draw:shadow-color="#ccccff"/>
</style:style>

But in ODF spec:

15.16.6Word Wrap
The fo:wrap-option attribute specifies if text is word wrapped in a shape.
<define name="style-graphic-properties-attlist" combine="interleave">
	<optional>
		<attribute name="fo:wrap-option">
			<choice>
				<value>no-wrap</value>
				<value>wrap</value>
			</choice>
		</attribute>
	</optional>
</define>

This inconsistent with ODF standard will make OOo 2.0 have a bad 
interoperability with other ODF-support editors.
Comment 1 jogi 2007-05-29 06:27:27 UTC
MIB: Your turn.
Reporter: No P1er because it makes OOo not unusable.
Comment 2 jogi 2007-05-29 06:28:33 UTC
cc'ing CL
Comment 3 clippka 2007-06-21 09:10:48 UTC
duplicate to issue 59405 

*** This issue has been marked as a duplicate of 59405 ***
Comment 4 clippka 2007-06-21 09:11:10 UTC
closing