[Libreoffice-bugs] [Bug 135335] New: UNO API: SwXNumberingRules::getByIndex returns font style name in BulletFontName

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jul 31 09:36:35 UTC 2020


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

            Bug ID: 135335
           Summary: UNO API: SwXNumberingRules::getByIndex returns font
                    style name in BulletFontName
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: sdk
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

XNumberingRules::getByIndex returns a sequence of css::beans::PropertyValue.
One of them is "BulletFontName", which is defined in
offapi/com/sun/star/text/NumberingLevel.idl as:

> the name of the font for the symbol. This is only valid if the
> numbering type is com::sun::star::style::NumberingType::CHAR_SPECIAL.

So it's expected that this property has font name (e.g., OpenSymbol). But in
fact, font style is written there in
SwXNumberingRules::GetPropertiesForNumFormat, like "Regular".

Obviously inherited from OOo:
https://forum-test.openoffice.org/en/forum/viewtopic.php?f=45&t=28632#p130590.

-- 
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/20200731/e0cc7f71/attachment.htm>


More information about the Libreoffice-bugs mailing list