431950e1ea
uno:Underline is the "real" deal, and has multiple underline options uno:UnderlineSimple is "some underline on" vs no underline calc and writer had UnderlineSingle, UnderlineDouble and UnderlineDotted for that specific type of underline on vs not-on add those to draw/impress too and then use UnderlineSingle instead of Underline in the format menu so that when UnderlineDouble is applied, UnderlineSingle is not show as applied, instead of using Underline ot UnderlineSimple which would show as on if UnderlineDouble was applied Change-Id: I6f9fcf37c2c90d215ea52b536e4fa84734754850 Reviewed-on: https://gerrit.libreoffice.org/82469 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
300 lines
6.6 KiB
Text
300 lines
6.6 KiB
Text
/*
|
|
* This file is part of the LibreOffice project.
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
*
|
|
* This file incorporates work covered by the following license notice:
|
|
*
|
|
* Licensed to the Apache Software Foundation (ASF) under one or more
|
|
* contributor license agreements. See the NOTICE file distributed
|
|
* with this work for additional information regarding copyright
|
|
* ownership. The ASF licenses this file to you under the Apache
|
|
* License, Version 2.0 (the "License"); you may not use this file
|
|
* except in compliance with the License. You may obtain a copy of
|
|
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
|
|
*/
|
|
|
|
shell TextObjectBar
|
|
{
|
|
SID_STYLE_APPLY // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
GroupId = SfxGroupId::Document;
|
|
AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_CHAR_FONT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_FONTHEIGHT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_COLOR // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_BACK_COLOR // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_WEIGHT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_POSTURE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_UNDERLINE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ULINE_VAL_NONE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
|
|
SID_ULINE_VAL_SINGLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
|
|
SID_ULINE_VAL_DOUBLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
|
|
SID_ULINE_VAL_DOTTED
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
|
|
SID_ATTR_CHAR_OVERLINE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_UNDERLINE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_CONTOUR // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_STRIKEOUT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_SHADOWED // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_CASEMAP // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_PARA_ADJUST_LEFT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_ADJUST_CENTER // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_ADJUST_RIGHT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_ADJUST_BLOCK // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_LEFT_TO_RIGHT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_RIGHT_TO_LEFT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_LINESPACE_10 // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_LINESPACE_15 // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_ATTR_PARA_LINESPACE_20 // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
// AutoUpdate;
|
|
]
|
|
|
|
SID_SET_SUPER_SCRIPT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_SET_SUB_SCRIPT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_KERNING
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetCharState;
|
|
]
|
|
|
|
SID_PARASPACE_INCREASE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_PARASPACE_DECREASE // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_INC_INDENT
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_DEC_INDENT
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_ATTR_PARA_LRSPACE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_HANGING_INDENT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
|
|
SID_OUTLINE_LEFT // ole : no, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
SID_OUTLINE_RIGHT // ole : no, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
SID_OUTLINE_UP // ole : no, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
SID_OUTLINE_DOWN // ole : no, status : ?
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
FN_NUM_BULLET_ON // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
SID_TEXTDIRECTION_LEFT_TO_RIGHT // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
SID_TEXTDIRECTION_TOP_TO_BOTTOM // ole : ?, status : ?
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
SID_GROW_FONT_SIZE
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
SID_SHRINK_FONT_SIZE
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetAttrState;
|
|
]
|
|
SID_THES
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetAttrState ;
|
|
]
|
|
|
|
|
|
}
|