Issue 122026 - [sidebar] "Irregular" UNO command naming scheme
[sidebar] "Irregular" UNO command naming scheme
Status: RESOLVED FIXED
Product: General
Classification: Code
Component: code
4.0.0-dev
All All
: P3 normal (vote)
: 4.0.0
Assigned To: Oliver-Rainer Wittmann
:
Depends on:
Blocks: [sidebar]
  Show dependency treegraph
 
Reported: 2013-04-10 00:23 UTC by Ariel Constenla-Haile
Modified: 2013-04-18 12:30 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation on: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Ariel Constenla-Haile 2013-04-10 00:23:50 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
Comment 1 Oliver-Rainer Wittmann 2013-04-18 09:30:32 UTC
(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]
Comment 2 Oliver-Rainer Wittmann 2013-04-18 12:17:27 UTC
fixed on trunk for AOO 4.0
Comment 3 SVN Robot 2013-04-18 12:20:02 UTC
"orw" committed SVN revision 1469292 into trunk:
122026: adjust names of newly introduced UNO commands; correct uno:FlipHorizo...
Comment 4 Oliver-Rainer Wittmann 2013-04-18 12:30:09 UTC
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.