[Libreoffice-bugs] [Bug 49856] FILESAVE FILEOPEN EDITING Shift+Tab indented bullet indents further

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Sep 3 20:56:07 UTC 2020


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

--- Comment #18 from Dave Gilbert <freedesktop at treblig.org> ---
I've been chasing this backwards through the filters and I can make the bug go
away by commenting out:

svdfppt.cxx:
PPTStyleSheet::PPTStyleSheet:

                if ( eNumRuleType == SvxNumRuleType::PRESENTATION_NUMBERING )
                    aRule.SetLevel( 0, aNumberFormat );

but it's confusing.

What I'm seeing is that in the m_pDefaultSheet the mpNuMBuulletItem[Page] ends
up having:

      <aFmts i="0" ptr="0x3709290">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="bb" 
      <aFmts i="1" ptr="0x3709580">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="f02d" 
      <aFmts i="2" ptr="0x3709620">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="2022" 
      <aFmts i="3" ptr="0x37096c0">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="2013" 
      <aFmts i="4" ptr="0x3709760">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="bb"
      <aFmts i="5" ptr="0x3709800">
        <SvxNumberFormat sPrefix="" sSuffix="" nStart="1" cBullet="bb" 
      (Same up to 9)

so that rule overwrites the 0th number format with the last one loaded; but
there's no comment to say why.

Note this isn't apparently happening from a file generated from ppt - but I'm
not sure why.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200903/8ae97108/attachment.htm>


More information about the Libreoffice-bugs mailing list