ac48a33060
Change-Id: I809cfe4af82cebabe80c171cdd488ff43d749a86 Reviewed-on: https://gerrit.libreoffice.org/81895 Tested-by: Jenkins Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
455 lines
11 KiB
Text
455 lines
11 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 BaseTextTable
|
|
{
|
|
|
|
FN_FORMAT_TABLE_DLG // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
SID_ATTR_BRUSH
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
SID_ATTR_BRUSH_ROW
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
SID_ATTR_BRUSH_TABLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
]
|
|
FN_NUM_FORMAT_TABLE_DLG // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_CALC_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_TABLE_AUTOSUM // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
SID_TABLE_VERT_NONE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_TABLE_VERT_CENTER
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_TABLE_VERT_BOTTOM
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_SET_COL_WIDTH // status( final|play )
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
SID_ATTR_ULSPACE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_ATTR_LRSPACE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
GroupId = SfxGroupId::Table;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_DELETE_COL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_DELETE_ROW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_DELETE_TABLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_GOTO_NEXT_CELL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_GOTO_PREV_CELL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_END_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_START_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_TABLE_INSERT_COL_BEFORE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
// 2015/06 Deprecated, replaced by INSERT_COL_AFTER
|
|
FN_TABLE_INSERT_COL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_INSERT_COL_AFTER // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_INSERT_COL_DLG // status(final|play)
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = Execute ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_INSERT_ROW_BEFORE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_INSERT_ROW_AFTER // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
// 2015/06 Deprecated, replaced by INSERT_ROW_AFTER
|
|
FN_TABLE_INSERT_ROW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_INSERT_ROW_DLG // status(final|play)
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_MERGE_CELLS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_OPTIMIZE_TABLE
|
|
[
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
SID_TABLE_MINIMAL_COLUMN_WIDTH // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_ADJUST_CELLS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_BALANCE_CELLS // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_TABLE_MINIMAL_ROW_HEIGHT // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_BALANCE_ROWS // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_SELECT_ALL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_TABLE_SELECT_COL // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
|
|
FN_TABLE_SELECT_ROW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_TABLE_SELECT_CELL
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_SET_ROW_HEIGHT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_ROW_SPLIT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_OPTIMAL_HEIGHT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_SPLIT_CELLS // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_SPLIT_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_MERGE_TABLE // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_UNSET_READ_ONLY_CELLS // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
|
|
SID_AUTOFORMAT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_ATTR_BORDER // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetFrameBorderState ;
|
|
GroupId = SfxGroupId::Table;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_FRAME_LINESTYLE // status()
|
|
[
|
|
ExecMethod = ExecTableStyle ;
|
|
StateMethod = GetLineStyleState ;
|
|
Export = FALSE;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_FRAME_LINECOLOR // status(play)
|
|
[
|
|
ExecMethod = ExecTableStyle ;
|
|
StateMethod = GetLineStyleState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_TABLE_MODE_FIX
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState;
|
|
]
|
|
|
|
FN_TABLE_MODE_FIX_PROP
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState;
|
|
]
|
|
|
|
FN_TABLE_MODE_VARIABLE
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState;
|
|
]
|
|
|
|
FN_NUMBER_FORMAT
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
FN_NUMBER_STANDARD
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_TWODEC
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_SCIENTIFIC
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_DATE
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_TIME
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_CURRENCY
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_NUMBER_PERCENT
|
|
[
|
|
ExecMethod = ExecNumberFormat;
|
|
StateMethod = NoState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
// Slots without export
|
|
|
|
FN_INSERT_TABLE
|
|
[
|
|
Export = FALSE ;
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_HEADLINE_REPEAT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_SELECT_CELL
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
FN_TABLE_DELETE_TABLE
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_ATTR_TABLE_ROW_HEIGHT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
|
|
SID_ATTR_TABLE_COLUMN_WIDTH
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SfxDisableFlags::SwOnProtectedCursor";
|
|
]
|
|
}
|
|
|