To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=112205
                 Issue #|112205
                 Summary|attibutes not saved
               Component|Word processor
                 Version|OOO320m12
                Platform|All
                     URL|
              OS/Version|All
                  Status|UNCONFIRMED
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|save-export
             Assigned to|writerneedsconfirm
             Reported by|zagge





------- Additional comments from [email protected] Tue Jun  8 03:48:35 +0000 
2010 -------
Shapes added by oowriter do not save the draw:fill nor the draw:stroke
attribute. It should save a draw:fill="solid" and draw:stroke="solid".
Additionally it should also save the draw:fill-color and svg:stroke-color for
the default values. 

I will attach a document created in oowriter. Here are some parts of it that
show the problem.

        <draw:rect text:anchor-type="paragraph" draw:z-index="0" draw:style-
name="gr1" draw:text-style-name="P1" svg:width="1.7713in" svg:height="1.5941in"
svg:x="-0.189in" svg:y="-0.3591in">
          <text:p/>
        </draw:rect>
        <draw:custom-shape text:anchor-type="paragraph" draw:z-index="1"
draw:style-name="gr2" svg:width="1.9276in" svg:height="1.4067in" 

The styles gr1 and gr2 don't define the needed attributes

    <style:style style:name="gr1" style:family="graphic">
      <style:graphic-properties draw:fill-color="#ff3366" draw:textarea-
horizontal-align="center" draw:textarea-vertical-align="middle" style:run-
through="foreground" style:wrap="run-through" style:number-wrapped-
paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-
rel="paragraph" style:horizontal-pos="from-left" style:horizontal-
rel="paragraph"/>
    </style:style>
    <style:style style:name="gr2" style:family="graphic">
      <style:graphic-properties draw:textarea-horizontal-align="justify"
draw:textarea-vertical-align="middle" draw:auto-grow-height="false" style:run-
through="foreground" style:wrap="run-through" style:number-wrapped-
paragraphs="no-limit" style:vertical-pos="from-top" style:vertical-
rel="paragraph" style:horizontal-pos="from-left" style:horizontal-
rel="paragraph"/>
    </style:style>

The attributes are also not in the default style:

    <style:default-style style:family="graphic">
      <style:graphic-properties draw:shadow-offset-x="0.1181in" draw:shadow-
offset-y="0.1181in" draw:start-line-spacing-horizontal="0.1114in" draw:start-
line-spacing-vertical="0.1114in" draw:end-line-spacing-horizontal="0.1114in"
draw:end-line-spacing-vertical="0.1114in" style:flow-with-text="false"/>
      <style:paragraph-properties style:text-autospace="ideograph-alpha"
style:line-break="strict" style:writing-mode="lr-tb" style:font-independent-
line-spacing="false">
        <style:tab-stops/>
      </style:paragraph-properties>
      <style:text-properties style:use-window-font-color="true" fo:font-
size="12pt" fo:language="de" fo:country="DE" style:letter-kerning="true"
style:font-size-asian="10.5pt" style:language-asian="zh" style:country-
asian="CN" style:font-size-complex="12pt" style:language-complex="hi"
style:country-complex="IN"/>
    </style:default-style>

This attributes are needed that applications beside OpenOffice can open up the
documents without problems.

The problem does not occur in ooimpress.

---------------------------------------------------------------------
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: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to