xref: /aoo42x/main/sc/sdi/prevwsh.sdi (revision e07c0dce)
1*e07c0dceSAndrew Rist/**************************************************************
2cdf0e10cSrcweir *
3*e07c0dceSAndrew Rist * Licensed to the Apache Software Foundation (ASF) under one
4*e07c0dceSAndrew Rist * or more contributor license agreements.  See the NOTICE file
5*e07c0dceSAndrew Rist * distributed with this work for additional information
6*e07c0dceSAndrew Rist * regarding copyright ownership.  The ASF licenses this file
7*e07c0dceSAndrew Rist * to you under the Apache License, Version 2.0 (the
8*e07c0dceSAndrew Rist * "License"); you may not use this file except in compliance
9*e07c0dceSAndrew Rist * with the License.  You may obtain a copy of the License at
10*e07c0dceSAndrew Rist *
11*e07c0dceSAndrew Rist *   http://www.apache.org/licenses/LICENSE-2.0
12*e07c0dceSAndrew Rist *
13*e07c0dceSAndrew Rist * Unless required by applicable law or agreed to in writing,
14*e07c0dceSAndrew Rist * software distributed under the License is distributed on an
15*e07c0dceSAndrew Rist * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16*e07c0dceSAndrew Rist * KIND, either express or implied.  See the License for the
17*e07c0dceSAndrew Rist * specific language governing permissions and limitations
18*e07c0dceSAndrew Rist * under the License.
19*e07c0dceSAndrew Rist *
20*e07c0dceSAndrew Rist *************************************************************/
21*e07c0dceSAndrew Rist
22*e07c0dceSAndrew Rist
23cdf0e10cSrcweirinterface TablePrintPreview
24cdf0e10cSrcweir{
25cdf0e10cSrcweir	//	von Basic aus nicht erreichbar, darum alles mit Export = FALSE
26cdf0e10cSrcweir
27cdf0e10cSrcweir	SID_FORMATPAGE			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
28cdf0e10cSrcweir	SID_STATUS_PAGESTYLE	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
29cdf0e10cSrcweir	SID_HFEDIT				[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
30cdf0e10cSrcweir	SID_ATTR_ZOOM			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
31cdf0e10cSrcweir	FID_SCALE				[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
32cdf0e10cSrcweir	SID_STATUS_DOCPOS		[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
33cdf0e10cSrcweir	SID_PREVIEW_NEXT		[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
34cdf0e10cSrcweir	SID_PREVIEW_PREVIOUS	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
35cdf0e10cSrcweir	SID_PREVIEW_FIRST		[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
36cdf0e10cSrcweir	SID_PREVIEW_LAST		[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
37cdf0e10cSrcweir	SID_PREVIEW_MARGIN      [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
38cdf0e10cSrcweir	SID_PREVIEW_SCALINGFACTOR   [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
39cdf0e10cSrcweir	SID_ATTR_ZOOMSLIDER     [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
40cdf0e10cSrcweir
41cdf0e10cSrcweir	SfxVoidItem GoUpBlock SID_CURSORPAGEUP
42cdf0e10cSrcweir	(
43cdf0e10cSrcweir		SfxInt16Item By SID_CURSORPAGEUP
44cdf0e10cSrcweir	)
45cdf0e10cSrcweir	[
46cdf0e10cSrcweir		ExecMethod = Execute ;
47cdf0e10cSrcweir		StateMethod = GetState ;
48cdf0e10cSrcweir		Export = FALSE;
49cdf0e10cSrcweir		GroupId = GID_INTERN ;
50cdf0e10cSrcweir		Cachable ;
51cdf0e10cSrcweir	]
52cdf0e10cSrcweir
53cdf0e10cSrcweir	SfxVoidItem GoDownBlock SID_CURSORPAGEDOWN
54cdf0e10cSrcweir	(
55cdf0e10cSrcweir		SfxInt16Item By SID_CURSORPAGEDOWN
56cdf0e10cSrcweir	)
57cdf0e10cSrcweir	[
58cdf0e10cSrcweir		ExecMethod = Execute ;
59cdf0e10cSrcweir		StateMethod = GetState ;
60cdf0e10cSrcweir		Export = FALSE;
61cdf0e10cSrcweir		GroupId = GID_INTERN ;
62cdf0e10cSrcweir		Cachable ;
63cdf0e10cSrcweir	]
64cdf0e10cSrcweir
65cdf0e10cSrcweir	SID_CURSORHOME	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
66cdf0e10cSrcweir	SID_CURSOREND	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
67cdf0e10cSrcweir
68cdf0e10cSrcweir	SfxVoidItem GoDown SID_CURSORDOWN
69cdf0e10cSrcweir	(
70cdf0e10cSrcweir		SfxInt16Item By SID_CURSORDOWN
71cdf0e10cSrcweir	)
72cdf0e10cSrcweir	[
73cdf0e10cSrcweir		ExecMethod = Execute ;
74cdf0e10cSrcweir		StateMethod = GetState ;
75cdf0e10cSrcweir		Export = FALSE;
76cdf0e10cSrcweir		GroupId = GID_INTERN ;
77cdf0e10cSrcweir		Cachable ;
78cdf0e10cSrcweir	]
79cdf0e10cSrcweir	SfxVoidItem GoUp SID_CURSORUP
80cdf0e10cSrcweir	(
81cdf0e10cSrcweir		SfxInt16Item By SID_CURSORUP
82cdf0e10cSrcweir	)
83cdf0e10cSrcweir	[
84cdf0e10cSrcweir		ExecMethod = Execute ;
85cdf0e10cSrcweir		StateMethod = GetState ;
86cdf0e10cSrcweir		Export = FALSE;
87cdf0e10cSrcweir		GroupId = GID_INTERN ;
88cdf0e10cSrcweir		Cachable ;
89cdf0e10cSrcweir	]
90cdf0e10cSrcweir	SfxVoidItem GoLeft SID_CURSORLEFT
91cdf0e10cSrcweir	(
92cdf0e10cSrcweir		SfxInt16Item By SID_CURSORLEFT
93cdf0e10cSrcweir	)
94cdf0e10cSrcweir	[
95cdf0e10cSrcweir		ExecMethod = Execute ;
96cdf0e10cSrcweir		StateMethod = GetState ;
97cdf0e10cSrcweir		Export = FALSE;
98cdf0e10cSrcweir		GroupId = GID_INTERN ;
99cdf0e10cSrcweir		Cachable ;
100cdf0e10cSrcweir	]
101cdf0e10cSrcweir
102cdf0e10cSrcweir	SfxVoidItem GoRight SID_CURSORRIGHT
103cdf0e10cSrcweir	(
104cdf0e10cSrcweir		SfxInt16Item By SID_CURSORRIGHT
105cdf0e10cSrcweir	)
106cdf0e10cSrcweir	[
107cdf0e10cSrcweir		ExecMethod = Execute ;
108cdf0e10cSrcweir		StateMethod = GetState ;
109cdf0e10cSrcweir		Export = FALSE;
110cdf0e10cSrcweir		GroupId = GID_INTERN ;
111cdf0e10cSrcweir		Cachable ;
112cdf0e10cSrcweir	]
113cdf0e10cSrcweir
114cdf0e10cSrcweir	SID_PREV_TABLE
115cdf0e10cSrcweir	[
116cdf0e10cSrcweir		ExecMethod = Execute ;
117cdf0e10cSrcweir		StateMethod = GetState ;
118cdf0e10cSrcweir		Export = FALSE;
119cdf0e10cSrcweir		GroupId = GID_INTERN ;
120cdf0e10cSrcweir		Cachable ;
121cdf0e10cSrcweir	]
122cdf0e10cSrcweir
123cdf0e10cSrcweir	SID_NEXT_TABLE
124cdf0e10cSrcweir	[
125cdf0e10cSrcweir		ExecMethod = Execute ;
126cdf0e10cSrcweir		StateMethod = GetState ;
127cdf0e10cSrcweir		Export = FALSE;
128cdf0e10cSrcweir		GroupId = GID_INTERN ;
129cdf0e10cSrcweir		Cachable ;
130cdf0e10cSrcweir	]
131cdf0e10cSrcweir
132cdf0e10cSrcweir	SfxVoidItem GoToStart SID_CURSORTOPOFFILE ()
133cdf0e10cSrcweir	[
134cdf0e10cSrcweir		ExecMethod = Execute ;
135cdf0e10cSrcweir		StateMethod = GetState ;
136cdf0e10cSrcweir		Export = FALSE;
137cdf0e10cSrcweir		GroupId = GID_INTERN ;
138cdf0e10cSrcweir		Cachable ;
139cdf0e10cSrcweir	]
140cdf0e10cSrcweir
141cdf0e10cSrcweir	SfxVoidItem GoToEndOfData SID_CURSORENDOFFILE ()
142cdf0e10cSrcweir	[
143cdf0e10cSrcweir		ExecMethod = Execute ;
144cdf0e10cSrcweir		StateMethod = GetState ;
145cdf0e10cSrcweir		Export = FALSE;
146cdf0e10cSrcweir		GroupId = GID_INTERN ;
147cdf0e10cSrcweir		Cachable ;
148cdf0e10cSrcweir	]
149cdf0e10cSrcweir	SID_PREVIEW_ZOOMIN	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
150cdf0e10cSrcweir	SID_PREVIEW_ZOOMOUT	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
151cdf0e10cSrcweir	SID_REPAINT			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
152cdf0e10cSrcweir	SID_UNDO			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
153cdf0e10cSrcweir	SID_REDO			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
154cdf0e10cSrcweir	SID_REPEAT			[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
155cdf0e10cSrcweir	SID_PRINTPREVIEW	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ] // ole() api()
156cdf0e10cSrcweir	SID_PREVIEW_CLOSE	[ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
157cdf0e10cSrcweir    SID_CANCEL          [ ExecMethod = Execute; StateMethod = GetState; Export = FALSE; ]
158cdf0e10cSrcweir}
159cdf0e10cSrcweir
160cdf0e10cSrcweir
161cdf0e10cSrcweir // ===========================================================================
162cdf0e10cSrcweirshell ScPreviewShell
163cdf0e10cSrcweir{
164cdf0e10cSrcweir	import TablePrintPreview;
165cdf0e10cSrcweir}
166