Lines Matching refs:mpMetric
478 MetricField* mpMetric; member in sd::CharHeightPropertyBox
486 mpMetric = new MetricField( pParent, WB_TABSTOP|WB_IGNORETAB| WB_NOBORDER); in CharHeightPropertyBox()
487 mpMetric->SetUnit( FUNIT_PERCENT ); in CharHeightPropertyBox()
488 mpMetric->SetMin( 0 ); in CharHeightPropertyBox()
489 mpMetric->SetMax( 1000 ); in CharHeightPropertyBox()
492 mpControl = new DropdownMenuBox( pParent, mpMetric, mpMenu ); in CharHeightPropertyBox()
520 mpMetric->SetValue( nValue ); in IMPL_LINK()
521 mpMetric->Modify(); in IMPL_LINK()
529 if( mpMetric ) in setValue()
533 mpMetric->SetValue( (long)(fValue * 100.0) ); in setValue()
541 return makeAny( (double)((double)mpMetric->GetValue() / 100.0) ); in getValue()
572 MetricField* mpMetric; member in sd::TransparencyPropertyBox
582 mpMetric = new MetricField( pParent ,WB_TABSTOP|WB_IGNORETAB| WB_NOBORDER); in TransparencyPropertyBox()
583 mpMetric->SetUnit( FUNIT_PERCENT ); in TransparencyPropertyBox()
584 mpMetric->SetMin( 0 ); in TransparencyPropertyBox()
585 mpMetric->SetMax( 100 ); in TransparencyPropertyBox()
595 mpControl = new DropdownMenuBox( pParent, mpMetric, mpMenu ); in TransparencyPropertyBox()
617 sal_Int64 nValue = mpMetric->GetValue(); in updateMenu()
627 maModifyHdl.Call(mpMetric); in IMPL_LINK()
636 if( pPb->GetCurItemId() != mpMetric->GetValue() ) in IMPL_LINK()
638 mpMetric->SetValue( pPb->GetCurItemId() ); in IMPL_LINK()
639 mpMetric->Modify(); in IMPL_LINK()
649 if( mpMetric ) in setValue()
654 mpMetric->SetValue( nValue ); in setValue()
663 return makeAny( (double)((double)mpMetric->GetValue()) / 100.0 ); in getValue()
694 MetricField* mpMetric; member in sd::RotationPropertyBox
704 mpMetric = new MetricField( pParent ,WB_TABSTOP|WB_IGNORETAB| WB_NOBORDER); in RotationPropertyBox()
705 mpMetric->SetUnit( FUNIT_CUSTOM ); in RotationPropertyBox()
706 mpMetric->SetCustomUnitText( OUString( sal_Unicode(0xb0)) ); // degree sign in RotationPropertyBox()
707 mpMetric->SetMin( -10000 ); in RotationPropertyBox()
708 mpMetric->SetMax( 10000 ); in RotationPropertyBox()
711 mpControl = new DropdownMenuBox( pParent, mpMetric, mpMenu ); in RotationPropertyBox()
733 sal_Int64 nValue = mpMetric->GetValue(); in updateMenu()
751 maModifyHdl.Call(mpMetric); in IMPL_LINK()
758 sal_Int64 nValue = mpMetric->GetValue(); in IMPL_LINK()
777 if( nValue != mpMetric->GetValue() ) in IMPL_LINK()
779 mpMetric->SetValue( nValue ); in IMPL_LINK()
780 mpMetric->Modify(); in IMPL_LINK()
790 if( mpMetric ) in setValue()
795 mpMetric->SetValue( nValue ); in setValue()
804 return makeAny( (double)((double)mpMetric->GetValue()) ); in getValue()
835 MetricField* mpMetric; member in sd::ScalePropertyBox
846 mpMetric = new MetricField( pParent ,WB_TABSTOP|WB_IGNORETAB| WB_NOBORDER); in ScalePropertyBox()
847 mpMetric->SetUnit( FUNIT_PERCENT ); in ScalePropertyBox()
848 mpMetric->SetMin( 0 ); in ScalePropertyBox()
849 mpMetric->SetMax( 10000 ); in ScalePropertyBox()
852 mpControl = new DropdownMenuBox( pParent, mpMetric, mpMenu ); in ScalePropertyBox()
874 sal_Int64 nValue = mpMetric->GetValue(); in updateMenu()
891 maModifyHdl.Call(mpMetric); in IMPL_LINK()
898 sal_Int64 nValue = mpMetric->GetValue(); in IMPL_LINK()
920 if( nValue != mpMetric->GetValue() ) in IMPL_LINK()
922 mpMetric->SetValue( nValue ); in IMPL_LINK()
928 mpMetric->Modify(); in IMPL_LINK()
939 if( mpMetric ) in setValue()
962 mpMetric->SetValue( nValue ); in setValue()
971 double fValue1 = (double)((double)mpMetric->GetValue() / 100.0); in getValue()