1 /*************************************************************************
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5 * Copyright 2008 by Sun Microsystems, Inc.
7 * OpenOffice.org - a multi-platform office productivity suite
9 * $RCSfile: prevwsh.sdi,v $
12 * This file is part of OpenOffice.org.
14 * OpenOffice.org is free software: you can redistribute it and/or modify
15 * it under the terms of the GNU Lesser General Public License version 3
16 * only, as published by the Free Software Foundation.
18 * OpenOffice.org is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU Lesser General Public License version 3 for more details
22 * (a copy is included in the LICENSE file that accompanied this code).
24 * You should have received a copy of the GNU Lesser General Public License
25 * version 3 along with OpenOffice.org. If not, see
26 * <http://www.openoffice.org/license.html>
27 * for a copy of the LGPLv3 License.
29 ************************************************************************/
30 interface TablePrintPreview : View
32 // von Basic aus nicht erreichbar, darum alles mit Export = FALSE
34 SID_FORMATPAGE [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
35 SID_STATUS_PAGESTYLE [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
36 SID_HFEDIT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
37 SID_ATTR_ZOOM [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
38 FID_SCALE [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
39 SID_STATUS_DOCPOS [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
40 SID_PREVIEW_NEXT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
41 SID_PREVIEW_PREVIOUS [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
42 SID_PREVIEW_FIRST [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
43 SID_PREVIEW_LAST [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
44 SID_PREVIEW_MARGIN [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
45 SID_PREVIEW_SCALINGFACTOR [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
46 SID_ATTR_ZOOMSLIDER [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
48 SfxVoidItem GoUpBlock SID_CURSORPAGEUP
50 SfxInt16Item By SID_CURSORPAGEUP
53 ExecMethod = Execute ;
54 StateMethod = GetState ;
56 GroupId = GID_INTERN ;
60 SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN
62 SfxInt16Item By SID_CURSORPAGEDOWN
65 ExecMethod = Execute ;
66 StateMethod = GetState ;
68 GroupId = GID_INTERN ;
72 SID_CURSORHOME [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
73 SID_CURSOREND [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
75 SfxVoidItem GoDown SID_CURSORDOWN
77 SfxInt16Item By SID_CURSORDOWN
80 ExecMethod = Execute ;
81 StateMethod = GetState ;
83 GroupId = GID_INTERN ;
86 SfxVoidItem GoUp SID_CURSORUP
88 SfxInt16Item By SID_CURSORUP
91 ExecMethod = Execute ;
92 StateMethod = GetState ;
94 GroupId = GID_INTERN ;
97 SfxVoidItem GoLeft SID_CURSORLEFT
99 SfxInt16Item By SID_CURSORLEFT
102 ExecMethod = Execute ;
103 StateMethod = GetState ;
105 GroupId = GID_INTERN ;
109 SfxVoidItem GoRight SID_CURSORRIGHT
111 SfxInt16Item By SID_CURSORRIGHT
114 ExecMethod = Execute ;
115 StateMethod = GetState ;
117 GroupId = GID_INTERN ;
123 ExecMethod = Execute ;
124 StateMethod = GetState ;
126 GroupId = GID_INTERN ;
132 ExecMethod = Execute ;
133 StateMethod = GetState ;
135 GroupId = GID_INTERN ;
139 SfxVoidItem GoToStart SID_CURSORTOPOFFILE ()
141 ExecMethod = Execute ;
142 StateMethod = GetState ;
144 GroupId = GID_INTERN ;
148 SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE ()
150 ExecMethod = Execute ;
151 StateMethod = GetState ;
153 GroupId = GID_INTERN ;
156 SID_PREVIEW_ZOOMIN [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
157 SID_PREVIEW_ZOOMOUT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
158 SID_REPAINT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
159 SID_UNDO [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
160 SID_REDO [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
161 SID_REPEAT [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
162 SID_PRINTPREVIEW [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] // ole() api()
163 SID_PREVIEW_CLOSE [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
164 SID_CANCEL [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
168 // ===========================================================================
169 shell ScPreviewShell : SfxViewShell
171 import TablePrintPreview;