[Libreoffice-bugs] [Bug 107865] New: UNO commands to modify style-level character and paragraph properties

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon May 15 12:36:37 UTC 2017


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

            Bug ID: 107865
           Summary: UNO commands to modify style-level character and
                    paragraph properties
           Product: LibreOffice
           Version: 5.4.0.0.alpha1+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: philipz85 at hotmail.com
                CC: momonasmon at gmail.com
            Blocks: 86899

All of the UNO commands that modify character and paragraph properties do so at
the direct formatting level, and it would be useful to have similar commands
that modify these properties at the style level.

For example we have the bold UNO command (.uno:Bold) that is at the direct
formatting level, so we'd need a bold style UNO command (.uno:BoldStyle) that
would change the font-style attribute to bold at the character style level if a
character style is below the cursor, else it would modify the attribute at the
paragraph style level.

Below is a list of UNO commands from the Formatting toolbar that would benefit
from style variants.

.uno:CharFontName
.uno:FontHeight
.uno:Grow
.uno:Shrink
.uno:Bold
.uno:Italic
.uno:Underline
.uno:Strikeout
.uno:SuperScript
.uno:SubScript
.uno:Color
.uno:BackColor

.uno:LeftPara
.uno:CenterPara
.uno:RightPara
.uno:JustifyPara
.uno:LineSpacing
.uno:Spacing
.uno:ParaspaceIncrease
.uno:ParaspaceDecrease
.uno:IncrementIndent
.uno:DecrementIndent

@Maxim: What's your opinion about this idea?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=86899
[Bug 86899] [META] Requests for the addition of UNO commands
-- 
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/20170515/0b0cc00d/attachment.html>


More information about the Libreoffice-bugs mailing list