/************************************************************************* * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * Copyright 2008 by Sun Microsystems, Inc. * * OpenOffice.org - a multi-platform office productivity suite * * $RCSfile: viewsh.sdi,v $ * $Revision: 1.15 $ * * This file is part of OpenOffice.org. * * OpenOffice.org is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License version 3 * only, as published by the Free Software Foundation. * * OpenOffice.org is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Lesser General Public License version 3 for more details * (a copy is included in the LICENSE file that accompanied this code). * * You should have received a copy of the GNU Lesser General Public License * version 3 along with OpenOffice.org. If not, see * * for a copy of the LGPLv3 License. * ************************************************************************/ 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, die nicht in der WebDocShell gebraucht werden 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"; ] /******************************************************************** **Added by liqiang for caption migration 2009/7/23 **-- Caption Enhancement **-- Easy to remove caption[Add in context menu "Remove Caption"] ********************************************************************/ FN_REMOVE_CAPTION // status() [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] //End caption migration 2009/7/23 FN_EDIT_FOOTNOTE // status(final|play) [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] //added by liqiang for Quick access to footnote 2009/7/23 FN_GOTO_FOOTNOTE_AREA [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] //end addition for Quick access to footnote 2009/7/23 //Added by liqiang for "Go to Endnote" context menu, Sym2_1211, 2009/8/24 FN_GOTO_ENDNOTE_AREA [ ExecMethod = ExecDlgExt ; StateMethod = GetState ; DisableFlags="SW_DISABLE_ON_PROTECTED_CURSOR"; ] //End addition for "Go to Endnote" context menu, Sym2_1211, 2009/8/24 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"; ] //If we want to maintain toolbox status like sd, StateMethod must be specified as GetConnState, and then implement UpdateToolboxImages as SD does SID_DRAWTBX_CONNECTORS [ ExecMethod = ExecDraw; StateMethod = NoState; ] SID_CONNECTOR_ARROW_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+2) SID_CONNECTOR_ARROW_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+3) SID_CONNECTOR_ARROWS [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+4) SID_CONNECTOR_CIRCLE_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+5) SID_CONNECTOR_CIRCLE_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+6) SID_CONNECTOR_CIRCLES [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+7) SID_CONNECTOR_LINE [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+8) SID_CONNECTOR_LINE_ARROW_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+9) SID_CONNECTOR_LINE_ARROW_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+10) SID_CONNECTOR_LINE_ARROWS [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+11) SID_CONNECTOR_LINE_CIRCLE_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+12) SID_CONNECTOR_LINE_CIRCLE_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+13) SID_CONNECTOR_LINE_CIRCLES [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+14) SID_CONNECTOR_CURVE [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+15) SID_CONNECTOR_CURVE_ARROW_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+16) SID_CONNECTOR_CURVE_ARROW_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+17) SID_CONNECTOR_CURVE_ARROWS [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+18) SID_CONNECTOR_CURVE_CIRCLE_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+19) SID_CONNECTOR_CURVE_CIRCLE_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+20) SID_CONNECTOR_CURVE_CIRCLES [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+21) SID_CONNECTOR_LINES [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+22) SID_CONNECTOR_LINES_ARROW_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+23) SID_CONNECTOR_LINES_ARROW_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+24) SID_CONNECTOR_LINES_ARROWS [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+25) SID_CONNECTOR_LINES_CIRCLE_START [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+26) SID_CONNECTOR_LINES_CIRCLE_END [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+27) SID_CONNECTOR_LINES_CIRCLES [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+28) SID_TOOL_CONNECTOR [ ExecMethod = ExecDraw; StateMethod = NoState; ] //(SID_CONNECTOR_START+28) } //========================================================================= shell SwView { import TextEditView [Automation]; // import TextPage "Page"; // import SearchSettings; // import SearchAttributes; // import ReplaceAttributes; } interface TextPrintPreview [ uuid = "1622A480-111A-101D-9757-6E74207A7520" ] { FN_REFRESH_VIEW // status(final|play) [ ExecMethod = Execute ; 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 ; ] //--------------------------------------------------------------------- //Ab hier Statusleiste 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 ; ] SID_SIDEBAR_PANEL_DOCK [ StateMethod = GetState; ] //---------------------------------------------- //End mit Statusleiste } //========================================================================= shell SwPagePreView { import TextPrintPreview[Automation]; }