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

Buovjaga <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #9 from Buovjaga <[email protected]> ---
(In reply to BogdanB from comment #8)
> Indeed, using the existing file it can NOT be demoted.
> 
> But, what I have notice is if I am starting a new element after Line 2, and
> demote it and save, it will work. Mayne that element was not created
> correct. 
> 
> Buovjaga and szotsaki, could you please try that? Maybe the internal
> structure for that element was created somehow different, and it is not a
> bug.

Good point: the structure is like so:

<draw:custom-shape draw:name="Shape 140" draw:style-name="gr1"
draw:text-style-name="P5" draw:layer="layout" svg:width="13.393cm"
svg:height="8.808cm" svg:x="6.607cm" svg:y="4.612cm">
  <text:list text:style-name="L1">
    <text:list-item>
      <text:p text:style-name="P1">
        <text:span text:style-name="T1">Line 1</text:span>
      </text:p>
    </text:list-item>
  </text:list>
  <text:list text:style-name="L2">
    <text:list-item>
      <text:list>
        <text:list-item>
          <text:p text:style-name="P2">
            <text:span text:style-name="T2">Line 2</text:span>
          </text:p>
        </text:list-item>
      </text:list>
    </text:list-item>
  </text:list>
  <text:list text:style-name="L3">
    <text:list-item>
      <text:p text:style-name="P3">
        <text:span text:style-name="T3">Try to demote</text:span>
      </text:p>
    </text:list-item>
  </text:list>
  <text:list text:style-name="L4">
    <text:list-item>
      <text:list>
        <text:list-header>
          <text:p text:style-name="P4">
            <text:span text:style-name="T2"/>
          </text:p>
        </text:list-header>
      </text:list>
    </text:list-item>
  </text:list>

So each item *is in a separate list*. When we add a new item as Bogdan said, it
is created as a sibling item inside one of the lists, so demote works in that
context.

Let's close as invalid.

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

Reply via email to