Issue 122026

Summary: [sidebar] "Irregular" UNO command naming scheme
Product: General Reporter: Ariel Constenla-Haile <arielch>
Component: codeAssignee: Oliver-Rainer Wittmann <orw>
Status: CLOSED FIXED QA Contact:
Severity: Normal    
Priority: P3 CC: issues, orw
Version: 4.0.0-dev   
Target Milestone: 4.0.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 121420    

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.