Lines Matching refs:pValues
133 const Any* pValues = aValues.getConstArray(); in Init() local
136 pThis->mbInit = pThis->ReadData( pValues ); in Init()
276 sal_Bool SdOptionsLayout::ReadData( const Any* pValues ) in ReadData() argument
278 if( pValues[0].hasValue() ) SetRulerVisible( *(sal_Bool*) pValues[ 0 ].getValue() ); in ReadData()
279 if( pValues[1].hasValue() ) SetHandlesBezier( *(sal_Bool*) pValues[ 1 ].getValue() ); in ReadData()
280 if( pValues[2].hasValue() ) SetMoveOutline( *(sal_Bool*) pValues[ 2 ].getValue() ); in ReadData()
281 if( pValues[3].hasValue() ) SetDragStripes( *(sal_Bool*) pValues[ 3 ].getValue() ); in ReadData()
282 if( pValues[4].hasValue() ) SetHelplines( *(sal_Bool*) pValues[ 4 ].getValue() ); in ReadData()
283 if( pValues[5].hasValue() ) SetMetric( (sal_uInt16) *(sal_Int32*) pValues[ 5 ].getValue() ); in ReadData()
284 if( pValues[6].hasValue() ) SetDefTab( (sal_uInt16) *(sal_Int32*) pValues[ 6 ].getValue() ); in ReadData()
291 sal_Bool SdOptionsLayout::WriteData( Any* pValues ) const in WriteData()
293 pValues[ 0 ] <<= IsRulerVisible(); in WriteData()
294 pValues[ 1 ] <<= IsHandlesBezier(); in WriteData()
295 pValues[ 2 ] <<= IsMoveOutline(); in WriteData()
296 pValues[ 3 ] <<= IsDragStripes(); in WriteData()
297 pValues[ 4 ] <<= IsHelplines(); in WriteData()
298 pValues[ 5 ] <<= (sal_Int32) GetMetric(); in WriteData()
299 pValues[ 6 ] <<= (sal_Int32) GetDefTab(); in WriteData()
423 sal_Bool SdOptionsContents::WriteData( Any* pValues ) const in WriteData()
426 pValues[ 0 ] <<= (sal_Bool)false; in WriteData()
427 pValues[ 1 ] <<= (sal_Bool)false; in WriteData()
428 pValues[ 2 ] <<= (sal_Bool)false; in WriteData()
429 pValues[ 3 ] <<= (sal_Bool)false; in WriteData()
603 sal_Bool SdOptionsMisc::ReadData( const Any* pValues ) in ReadData() argument
605 if( pValues[0].hasValue() ) SetMarkedHitMovesAlways( *(sal_Bool*) pValues[ 0 ].getValue() ); in ReadData()
606 if( pValues[1].hasValue() ) SetCrookNoContortion( *(sal_Bool*) pValues[ 1 ].getValue() ); in ReadData()
607 if( pValues[2].hasValue() ) SetQuickEdit( *(sal_Bool*)pValues[ 2 ].getValue() ); in ReadData()
608 if( pValues[3].hasValue() ) SetMasterPagePaintCaching( *(sal_Bool*) pValues[ 3 ].getValue() ); in ReadData()
609 if( pValues[4].hasValue() ) SetDragWithCopy( *(sal_Bool*) pValues[ 4 ].getValue() ); in ReadData()
610 if( pValues[5].hasValue() ) SetPickThrough( *(sal_Bool*) pValues[ 5 ].getValue() ); in ReadData()
611 if( pValues[6].hasValue() ) SetBigHandles( *(sal_Bool*) pValues[ 6 ].getValue() ); in ReadData()
612 if( pValues[7].hasValue() ) SetDoubleClickTextEdit( *(sal_Bool*) pValues[ 7 ].getValue() ); in ReadData()
613 if( pValues[8].hasValue() ) SetClickChangeRotation( *(sal_Bool*) pValues[ 8 ].getValue() ); in ReadData()
615 if( pValues[10].hasValue() ) SetSolidDragging( *(sal_Bool*) pValues[ 10 ].getValue() ); in ReadData()
616 if( pValues[11].hasValue() ) SetSolidMarkHdl( *(sal_Bool*) pValues[ 11 ].getValue() ); in ReadData()
618 if( pValues[12].hasValue() ) SetDefaultObjectSizeWidth( *(sal_uInt32*) pValues[ 12 ].getValue() ); in ReadData()
619 if( pValues[13].hasValue() ) SetDefaultObjectSizeHeight( *(sal_uInt32*) pValues[ 13 ].getValue() ); in ReadData()
620 …if( pValues[14].hasValue() ) SetPrinterIndependentLayout( *(sal_uInt16*) pValues[ 14 ].getValue() … in ReadData()
622 if( pValues[15].hasValue() ) in ReadData()
623 SetShowComments( *(sal_Bool*) pValues[ 15 ].getValue() ); in ReadData()
628 if( pValues[16].hasValue() ) in ReadData()
629 SetStartWithTemplate( *(sal_Bool*) pValues[ 16 ].getValue() ); in ReadData()
630 if( pValues[17].hasValue() ) in ReadData()
631 SetStartWithActualPage( *(sal_Bool*) pValues[ 17 ].getValue() ); in ReadData()
632 if( pValues[18].hasValue() ) in ReadData()
633 SetSummationOfParagraphs( *(sal_Bool*) pValues[ 18 ].getValue() ); in ReadData()
635 if( pValues[19].hasValue() ) in ReadData()
636 SetShowUndoDeleteWarning( *(sal_Bool*) pValues[ 19 ].getValue() ); in ReadData()
638 if( pValues[20].hasValue() ) in ReadData()
639 SetSlideshowRespectZOrder(*(sal_Bool*) pValues[ 20 ].getValue()); in ReadData()
641 if( pValues[21].hasValue() ) in ReadData()
642 SetPreviewNewEffects(*(sal_Bool*) pValues[ 21 ].getValue()); in ReadData()
644 if( pValues[22].hasValue() ) in ReadData()
645 SetPreviewChangedEffects(*(sal_Bool*) pValues[ 22 ].getValue()); in ReadData()
647 if( pValues[23].hasValue() ) in ReadData()
648 SetPreviewTransitions(*(sal_Bool*) pValues[ 23 ].getValue()); in ReadData()
650 if( pValues[24].hasValue() ) in ReadData()
651 SetDisplay(*(sal_Int32*) pValues[ 24 ].getValue()); in ReadData()
653 if( pValues[25].hasValue() ) in ReadData()
654 SetPresentationPenColor( getSafeValue< sal_Int32 >( pValues[ 25 ] ) ); in ReadData()
656 if( pValues[26].hasValue() ) in ReadData()
657 SetPresentationPenWidth( getSafeValue< double >( pValues[ 26 ] ) ); in ReadData()
659 if( pValues[27].hasValue() ) in ReadData()
660 SetStartWithPresenterScreen( *(sal_Bool*) pValues[ 27 ].getValue() ); in ReadData()
668 sal_Bool SdOptionsMisc::WriteData( Any* pValues ) const in WriteData()
670 pValues[ 0 ] <<= IsMarkedHitMovesAlways(); in WriteData()
671 pValues[ 1 ] <<= IsCrookNoContortion(); in WriteData()
672 pValues[ 2 ] <<= IsQuickEdit(); in WriteData()
673 pValues[ 3 ] <<= IsMasterPagePaintCaching(); in WriteData()
674 pValues[ 4 ] <<= IsDragWithCopy(); in WriteData()
675 pValues[ 5 ] <<= IsPickThrough(); in WriteData()
676 pValues[ 6 ] <<= IsBigHandles(); in WriteData()
677 pValues[ 7 ] <<= IsDoubleClickTextEdit(); in WriteData()
678 pValues[ 8 ] <<= IsClickChangeRotation(); in WriteData()
680 pValues[ 9 ] <<= (double)0;// GetPreviewQuality(); in WriteData()
681 pValues[ 10 ] <<= IsSolidDragging(); in WriteData()
682 pValues[ 11 ] <<= IsSolidMarkHdl(); in WriteData()
684 pValues[ 12 ] <<= GetDefaultObjectSizeWidth(); in WriteData()
685 pValues[ 13 ] <<= GetDefaultObjectSizeHeight(); in WriteData()
686 pValues[ 14 ] <<= GetPrinterIndependentLayout(); in WriteData()
687 pValues[ 15 ] <<= (sal_Bool)IsShowComments(); in WriteData()
692 pValues[ 16 ] <<= IsStartWithTemplate(); in WriteData()
693 pValues[ 17 ] <<= IsStartWithActualPage(); in WriteData()
694 pValues[ 18 ] <<= IsSummationOfParagraphs(); in WriteData()
696 pValues[ 19 ] <<= IsShowUndoDeleteWarning(); in WriteData()
697 pValues[ 20 ] <<= IsSlideshowRespectZOrder(); in WriteData()
699 pValues[ 21 ] <<= IsPreviewNewEffects(); in WriteData()
700 pValues[ 22 ] <<= IsPreviewChangedEffects(); in WriteData()
701 pValues[ 23 ] <<= IsPreviewTransitions(); in WriteData()
703 pValues[ 24 ] <<= GetDisplay(); in WriteData()
705 pValues[ 25 ] <<= GetPresentationPenColor(); in WriteData()
706 pValues[ 26 ] <<= GetPresentationPenWidth(); in WriteData()
708 pValues[ 27 ] <<= IsStartWithPresenterScreen(); in WriteData()
912 sal_Bool SdOptionsSnap::ReadData( const Any* pValues ) in ReadData() argument
914 if( pValues[0].hasValue() ) SetSnapHelplines( *(sal_Bool*) pValues[ 0 ].getValue() ); in ReadData()
915 if( pValues[1].hasValue() ) SetSnapBorder( *(sal_Bool*)pValues[ 1 ].getValue() ); in ReadData()
916 if( pValues[2].hasValue() ) SetSnapFrame( *(sal_Bool*) pValues[ 2 ].getValue() ); in ReadData()
917 if( pValues[3].hasValue() ) SetSnapPoints( *(sal_Bool*) pValues[ 3 ].getValue() ); in ReadData()
918 if( pValues[4].hasValue() ) SetOrtho( *(sal_Bool*) pValues[ 4 ].getValue() ); in ReadData()
919 if( pValues[5].hasValue() ) SetBigOrtho( *(sal_Bool*) pValues[ 5 ].getValue() ); in ReadData()
920 if( pValues[6].hasValue() ) SetRotate( *(sal_Bool*) pValues[ 6 ].getValue() ); in ReadData()
921 if( pValues[7].hasValue() ) SetSnapArea( (sal_Int16) *(sal_Int32*) pValues[ 7 ].getValue() ); in ReadData()
922 if( pValues[8].hasValue() ) SetAngle( (sal_Int16) *(sal_Int32*) pValues[ 8 ].getValue() ); in ReadData()
923 …if( pValues[9].hasValue() ) SetEliminatePolyPointLimitAngle( (sal_Int16) *(sal_Int32*) pValues[ 9 … in ReadData()
930 sal_Bool SdOptionsSnap::WriteData( Any* pValues ) const in WriteData()
932 pValues[ 0 ] <<= IsSnapHelplines(); in WriteData()
933 pValues[ 1 ] <<= IsSnapBorder(); in WriteData()
934 pValues[ 2 ] <<= IsSnapFrame(); in WriteData()
935 pValues[ 3 ] <<= IsSnapPoints(); in WriteData()
936 pValues[ 4 ] <<= IsOrtho(); in WriteData()
937 pValues[ 5 ] <<= IsBigOrtho(); in WriteData()
938 pValues[ 6 ] <<= IsRotate(); in WriteData()
939 pValues[ 7 ] <<= (sal_Int32) GetSnapArea(); in WriteData()
940 pValues[ 8 ] <<= (sal_Int32) GetAngle(); in WriteData()
941 pValues[ 9 ] <<= (sal_Int32) GetEliminatePolyPointLimitAngle(); in WriteData()
1070 sal_Bool SdOptionsZoom::ReadData( const Any* pValues ) in ReadData() argument
1074 if( pValues[0].hasValue() ) x = ( *(sal_Int32*) pValues[ 0 ].getValue() ); in ReadData()
1075 if( pValues[1].hasValue() ) y = ( *(sal_Int32*) pValues[ 1 ].getValue() ); in ReadData()
1084 sal_Bool SdOptionsZoom::WriteData( Any* pValues ) const in WriteData()
1090 pValues[ 0 ] <<= (sal_Int32) x; in WriteData()
1091 pValues[ 1 ] <<= (sal_Int32) y; in WriteData()
1194 sal_Bool SdOptionsGrid::ReadData( const Any* pValues ) in ReadData() argument
1196 if( pValues[0].hasValue() ) SetFldDrawX( *(sal_Int32*) pValues[ 0 ].getValue() ); in ReadData()
1197 if( pValues[1].hasValue() ) SetFldDrawY( *(sal_Int32*) pValues[ 1 ].getValue() ); in ReadData()
1199 if( pValues[2].hasValue() ) in ReadData()
1201 const sal_uInt32 nDivX = FRound( *(double*) pValues[ 2 ].getValue() ); in ReadData()
1205 if( pValues[3].hasValue() ) in ReadData()
1207 const sal_uInt32 nDivY = FRound( *(double*) pValues[ 3 ].getValue() ); in ReadData()
1211 if( pValues[4].hasValue() ) SetFldSnapX( *(sal_Int32*) pValues[ 4 ].getValue() ); in ReadData()
1212 if( pValues[5].hasValue() ) SetFldSnapY( *(sal_Int32*) pValues[ 5 ].getValue() ); in ReadData()
1213 if( pValues[6].hasValue() ) SetUseGridSnap( *(sal_Bool*) pValues[ 6 ].getValue() ); in ReadData()
1214 if( pValues[7].hasValue() ) SetSynchronize( *(sal_Bool*) pValues[ 7 ].getValue() ); in ReadData()
1215 if( pValues[8].hasValue() ) SetGridVisible( *(sal_Bool*) pValues[ 8 ].getValue() ); in ReadData()
1216 if( pValues[9].hasValue() ) SetEqualGrid( *(sal_Bool*) pValues[ 9 ].getValue() ); in ReadData()
1223 sal_Bool SdOptionsGrid::WriteData( Any* pValues ) const in WriteData()
1225 pValues[ 0 ] <<= (sal_Int32) GetFldDrawX(); in WriteData()
1226 pValues[ 1 ] <<= (sal_Int32) GetFldDrawY(); in WriteData()
1227 …pValues[ 2 ] <<= ( GetFldDivisionX() ? ( (double) GetFldDrawX() / GetFldDivisionX() - 1.0 ) : (dou… in WriteData()
1228 …pValues[ 3 ] <<= ( GetFldDivisionY() ? ( (double) GetFldDrawY() / GetFldDivisionY() - 1.0 ) : (dou… in WriteData()
1229 pValues[ 4 ] <<= (sal_Int32) GetFldSnapX(); in WriteData()
1230 pValues[ 5 ] <<= (sal_Int32) GetFldSnapY(); in WriteData()
1231 pValues[ 6 ] <<= IsUseGridSnap(); in WriteData()
1232 pValues[ 7 ] <<= IsSynchronize(); in WriteData()
1233 pValues[ 8 ] <<= IsGridVisible(); in WriteData()
1234 pValues[ 9 ] <<= IsEqualGrid(); in WriteData()
1413 sal_Bool SdOptionsPrint::ReadData( const Any* pValues ) in ReadData() argument
1415 if( pValues[0].hasValue() ) SetDate( *(sal_Bool*) pValues[ 0 ].getValue() ); in ReadData()
1416 if( pValues[1].hasValue() ) SetTime( *(sal_Bool*) pValues[ 1 ].getValue() ); in ReadData()
1417 if( pValues[2].hasValue() ) SetPagename( *(sal_Bool*) pValues[ 2 ].getValue() ); in ReadData()
1418 if( pValues[3].hasValue() ) SetHiddenPages( *(sal_Bool*) pValues[ 3 ].getValue() ); in ReadData()
1419 if( pValues[4].hasValue() ) SetPagesize( *(sal_Bool*) pValues[ 4 ].getValue() ); in ReadData()
1420 if( pValues[5].hasValue() ) SetPagetile( *(sal_Bool*) pValues[ 5 ].getValue() ); in ReadData()
1421 if( pValues[6].hasValue() ) SetBooklet( *(sal_Bool*) pValues[ 6 ].getValue() ); in ReadData()
1422 if( pValues[7].hasValue() ) SetFrontPage( *(sal_Bool*) pValues[ 7 ].getValue() ); in ReadData()
1423 if( pValues[8].hasValue() ) SetBackPage( *(sal_Bool*) pValues[ 8 ].getValue() ); in ReadData()
1424 if( pValues[9].hasValue() ) SetPaperbin( *(sal_Bool*) pValues[ 9 ].getValue() ); in ReadData()
1425 …if( pValues[10].hasValue() ) SetOutputQuality( (sal_uInt16) *(sal_Int32*) pValues[ 10 ].getValue()… in ReadData()
1426 if( pValues[11].hasValue() ) SetDraw( *(sal_Bool*) pValues[ 11 ].getValue() ); in ReadData()
1431 if( pValues[12].hasValue() ) SetNotes( *(sal_Bool*) pValues[ 12 ].getValue() ); in ReadData()
1432 if( pValues[13].hasValue() ) SetHandout( *(sal_Bool*) pValues[ 13 ].getValue() ); in ReadData()
1433 if( pValues[14].hasValue() ) SetOutline( *(sal_Bool*) pValues[ 14 ].getValue() ); in ReadData()
1434 if( pValues[15].hasValue() ) SetHandoutHorizontal( *(sal_Bool*) pValues[15].getValue() ); in ReadData()
1435 if( pValues[16].hasValue() ) SetHandoutPages( (sal_uInt16)*(sal_Int32*) pValues[16].getValue() ); in ReadData()
1443 sal_Bool SdOptionsPrint::WriteData( Any* pValues ) const in WriteData()
1445 pValues[ 0 ] <<= IsDate(); in WriteData()
1446 pValues[ 1 ] <<= IsTime(); in WriteData()
1447 pValues[ 2 ] <<= IsPagename(); in WriteData()
1448 pValues[ 3 ] <<= IsHiddenPages(); in WriteData()
1449 pValues[ 4 ] <<= IsPagesize(); in WriteData()
1450 pValues[ 5 ] <<= IsPagetile(); in WriteData()
1451 pValues[ 6 ] <<= IsBooklet(); in WriteData()
1452 pValues[ 7 ] <<= IsFrontPage(); in WriteData()
1453 pValues[ 8 ] <<= IsBackPage(); in WriteData()
1454 pValues[ 9 ] <<= IsPaperbin(); in WriteData()
1455 pValues[ 10 ] <<= (sal_Int32) GetOutputQuality(); in WriteData()
1456 pValues[ 11 ] <<= IsDraw(); in WriteData()
1461 pValues[ 12 ] <<= IsNotes(); in WriteData()
1462 pValues[ 13 ] <<= IsHandout(); in WriteData()
1463 pValues[ 14 ] <<= IsOutline(); in WriteData()
1464 pValues[ 15 ] <<= IsHandoutHorizontal(); in WriteData()
1465 pValues[ 16 ] <<= GetHandoutPages(); in WriteData()