322 lines
7.4 KiB
Text
322 lines
7.4 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 TextInTable
|
|
[ uuid = "63C33940-69D8-101D-9757-C667E8298000" ]
|
|
{
|
|
import Text;
|
|
import TextTable;
|
|
}
|
|
|
|
interface ListInTable
|
|
[ uuid="7F1A6E20-69D8-101D-9757-C667E8298000" ]
|
|
{
|
|
import Text;
|
|
import TextList;
|
|
import TextTable;
|
|
}
|
|
|
|
interface ListInText
|
|
[ uuid = "8A4C07E0-69D8-101D-9757-C667E8298000"]
|
|
{
|
|
import TextList;
|
|
import Text;
|
|
}
|
|
|
|
interface TextEditView : BaseTextEditView
|
|
[
|
|
uuid = "09782660-111A-101D-9757-6E74207A7520"
|
|
]
|
|
{
|
|
// Slots, which are not needed in the WebDocShell
|
|
FN_INSERT_OBJ_CTRL
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
Export = FALSE ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_INSERT_CAPTION // status()
|
|
[
|
|
ExecMethod = ExecDlgExt ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_EDIT_FOOTNOTE // status(final|play)
|
|
[
|
|
ExecMethod = ExecDlgExt ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_HYPHENATE_OPT_DLG // status(final|play)
|
|
[
|
|
ExecMethod = ExecLingu ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
FN_CHANGE_PAGENUM // status(final)
|
|
[
|
|
ExecMethod = ExecDlg ;
|
|
StateMethod = GetState ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_INSERT_DRAW // status()
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_FONTWORK_GALLERY_FLOATER
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_BASIC
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_SYMBOL
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_ARROW
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_FLOWCHART
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_CALLOUT
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAWTBX_CS_STAR
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_DRAW_CS_ID
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
StateMethod = GetDrawState ;
|
|
]
|
|
SID_FM_CREATE_CONTROL // status()
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
SID_FM_CREATE_FIELDCONTROL
|
|
[
|
|
ExecMethod = ExecDraw ;
|
|
DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR";
|
|
]
|
|
}
|
|
//=========================================================================
|
|
|
|
shell SwView
|
|
|
|
{
|
|
import TextEditView [Automation];
|
|
// import TextPage "Page";
|
|
// import SearchSettings;
|
|
// import SearchAttributes;
|
|
// import ReplaceAttributes;
|
|
}
|
|
|
|
interface TextPrintPreview
|
|
[ uuid = "1622A480-111A-101D-9757-6E74207A7520" ]
|
|
{
|
|
SID_BROWSER_MODE
|
|
[
|
|
StateMethod = GetState;
|
|
]
|
|
FN_PRINT_LAYOUT
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = GetState;
|
|
]
|
|
FN_REFRESH_VIEW // status(final|play)
|
|
[
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_CHAR_LEFT // status(final|play)
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_CHAR_RIGHT // status(final|play)
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_LINE_UP // status(final|play)
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_LINE_DOWN // status(final|play)
|
|
[
|
|
ExecMethod = Execute;
|
|
StateMethod = NoState ;
|
|
]
|
|
FN_PAGEUP // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_PAGEDOWN // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_START_OF_DOCUMENT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_END_OF_DOCUMENT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_SHOW_TWO_PAGES // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_SHOW_MULTIPLE_PAGES // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_SHOW_BOOKVIEW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_PRINT_PAGEPREVIEW // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_PRINTDOC // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_PRINTDOCDIRECT // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_PRINTPREVIEW // status(final|play)
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_CLOSE_PAGEPREVIEW
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ZOOM_IN
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ZOOM_OUT
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_PREVIEW_ZOOM
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_UNDO // status()
|
|
[
|
|
StateMethod = StateUndo ;
|
|
]
|
|
SID_REDO // status()
|
|
[
|
|
StateMethod = StateUndo ;
|
|
]
|
|
SID_REPEAT // status()
|
|
[
|
|
StateMethod = StateUndo ;
|
|
]
|
|
//---------------------------------------------------------------------
|
|
// Begin StatusBar
|
|
FN_STAT_ZOOM // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ATTR_ZOOM // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_STAT_PAGE // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_START_OF_LINE // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_END_OF_LINE // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_INSERT_BREAK // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
SID_ATTR_ZOOMSLIDER // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
FN_STAT_WORDCOUNT // status()
|
|
[
|
|
ExecMethod = Execute ;
|
|
StateMethod = GetState ;
|
|
]
|
|
//----------------------------------------------
|
|
// End StatusBar
|
|
}
|
|
|
|
//=========================================================================
|
|
|
|
shell SwPagePreView
|
|
{
|
|
import TextPrintPreview[Automation];
|
|
}
|
|
|
|
|