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>
135 lines
2.7 KiB
Text
135 lines
2.7 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 BaseTextDocument
|
|
{
|
|
SID_PRINTPREVIEW
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
SID_AUTO_CORRECT_DLG
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
|
|
SID_STYLE_NEW
|
|
[
|
|
ExecMethod = ExecStyleSheet ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_STYLE_EDIT
|
|
[
|
|
ExecMethod = ExecStyleSheet ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_STYLE_DELETE
|
|
[
|
|
ExecMethod = ExecStyleSheet ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_STYLE_HIDE
|
|
[
|
|
ExecMethod = ExecStyleSheet ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_STYLE_SHOW
|
|
[
|
|
ExecMethod = ExecStyleSheet ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_TEMPLATE_LOAD
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_GET_COLORLIST
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
|
|
SID_SPELLCHECKER_CHANGED
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
|
|
SID_MAIL_EXPORT_FINISHED
|
|
[
|
|
ExecMethod = Execute;
|
|
]
|
|
//No Export
|
|
SID_STYLE_FAMILY1
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY2
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY3
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY4
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
SID_STYLE_FAMILY5
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
|
|
SID_STYLE_FAMILY6
|
|
[
|
|
Export = FALSE ;
|
|
StateMethod = StateStyleSheet ;
|
|
]
|
|
|
|
SID_ATTR_YEAR2000
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState;
|
|
]
|
|
|
|
SID_ATTR_CHAR_FONTLIST
|
|
[
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
SID_MAIL_PREPAREEXPORT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState;
|
|
]
|
|
}
|
|
|