Lines Matching refs:pItem

532     const SfxPoolItem *pItem = 0;  in SetOptions_Impl()  local
544 …( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BUTTON_OUTSTYLE3D), sal_True, &pItem) ) in SetOptions_Impl()
546 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
548 ( (const SfxBoolItem *)pItem)->GetValue() ? 0 : TOOLBOX_STYLE_FLAT; in SetOptions_Impl()
552 …if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BUTTON_BIGSIZE), sal_True, &pItem) ) in SetOptions_Impl()
554 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
555 sal_Bool bBigSize = ( (const SfxBoolItem*)pItem )->GetValue(); in SetOptions_Impl()
570 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BACKUP), sal_True, &pItem) ) in SetOptions_Impl()
572 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
573 aSaveOptions.SetBackup( ( (const SfxBoolItem*)pItem )->GetValue() ); in SetOptions_Impl()
577 …( SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ATTR_ODFENCRYPTION ), sal_True, &pItem ) ) in SetOptions_Impl()
579 DBG_ASSERT( pItem->ISA( SfxBoolItem ), "BoolItem expected" ); in SetOptions_Impl()
580 sal_Bool bItemValue = static_cast< const SfxBoolItem*>(pItem)->GetValue(); in SetOptions_Impl()
587 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ATTR_PRETTYPRINTING ), sal_True, &pItem ) ) in SetOptions_Impl()
589 DBG_ASSERT( pItem->ISA( SfxBoolItem ), "BoolItem expected" ); in SetOptions_Impl()
590 aSaveOptions.SetPrettyPrinting( static_cast< const SfxBoolItem*> ( pItem )->GetValue() ); in SetOptions_Impl()
594 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ATTR_WARNALIENFORMAT ), sal_True, &pItem ) ) in SetOptions_Impl()
596 DBG_ASSERT( pItem->ISA( SfxBoolItem ), "BoolItem expected" ); in SetOptions_Impl()
597 aSaveOptions.SetWarnAlienFormat( static_cast< const SfxBoolItem*> ( pItem )->GetValue() ); in SetOptions_Impl()
601 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVE), sal_True, &pItem)) in SetOptions_Impl()
603 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
604 aSaveOptions.SetAutoSave( ( (const SfxBoolItem*)pItem )->GetValue() ); in SetOptions_Impl()
608 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVEPROMPT), sal_True, &pItem)) in SetOptions_Impl()
610 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
611 aSaveOptions.SetAutoSavePrompt(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
615 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVEMINUTE), sal_True, &pItem)) in SetOptions_Impl()
617 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
618 aSaveOptions.SetAutoSaveTime(((const SfxUInt16Item *)pItem)->GetValue()); in SetOptions_Impl()
622 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_DOCINFO), sal_True, &pItem)) in SetOptions_Impl()
624 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
625 aSaveOptions.SetDocInfoSave(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
629 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_WORKINGSET), sal_True, &pItem)) in SetOptions_Impl()
631 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
632 aSaveOptions.SetSaveWorkingSet(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
636 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_SAVEDOCVIEW), sal_True, &pItem)) in SetOptions_Impl()
638 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
639 aSaveOptions.SetSaveDocView(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
643 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_METRIC), sal_True, &pItem)) in SetOptions_Impl()
645 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
650 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELPBALLOONS), sal_True, &pItem)) in SetOptions_Impl()
652 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
653 aHelpOptions.SetExtendedHelp(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
657 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELPTIPS), sal_True, &pItem)) in SetOptions_Impl()
659 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
660 aHelpOptions.SetHelpTips(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
664 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOHELPAGENT ), sal_True, &pItem)) in SetOptions_Impl()
666 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
667 aHelpOptions.SetHelpAgentAutoStartMode( ((const SfxBoolItem *)pItem)->GetValue() ); in SetOptions_Impl()
671 … ( SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_HELPAGENT_TIMEOUT ), sal_True, &pItem ) ) in SetOptions_Impl()
673 DBG_ASSERT(pItem->ISA(SfxInt32Item), "Int32Item expected"); in SetOptions_Impl()
674 aHelpOptions.SetHelpAgentTimeoutPeriod( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
678 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_WELCOMESCREEN ), sal_True, &pItem)) in SetOptions_Impl()
680 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
681 aHelpOptions.SetWelcomeScreen( ((const SfxBoolItem *)pItem)->GetValue() ); in SetOptions_Impl()
685 …if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_WELCOMESCREEN_RESET ), sal_True, &pItem)) in SetOptions_Impl()
687 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
688 sal_Bool bReset = ((const SfxBoolItem *)pItem)->GetValue(); in SetOptions_Impl()
694 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELP_STYLESHEET ), sal_True, &pItem)) in SetOptions_Impl()
696 DBG_ASSERT(pItem->ISA(SfxStringItem), "StringItem expected"); in SetOptions_Impl()
697 aHelpOptions.SetHelpStyleSheet( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
701 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_SAVEREL_INET), sal_True, &pItem)) in SetOptions_Impl()
703 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
704 aSaveOptions.SetSaveRelINet(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
708 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_SAVEREL_FSYS), sal_True, &pItem)) in SetOptions_Impl()
710 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
711 aSaveOptions.SetSaveRelFSys(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
715 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_UNDO_COUNT), sal_True, &pItem)) in SetOptions_Impl()
717 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
718 sal_uInt16 nUndoCount = ((const SfxUInt16Item*)pItem)->GetValue(); in SetOptions_Impl()
744 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_QUICKLAUNCHER), sal_True, &pItem)) in SetOptions_Impl()
746 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
747 ShutdownIcon::SetAutostart( ( (const SfxBoolItem*)pItem )->GetValue() != sal_False ); in SetOptions_Impl()
751 if ( SFX_ITEM_SET == rSet.GetItemState(SID_BASIC_ENABLED, sal_True, &pItem)) in SetOptions_Impl()
753 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "SfxInt16Item expected"); in SetOptions_Impl()
754 aSecurityOptions.SetBasicMode( (EBasicSecurityMode)( (const SfxUInt16Item*)pItem )->GetValue() ); in SetOptions_Impl()
758 if ( SFX_ITEM_SET == rSet.GetItemState(SID_INET_EXE_PLUGIN, sal_True, &pItem)) in SetOptions_Impl()
760 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
761 aSecurityOptions.SetExecutePlugins( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
765 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_INET_PROXY_TYPE), sal_True, &pItem)) in SetOptions_Impl()
767 DBG_ASSERT( pItem->ISA(SfxUInt16Item), "UInt16Item expected" ); in SetOptions_Impl()
768 … aInetOptions.SetProxyType((SvtInetOptions::ProxyType)( (const SfxUInt16Item*)pItem )->GetValue()); in SetOptions_Impl()
773 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_HTTP_PROXY_NAME ), sal_True, &pItem ) ) in SetOptions_Impl()
775 DBG_ASSERT( pItem->ISA(SfxStringItem), "StringItem expected" ); in SetOptions_Impl()
776 aInetOptions.SetProxyHttpName( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
780 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_HTTP_PROXY_PORT ), sal_True, &pItem ) ) in SetOptions_Impl()
782 DBG_ASSERT( pItem->ISA(SfxInt32Item), "Int32Item expected" ); in SetOptions_Impl()
783 aInetOptions.SetProxyHttpPort( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
787 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_FTP_PROXY_NAME ), sal_True, &pItem ) ) in SetOptions_Impl()
789 DBG_ASSERT( pItem->ISA(SfxStringItem), "StringItem expected" ); in SetOptions_Impl()
790 aInetOptions.SetProxyFtpName( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
794 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_FTP_PROXY_PORT ), sal_True, &pItem ) ) in SetOptions_Impl()
796 DBG_ASSERT( pItem->ISA(SfxInt32Item), "Int32Item expected" ); in SetOptions_Impl()
797 aInetOptions.SetProxyFtpPort( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
801 if ( SFX_ITEM_SET == rSet.GetItemState(SID_INET_NOPROXY, sal_True, &pItem)) in SetOptions_Impl()
803 DBG_ASSERT(pItem->ISA(SfxStringItem), "StringItem expected"); in SetOptions_Impl()
804 aInetOptions.SetProxyNoProxy(((const SfxStringItem *)pItem)->GetValue()); in SetOptions_Impl()
810 if ( SFX_ITEM_SET == rSet.GetItemState(SID_SECURE_URL, sal_True, &pItem)) in SetOptions_Impl()
814 DBG_ASSERT(pItem->ISA(SfxStringListItem), "StringListItem expected"); in SetOptions_Impl()
815 const List *pList = ((SfxStringListItem*)pItem)->GetList(); in SetOptions_Impl()
825 if ( SFX_ITEM_SET == rSet.GetItemState(SID_MACRO_WARNING, sal_True, &pItem)) in SetOptions_Impl()
827 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
828 aSecurityOptions.SetWarningEnabled( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
830 if ( SFX_ITEM_SET == rSet.GetItemState(SID_MACRO_CONFIRMATION, sal_True, &pItem)) in SetOptions_Impl()
832 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
833 aSecurityOptions.SetConfirmationEnabled( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
837 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ENABLE_METAFILEPRINT ), sal_True, &pItem ) ) in SetOptions_Impl()
854 const SfxPoolItem *pItem = 0; in SetOptions() local
860 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_PATHNAME), sal_True, &pItem)) in SetOptions()
862 DBG_ASSERT(pItem->ISA(SfxAllEnumItem), "AllEnumItem expected"); in SetOptions()
863 const SfxAllEnumItem* pEnumItem = (const SfxAllEnumItem *)pItem; in SetOptions()