svdata.hxx (4d7c9de0) svdata.hxx (dd7ece3a)
1/**************************************************************
1/**************************************************************
2 *
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance
9 * with the License. You may obtain a copy of the License at
10 *
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
12 *
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
13 * Unless required by applicable law or agreed to in writing,
14 * software distributed under the License is distributed on an
15 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
16 * KIND, either express or implied. See the License for the
17 * specific language governing permissions and limitations
18 * under the License.
19 *
19 *
20 *************************************************************/
21
22
23
24#ifndef _SV_SVDATA_HXX
25#define _SV_SVDATA_HXX
26
27#include "rtl/ref.hxx"

--- 141 unchanged lines hidden (view full) ---

169 sal_Bool mbSettingsInit; // sal_True: Settings are initialized
170 sal_Bool mbDialogCancel; // sal_True: Alle Dialog::Execute()-Aufrufe werden mit return sal_False sofort beendet
171 sal_Bool mbNoYield; // Application::Yield will not wait for events if the queue is empty
172 // essentially that makes it the same as Application::Reschedule
173 long mnDefaultLayoutBorder; // default value in pixel for layout distances used
174 // in window arrangers
175
176 bool mbConversionMode; // true allows further optimizations during document conversion in different code areas.
20 *************************************************************/
21
22
23
24#ifndef _SV_SVDATA_HXX
25#define _SV_SVDATA_HXX
26
27#include "rtl/ref.hxx"

--- 141 unchanged lines hidden (view full) ---

169 sal_Bool mbSettingsInit; // sal_True: Settings are initialized
170 sal_Bool mbDialogCancel; // sal_True: Alle Dialog::Execute()-Aufrufe werden mit return sal_False sofort beendet
171 sal_Bool mbNoYield; // Application::Yield will not wait for events if the queue is empty
172 // essentially that makes it the same as Application::Reschedule
173 long mnDefaultLayoutBorder; // default value in pixel for layout distances used
174 // in window arrangers
175
176 bool mbConversionMode; // true allows further optimizations during document conversion in different code areas.
177
177
178 /** Controls whether showing any IME status window is toggled on or off.
179
180 Only meaningful if showing IME status windows can be toggled on and off
181 externally (see Application::CanToggleImeStatusWindow).
182 */
183 ImeStatusWindowMode meShowImeStatusWindow;
184
185 long m_bEnableAccessInterface;
186 DECL_STATIC_LINK( ImplSVAppData, ImplQuitMsg, void* );
178 /** Controls whether showing any IME status window is toggled on or off.
179
180 Only meaningful if showing IME status windows can be toggled on and off
181 externally (see Application::CanToggleImeStatusWindow).
182 */
183 ImeStatusWindowMode meShowImeStatusWindow;
184
185 long m_bEnableAccessInterface;
186 DECL_STATIC_LINK( ImplSVAppData, ImplQuitMsg, void* );
187
187
188};
189
190
191// -----------------
192// - ImplSVGDIData -
193// -----------------
194
195struct ImplSVGDIData

--- 6 unchanged lines hidden (view full) ---

202 OutputDevice* mpLastPrnGraphics; // Last OutputDevice with a InfoPrinter Graphics
203 VirtualDevice* mpFirstVirDev; // First VirtualDevice
204 VirtualDevice* mpLastVirDev; // Last VirtualDevice
205 Printer* mpFirstPrinter; // First Printer
206 Printer* mpLastPrinter; // Last Printer
207 ImplPrnQueueList* mpPrinterQueueList; // List of all printer queue
208 ImplDevFontList* mpScreenFontList; // Screen-Font-List
209 ImplFontCache* mpScreenFontCache; // Screen-Font-Cache
188};
189
190
191// -----------------
192// - ImplSVGDIData -
193// -----------------
194
195struct ImplSVGDIData

--- 6 unchanged lines hidden (view full) ---

202 OutputDevice* mpLastPrnGraphics; // Last OutputDevice with a InfoPrinter Graphics
203 VirtualDevice* mpFirstVirDev; // First VirtualDevice
204 VirtualDevice* mpLastVirDev; // Last VirtualDevice
205 Printer* mpFirstPrinter; // First Printer
206 Printer* mpLastPrinter; // Last Printer
207 ImplPrnQueueList* mpPrinterQueueList; // List of all printer queue
208 ImplDevFontList* mpScreenFontList; // Screen-Font-List
209 ImplFontCache* mpScreenFontCache; // Screen-Font-Cache
210 ImplDirectFontSubstitution* mpDirectFontSubst;// Font-Substitutons defined in Tools->Options->Fonts
210 ImplDirectFontSubstitution* mpDirectFontSubst;// Font-Substitutions defined in Tools - Options - OpenOffice - Fonts
211 GraphicConverter* mpGrfConverter; // Converter for graphics
212 long mnRealAppFontX; // AppFont X-Numenator for 40/tel Width
213 long mnAppFontX; // AppFont X-Numenator for 40/tel Width + DialogScaleX
214 long mnAppFontY; // AppFont Y-Numenator for 80/tel Height
215 sal_Bool mbFontSubChanged; // sal_True: FontSubstitution wurde zwischen Begin/End geaendert
216 utl::DefaultFontConfiguration* mpDefaultFontConfiguration;
217 utl::FontSubstConfiguration* mpFontSubstConfiguration;
218 bool mbNativeFontConfig; // true: do not override UI font

--- 21 unchanged lines hidden (view full) ---

240 Window* mpTrackWin; // window, that is in tracking mode
241 AutoTimer* mpTrackTimer; // tracking timer
242 ImageList* mpMsgBoxImgList; // ImageList for MessageBox
243 ImageList* mpMsgBoxHCImgList; // ImageList for MessageBox (high contrast mode)
244 Window* mpAutoScrollWin; // window, that is in AutoScrollMode mode
245 sal_uInt16 mnTrackFlags; // tracking flags
246 sal_uInt16 mnAutoScrollFlags; // auto scroll flags
247 sal_Bool mbNoDeactivate; // sal_True: keine Deactivate durchfuehren
211 GraphicConverter* mpGrfConverter; // Converter for graphics
212 long mnRealAppFontX; // AppFont X-Numenator for 40/tel Width
213 long mnAppFontX; // AppFont X-Numenator for 40/tel Width + DialogScaleX
214 long mnAppFontY; // AppFont Y-Numenator for 80/tel Height
215 sal_Bool mbFontSubChanged; // sal_True: FontSubstitution wurde zwischen Begin/End geaendert
216 utl::DefaultFontConfiguration* mpDefaultFontConfiguration;
217 utl::FontSubstConfiguration* mpFontSubstConfiguration;
218 bool mbNativeFontConfig; // true: do not override UI font

--- 21 unchanged lines hidden (view full) ---

240 Window* mpTrackWin; // window, that is in tracking mode
241 AutoTimer* mpTrackTimer; // tracking timer
242 ImageList* mpMsgBoxImgList; // ImageList for MessageBox
243 ImageList* mpMsgBoxHCImgList; // ImageList for MessageBox (high contrast mode)
244 Window* mpAutoScrollWin; // window, that is in AutoScrollMode mode
245 sal_uInt16 mnTrackFlags; // tracking flags
246 sal_uInt16 mnAutoScrollFlags; // auto scroll flags
247 sal_Bool mbNoDeactivate; // sal_True: keine Deactivate durchfuehren
248 sal_Bool mbNoSaveFocus; // sal_True: menues must not save/restore focus
248 sal_Bool mbNoSaveFocus; // sal_True: menus must not save/restore focus
249 sal_Bool mbNoSaveBackground; // sal_True: save background is unnecessary or even less performant
250};
251
252
253// ------------------
254// - ImplSVCtrlData -
255// ------------------
256
257typedef std::vector< std::pair< String, FieldUnit > > FieldUnitStringList;
258
259struct ImplSVCtrlData
260{
261 ImageList* mpCheckImgList; // ImageList for CheckBoxes
262 ImageList* mpRadioImgList; // ImageList for RadioButtons
263 ImageList* mpPinImgList; // ImageList for PIN
249 sal_Bool mbNoSaveBackground; // sal_True: save background is unnecessary or even less performant
250};
251
252
253// ------------------
254// - ImplSVCtrlData -
255// ------------------
256
257typedef std::vector< std::pair< String, FieldUnit > > FieldUnitStringList;
258
259struct ImplSVCtrlData
260{
261 ImageList* mpCheckImgList; // ImageList for CheckBoxes
262 ImageList* mpRadioImgList; // ImageList for RadioButtons
263 ImageList* mpPinImgList; // ImageList for PIN
264 ImageList* mpSplitHPinImgList; // ImageList for Horizontale SplitWindows
265 ImageList* mpSplitVPinImgList; // ImageList for Vertikale SplitWindows (PIN's)
266 ImageList* mpSplitHArwImgList; // ImageList for Horizontale SplitWindows (Arrows)
267 ImageList* mpSplitVArwImgList; // ImageList for Vertikale SplitWindows (Arrows)
264 ImageList* mpSplitHPinImgList; // ImageList for Horizontal SplitWindows
265 ImageList* mpSplitVPinImgList; // ImageList for Vertical SplitWindows (PIN's)
266 ImageList* mpSplitHArwImgList; // ImageList for Horizontal SplitWindows (Arrows)
267 ImageList* mpSplitVArwImgList; // ImageList for Vertical SplitWindows (Arrows)
268 Image* mpDisclosurePlus;
269 Image* mpDisclosurePlusHC;
270 Image* mpDisclosureMinus;
271 Image* mpDisclosureMinusHC;
272 ImplTBDragMgr* mpTBDragMgr; // DragMgr for ToolBox
273 sal_uInt16 mnCheckStyle; // CheckBox-Style for ImageList-Update
274 sal_uInt16 mnRadioStyle; // Radio-Style for ImageList-Update
275 sal_uLong mnLastCheckFColor; // Letzte FaceColor fuer CheckImage

--- 134 unchanged lines hidden (view full) ---

410// -----------------------------------------------------------------------
411
412// -----------------
413// - ImplSVEmpyStr -
414// -----------------
415
416// Empty-SV-String
417
268 Image* mpDisclosurePlus;
269 Image* mpDisclosurePlusHC;
270 Image* mpDisclosureMinus;
271 Image* mpDisclosureMinusHC;
272 ImplTBDragMgr* mpTBDragMgr; // DragMgr for ToolBox
273 sal_uInt16 mnCheckStyle; // CheckBox-Style for ImageList-Update
274 sal_uInt16 mnRadioStyle; // Radio-Style for ImageList-Update
275 sal_uLong mnLastCheckFColor; // Letzte FaceColor fuer CheckImage

--- 134 unchanged lines hidden (view full) ---

410// -----------------------------------------------------------------------
411
412// -----------------
413// - ImplSVEmpyStr -
414// -----------------
415
416// Empty-SV-String
417
418inline const String& ImplGetSVEmptyStr()
418inline const String& ImplGetSVEmptyStr()
419 { return String::EmptyString(); }
419 { return String::EmptyString(); }
420inline const ByteString& ImplGetSVEmptyByteStr()
420inline const ByteString& ImplGetSVEmptyByteStr()
421 { return ByteString::EmptyString(); }
422
423// -----------------------------------------------------------------------
424
425// ----------------------
426// - struct ImplDelData -
427// ----------------------
428// ImplDelData is used as a "dog tag" by a window when it

--- 41 unchanged lines hidden ---
421 { return ByteString::EmptyString(); }
422
423// -----------------------------------------------------------------------
424
425// ----------------------
426// - struct ImplDelData -
427// ----------------------
428// ImplDelData is used as a "dog tag" by a window when it

--- 41 unchanged lines hidden ---