e7ea91f283
Table styles panel: + Added simple table style panel tab icon. icon-themes/galaxy/sw/imglst/sf06.png + Listing table styles (hierarchical, same order as in container) + Listing all table styles (sorted by name). + Listing applied table styles. + Listing custom styles. + Listing hidden styles. + Hide/show style. + Applying style by double clicking. + Highlight current table style. Everything else yet to be done. Table styles (SwTableAutoFormat): + "hidden" property. + "userDefined" property. "Default style" is not user defined. Styles loaded from tblauto.fmt are also not user defined. Styles loaded from .odt are user defined. Styles created manually (before binary load/save roundtrip) are user defined. Change-Id: I739a48ae1d7ae66f4f8c08076871437ca491bd4e Reviewed-on: https://gerrit.libreoffice.org/27638 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
531 lines
12 KiB
Text
531 lines
12 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 .
|
|
*/
|
|
|
|
interface BaseTextSelection
|
|
{
|
|
SID_ATTR_BRUSH
|
|
[
|
|
ExecMethod = Execute ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_DELETE // status(final|play)
|
|
[
|
|
ExecMethod = ExecDelete ;
|
|
StateMethod = GetState ;
|
|
FastCall = FALSE ;
|
|
]
|
|
|
|
FN_BACKSPACE // status(final|play)
|
|
[
|
|
ExecMethod = ExecDelete ;
|
|
StateMethod = GetState ;
|
|
FastCall = FALSE ;
|
|
]
|
|
|
|
FN_SHIFT_BACKSPACE // status()
|
|
[
|
|
ExecMethod = ExecDelete ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_UNDO // status(final|play)
|
|
[
|
|
ExecMethod = ExecUndo ;
|
|
StateMethod = StateUndo ;
|
|
]
|
|
|
|
SID_GETUNDOSTRINGS // status(final|play)
|
|
[
|
|
StateMethod = StateUndo ;
|
|
]
|
|
|
|
SID_REDO // status(final|play)
|
|
[
|
|
ExecMethod = ExecUndo ;
|
|
StateMethod = StateUndo ;
|
|
]
|
|
|
|
SID_GETREDOSTRINGS // status(final|play)
|
|
[
|
|
StateMethod = StateUndo ;
|
|
]
|
|
|
|
SID_REPEAT // status()
|
|
[
|
|
ExecMethod = ExecUndo ;
|
|
StateMethod = StateUndo ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_CUT // status(final|play)
|
|
[
|
|
ExecMethod = ExecClpbrd ;
|
|
StateMethod = StateClpbrd ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_COPY // status(final|play)
|
|
[
|
|
ExecMethod = ExecClpbrd ;
|
|
StateMethod = StateClpbrd ;
|
|
]
|
|
|
|
SID_PASTE // status(final|play)
|
|
[
|
|
ExecMethod = ExecClpbrd ;
|
|
StateMethod = StateClpbrd ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_CLIPBOARD_FORMAT_ITEMS // status(final|play)
|
|
[
|
|
StateMethod = StateClpbrd ;
|
|
ExecMethod = ExecClpbrd ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_PASTE_UNFORMATTED // status(final|play)
|
|
[
|
|
ExecMethod = ExecClpbrd ;
|
|
StateMethod = StateClpbrd ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_PASTE_SPECIAL // status(final|play)
|
|
[
|
|
ExecMethod = ExecClpbrd ;
|
|
StateMethod = StateClpbrd ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_REPAGINATE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_CHANGE_DBFIELD
|
|
[
|
|
ExecMethod = ExecField ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_UPDATE_FIELDS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_UPDATE_CHARTS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_UPDATE_ALL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_UPDATE_INPUTFIELDS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_FRAME_TO_ANCHOR // status()
|
|
[
|
|
/*OS: Datentypen unvertraeglich ?? */
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_GOTO_NEXT_OBJ // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_GOTO_PREV_OBJ // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_GOTO_NEXT_MARK // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_GOTO_PREV_MARK // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_PREV_BOOKMARK // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_NEXT_BOOKMARK // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_GALLERY_FORMATS // status()
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = Execute ;
|
|
]
|
|
|
|
SID_GALLERY_ENABLE_ADDCOPY
|
|
[
|
|
Export = FALSE;
|
|
StateMethod = GetState;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_BACKGROUND_COLOR // status()
|
|
[
|
|
ExecMethod = ExecBckCol ;
|
|
StateMethod = GetBckColState ;
|
|
AutoUpdate ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_EDIT_REGION // status(final|play)
|
|
[
|
|
ExecMethod = EditRegionDialog ;
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
FN_INSERT_REGION // status()
|
|
[
|
|
ExecMethod = InsertRegionDialog;
|
|
StateMethod = GetState;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_PAGE_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_TITLEPAGE_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_PAGE_COLUMN_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_PAGE_SETTING_DLG
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_CONVERT_TABLE_TO_TEXT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_CONVERT_TEXT_TO_TABLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_CONVERT_TEXT_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_BORDER_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_ATTR_BORDER_INNER // status()
|
|
[
|
|
StateMethod = GetBorderState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_ATTR_BORDER_OUTER // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetBorderState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_BORDER_REDUCED_MODE
|
|
[
|
|
StateMethod = GetBorderState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_FORMAT_BACKGROUND_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SfxBoolItem StyleWatercanMode SID_STYLE_WATERCAN // status()
|
|
[
|
|
SfxUInt16Item WatercanStyleModeOnOff
|
|
(
|
|
SfxStringItem Param SID_STYLE_WATERCAN ,
|
|
SfxUInt16Item Family SID_STYLE_FAMILY
|
|
) ;
|
|
ExecMethod = Execute ;
|
|
StateMethod = StateStyle ;
|
|
NoRecord;
|
|
GroupId = GID_TEMPLATE ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_STYLE_UPDATE_BY_EXAMPLE // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_NEW_BY_EXAMPLE // status(fina|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = StateStyle ;
|
|
FastCall = TRUE; // fuer Macroausfuehrung!
|
|
]
|
|
SID_STYLE_APPLY // status(fina|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = StateStyle ;
|
|
FastCall = TRUE;// fuer Macroausfuehrung!
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
SID_STYLE_FAMILY1 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY2 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY3 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY4 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY5 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY6 // status(fina|play)
|
|
[
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
SID_CLASSIFICATION_APPLY
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = StateStyle ;
|
|
]
|
|
|
|
//OS: Selection.Escape gibt es zusaetzlich zu Window.Escape
|
|
|
|
FN_ESCAPE // status(final|play|rec)
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
|
|
SID_IMAP
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Toggle = FALSE;
|
|
]
|
|
|
|
SID_IMAP_EXEC
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
// Methode fuer Rahmen und Objekte
|
|
FN_TOOL_ANCHOR
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_TOOL_ANCHOR_PARAGRAPH
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_TOOL_ANCHOR_CHAR
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_TOOL_ANCHOR_AT_CHAR
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_TOOL_ANCHOR_FRAME
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_UPDATE_ALL_LINKS // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
// from here on Export = FALSE
|
|
|
|
FN_FRAME_WRAP // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAP_IDEAL // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_NOWRAP // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAPTHRU // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAPTHRU_TRANSP // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAP_CONTOUR // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_WRAP_ANCHOR_ONLY // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAP_LEFT // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
FN_FRAME_WRAP_RIGHT // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
|
|
SID_GALLERY_BG_BRUSH
|
|
[
|
|
ExecMethod = ExecuteGallery;
|
|
StateMethod = GetGalleryState;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
Export = FALSE;
|
|
]
|
|
SID_ATTR_BORDER_SHADOW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
|
|
FN_XFORMS_DESIGN_MODE
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState;
|
|
]
|
|
}
|
|
|