https://bugs.documentfoundation.org/show_bug.cgi?id=165523
--- Comment #22 from Hossein <[email protected]> --- To summarize: Below code was working before, only in German environment, and was causing issues if LibreOffice language was anything other than German: propSet.setPropertyValue("ParaStyleName", new Any("Überschrift 1")); Now, in LibreOffice 24.8.5* and LibreOffice 25.2** or newer, only internal names like "Heading 1" should be used. Therefore, this is the correct code now: propSet.setPropertyValue("ParaStyleName", new Any("Heading 1")); Simply do this change if you use localized names for the styles: "Überschrift 1" -> "Heading 1" // German "見出し1" -> "Heading 1" // Japanese ... * paragraph styles ** everything else -- You are receiving this mail because: You are the assignee for the bug.
