https://bugs.documentfoundation.org/show_bug.cgi?id=149734

            Bug ID: 149734
           Summary: Identical frames with identical style definitions; one
                    is rotatable & other is not; Only difference is
                    /where/ the style is defined
           Product: LibreOffice
           Version: 7.3.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

The frist shape uses style *`FrameStyleAuto'* from
*`content.xml'*. /*This is rotatable*/.

The second shape uses style *`FrameStyleCustom'* from
*`styles.xml'*. /*This is NOT rotatable*/.

The `XML' definitions of *`FrameStyleCustom'* and *`FrameStyleAuto'* are
identical, and looks as below (save for the `style:style-name')

,----
| <style:style style:name="FrameStyleAuto"
|            style:family="graphic">
|   <style:graphic-properties draw:wrap-influence-on-position="once-concurrent"
|                           style:horizontal-pos="center"
|                           style:horizontal-rel="paragraph-content"
|                           style:vertical-pos="top"
|                           style:vertical-rel="paragraph"
|                           style:wrap="none"
|                           text:anchor-type="char" />
| </style:style>
`----

My Question is

      Above example suggests that LibreOffice chooses between a
      *`textbox'* and *`a shape'* based *NOT ON /the XML
      definition/ of the style*, but *on /the type/ ---/custom/ or
      /automatic/---of the style* ... This observed behaviour is
      very quriky and suspicious ...

Other issues:

Fill color of the style is blue
      Where does it come from?

      - The *`style:default-style'* for /graphics/ does not specify a
        fill color.

      - While examining *`Tools -> Options -> LibreOffice -> Application
            Colors'*, none of the colors come closer to the fill color.

,----
| <style:default-style style:family="graphic">
|  <style:graphic-properties draw:end-line-spacing-horizontal="0.283cm"
|                          draw:end-line-spacing-vertical="0.283cm"
|                          draw:shadow-offset-x="0.3cm"
|                          draw:shadow-offset-y="0.3cm"
|                          draw:start-line-spacing-horizontal="0.283cm"
|                          draw:start-line-spacing-vertical="0.283cm"
|                          style:flow-with-text="false" />
|  <!-- style:paragraph-properties and style:text-properties are snipped -->
| </style:default-style>
`----

,----
| <style:style style:name="FrameStyleAuto"
|            style:family="graphic">
|   <style:graphic-properties draw:wrap-influence-on-position="once-concurrent"
|                           style:horizontal-pos="center"
|                           style:horizontal-rel="paragraph-content"
|                           style:vertical-pos="top"
|                           style:vertical-rel="paragraph"
|                           style:wrap="none"
|                           text:anchor-type="char" />
| </style:style>
`----

,----
| <style:style style:name="FrameStyleCustom"
|            style:family="graphic">
|   <style:graphic-properties draw:wrap-influence-on-position="once-concurrent"
|                           style:horizontal-pos="center"
|                           style:horizontal-rel="paragraph-content"
|                           style:vertical-pos="top"
|                           style:vertical-rel="paragraph"
|                           style:wrap="none"
|                           text:anchor-type="char" />
| </style:style>
`----

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to