optsitem.hxx (67e470da) | optsitem.hxx (2da1a64c) |
---|---|
1/************************************************************** 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 --- 246 unchanged lines hidden (view full) --- 255 sal_Bool bQuickEdit : 1; // Misc/TextObject/QuickEditing 256 sal_Bool bMasterPageCache : 1; // Misc/BackgroundCache 257 sal_Bool bDragWithCopy : 1; // Misc/CopyWhileMoving 258 sal_Bool bPickThrough : 1; // Misc/TextObject/Selectable 259 sal_Bool bBigHandles : 1; // Misc/BigHandles 260 sal_Bool bDoubleClickTextEdit : 1; // Misc/DclickTextedit 261 sal_Bool bClickChangeRotation : 1; // Misc/RotateClick 262 sal_Bool bStartWithActualPage : 1; // Misc/Start/CurrentPage | 1/************************************************************** 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 --- 246 unchanged lines hidden (view full) --- 255 sal_Bool bQuickEdit : 1; // Misc/TextObject/QuickEditing 256 sal_Bool bMasterPageCache : 1; // Misc/BackgroundCache 257 sal_Bool bDragWithCopy : 1; // Misc/CopyWhileMoving 258 sal_Bool bPickThrough : 1; // Misc/TextObject/Selectable 259 sal_Bool bBigHandles : 1; // Misc/BigHandles 260 sal_Bool bDoubleClickTextEdit : 1; // Misc/DclickTextedit 261 sal_Bool bClickChangeRotation : 1; // Misc/RotateClick 262 sal_Bool bStartWithActualPage : 1; // Misc/Start/CurrentPage |
263 sal_Bool bStartWithPresenterScreen : 1; // Misc/Start/PresenterScreen |
|
263 sal_Bool bSolidDragging : 1; // Misc/ModifyWithAttributes 264 sal_Bool bSolidMarkHdl : 1; // /Misc/SimpleHandles 265 sal_Bool bSummationOfParagraphs : 1; // misc/SummationOfParagraphs 266 // #90356# 267 sal_Bool bShowUndoDeleteWarning : 1; // Misc/ShowUndoDeleteWarning 268 // #i75315# 269 sal_Bool bSlideshowRespectZOrder : 1; // Misc/SlideshowRespectZOrder 270 sal_Bool bShowComments : 1; // Misc/ShowComments --- 35 unchanged lines hidden (view full) --- 306 sal_Bool IsQuickEdit() const { Init(); return (sal_Bool) bQuickEdit; } 307 sal_Bool IsMasterPagePaintCaching() const { Init(); return (sal_Bool) bMasterPageCache; } 308 sal_Bool IsDragWithCopy() const { Init(); return (sal_Bool) bDragWithCopy; } 309 sal_Bool IsPickThrough() const { Init(); return (sal_Bool) bPickThrough; } 310 sal_Bool IsBigHandles() const { Init(); return (sal_Bool) bBigHandles; } 311 sal_Bool IsDoubleClickTextEdit() const { Init(); return (sal_Bool) bDoubleClickTextEdit; } 312 sal_Bool IsClickChangeRotation() const { Init(); return (sal_Bool) bClickChangeRotation; } 313 sal_Bool IsStartWithActualPage() const { Init(); return (sal_Bool) bStartWithActualPage; } | 264 sal_Bool bSolidDragging : 1; // Misc/ModifyWithAttributes 265 sal_Bool bSolidMarkHdl : 1; // /Misc/SimpleHandles 266 sal_Bool bSummationOfParagraphs : 1; // misc/SummationOfParagraphs 267 // #90356# 268 sal_Bool bShowUndoDeleteWarning : 1; // Misc/ShowUndoDeleteWarning 269 // #i75315# 270 sal_Bool bSlideshowRespectZOrder : 1; // Misc/SlideshowRespectZOrder 271 sal_Bool bShowComments : 1; // Misc/ShowComments --- 35 unchanged lines hidden (view full) --- 307 sal_Bool IsQuickEdit() const { Init(); return (sal_Bool) bQuickEdit; } 308 sal_Bool IsMasterPagePaintCaching() const { Init(); return (sal_Bool) bMasterPageCache; } 309 sal_Bool IsDragWithCopy() const { Init(); return (sal_Bool) bDragWithCopy; } 310 sal_Bool IsPickThrough() const { Init(); return (sal_Bool) bPickThrough; } 311 sal_Bool IsBigHandles() const { Init(); return (sal_Bool) bBigHandles; } 312 sal_Bool IsDoubleClickTextEdit() const { Init(); return (sal_Bool) bDoubleClickTextEdit; } 313 sal_Bool IsClickChangeRotation() const { Init(); return (sal_Bool) bClickChangeRotation; } 314 sal_Bool IsStartWithActualPage() const { Init(); return (sal_Bool) bStartWithActualPage; } |
315 sal_Bool IsStartWithPresenterScreen() const { Init(); return (sal_Bool) bStartWithPresenterScreen; } |
|
314 sal_Bool IsSolidDragging() const { Init(); return (sal_Bool) bSolidDragging; } 315 sal_Bool IsSolidMarkHdl() const { Init(); return (sal_Bool) bSolidMarkHdl; } 316 sal_Bool IsSummationOfParagraphs() const { Init(); return bSummationOfParagraphs != 0; }; 317 318 /** Return the currently selected printer independent layout mode. 319 @return 320 Returns 1 for printer independent layout enabled and 0 when it 321 is disabled. Other values are reserved for future use. --- 26 unchanged lines hidden (view full) --- 348 void SetQuickEdit( sal_Bool bOn = sal_True ) { if( bQuickEdit != bOn ) { OptionsChanged(); bQuickEdit = bOn; } } 349 void SetMasterPagePaintCaching( sal_Bool bOn = sal_True ) { if( bMasterPageCache != bOn ) { OptionsChanged(); bMasterPageCache = bOn; } } 350 void SetDragWithCopy( sal_Bool bOn = sal_True ) { if( bDragWithCopy != bOn ) { OptionsChanged(); bDragWithCopy = bOn; } } 351 void SetPickThrough( sal_Bool bOn = sal_True ) { if( bPickThrough != bOn ) { OptionsChanged(); bPickThrough = bOn; } } 352 void SetBigHandles( sal_Bool bOn = sal_True ) { if( bBigHandles != bOn ) { OptionsChanged(); bBigHandles = bOn; } } 353 void SetDoubleClickTextEdit( sal_Bool bOn = sal_True ) { if( bDoubleClickTextEdit != bOn ) { OptionsChanged(); bDoubleClickTextEdit = bOn; } } 354 void SetClickChangeRotation( sal_Bool bOn = sal_True ) { if( bClickChangeRotation != bOn ) { OptionsChanged(); bClickChangeRotation = bOn; } } 355 void SetStartWithActualPage( sal_Bool bOn = sal_True ) { if( bStartWithActualPage != bOn ) { OptionsChanged(); bStartWithActualPage = bOn; } } | 316 sal_Bool IsSolidDragging() const { Init(); return (sal_Bool) bSolidDragging; } 317 sal_Bool IsSolidMarkHdl() const { Init(); return (sal_Bool) bSolidMarkHdl; } 318 sal_Bool IsSummationOfParagraphs() const { Init(); return bSummationOfParagraphs != 0; }; 319 320 /** Return the currently selected printer independent layout mode. 321 @return 322 Returns 1 for printer independent layout enabled and 0 when it 323 is disabled. Other values are reserved for future use. --- 26 unchanged lines hidden (view full) --- 350 void SetQuickEdit( sal_Bool bOn = sal_True ) { if( bQuickEdit != bOn ) { OptionsChanged(); bQuickEdit = bOn; } } 351 void SetMasterPagePaintCaching( sal_Bool bOn = sal_True ) { if( bMasterPageCache != bOn ) { OptionsChanged(); bMasterPageCache = bOn; } } 352 void SetDragWithCopy( sal_Bool bOn = sal_True ) { if( bDragWithCopy != bOn ) { OptionsChanged(); bDragWithCopy = bOn; } } 353 void SetPickThrough( sal_Bool bOn = sal_True ) { if( bPickThrough != bOn ) { OptionsChanged(); bPickThrough = bOn; } } 354 void SetBigHandles( sal_Bool bOn = sal_True ) { if( bBigHandles != bOn ) { OptionsChanged(); bBigHandles = bOn; } } 355 void SetDoubleClickTextEdit( sal_Bool bOn = sal_True ) { if( bDoubleClickTextEdit != bOn ) { OptionsChanged(); bDoubleClickTextEdit = bOn; } } 356 void SetClickChangeRotation( sal_Bool bOn = sal_True ) { if( bClickChangeRotation != bOn ) { OptionsChanged(); bClickChangeRotation = bOn; } } 357 void SetStartWithActualPage( sal_Bool bOn = sal_True ) { if( bStartWithActualPage != bOn ) { OptionsChanged(); bStartWithActualPage = bOn; } } |
358 void SetStartWithPresenterScreen( sal_Bool bOn = sal_True ) { if( bStartWithPresenterScreen != bOn ) { OptionsChanged(); bStartWithPresenterScreen = bOn; } } |
|
356 void SetSummationOfParagraphs( sal_Bool bOn = sal_True ){ if ( bOn != bSummationOfParagraphs ) { OptionsChanged(); bSummationOfParagraphs = bOn; } } 357 /** Set the printer independent layout mode. 358 @param nOn 359 The default value is to switch printer independent layout on, 360 hence the parameters name. Use 0 for turning it off. Other 361 values are reserved for future use. 362 */ 363 void SetPrinterIndependentLayout (sal_uInt16 nOn = 1 ){ if ( nOn != mnPrinterIndependentLayout ) { OptionsChanged(); mnPrinterIndependentLayout = nOn; } } --- 321 unchanged lines hidden --- | 359 void SetSummationOfParagraphs( sal_Bool bOn = sal_True ){ if ( bOn != bSummationOfParagraphs ) { OptionsChanged(); bSummationOfParagraphs = bOn; } } 360 /** Set the printer independent layout mode. 361 @param nOn 362 The default value is to switch printer independent layout on, 363 hence the parameters name. Use 0 for turning it off. Other 364 values are reserved for future use. 365 */ 366 void SetPrinterIndependentLayout (sal_uInt16 nOn = 1 ){ if ( nOn != mnPrinterIndependentLayout ) { OptionsChanged(); mnPrinterIndependentLayout = nOn; } } --- 321 unchanged lines hidden --- |