Apache OpenOffice (AOO) Bugzilla – Issue 122026
[sidebar] "Irregular" UNO command naming scheme
Last modified: 2022-10-28 12:54:21 UTC
Some of the new UNO commands follow an "irregular" naming scheme, or are a little cryptic: a) module name in the UNO command may be removed, for example: .uno:SvxAutoWidth .uno:SvxFlipHorizontal .uno:SvxFlipVertical .uno:SCDialogBorder .uno:SwPageColumn b) some commands could have a more explicit wording, for example: .uno:TransAngle .uno:TransRotX .uno:TransRotY I guess "Trans" is from "Translate" c) some commands seem wrong, for example: .uno:FontDialogEff seems to be the Font Effect tab page, so FontEffectDialog sound more natural .uno:NumberType seems to be the Numbering type
(In reply to comment #0) > Some of the new UNO commands follow an "irregular" naming scheme, or are a > little cryptic: > > a) module name in the UNO command may be removed, for example: > > .uno:SvxAutoWidth --> .uno:AutomaticWidth Also .uno:SvxAutoHeight is adapted to .uno:AutomaticHeight > .uno:SvxFlipHorizontal --> .uno:FlipHorizontal (flip horizontally) This change removes former .uno:FlipHorizontal which was flipping vertically > .uno:SvxFlipVertical --> .uno:FlipVertical (flip vertically) Thias change removes former .uno:FlipVertical which was flipping horizontally > .uno:SCDialogBorder --> .uno:FormatCellBorders > .uno:SwPageColumn --> .uno:PageColumnType > > b) some commands could have a more explicit wording, for example: > > .uno:TransAngle --> .uno:TransformRotationAngle > .uno:TransRotX --> .uno:TransformRotationX > .uno:TransRotY --> .uno:TransformRotationY > > I guess "Trans" is from "Translate" > > c) some commands seem wrong, for example: > > .uno:FontDialogEff seems to be the Font Effect tab page, so FontEffectDialog > sound more natural --> .uno:FontEffectsDialog > > .uno:NumberType seems to be the Numbering type already adapted to .uno:NumberFormatType Also adapted .uno:SvxTransForm[PosX|PosY|Width|Height] to .uno:Transform[PosX|PosY|Width|Height]
fixed on trunk for AOO 4.0
"orw" committed SVN revision 1469292 into trunk: 122026: adjust names of newly introduced UNO commands; correct uno:FlipHorizo...
important note for the verification of this issue fix: The UNO commands .uno:FlipHorizontal and .uno:FlipVertical have been corrected. Thus, it is needed to check in the user interface (menu, toolbar and sidebar) if the corresponding user interface controls for flipping graphics horizontally and vertically still work correct.