Lines Matching refs:pItem
522 const SfxPoolItem *pItem = 0; in SetOptions_Impl() local
534 …( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BUTTON_OUTSTYLE3D), sal_True, &pItem) ) in SetOptions_Impl()
536 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
538 ( (const SfxBoolItem *)pItem)->GetValue() ? 0 : TOOLBOX_STYLE_FLAT; in SetOptions_Impl()
542 …if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BUTTON_BIGSIZE), sal_True, &pItem) ) in SetOptions_Impl()
544 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
545 sal_Bool bBigSize = ( (const SfxBoolItem*)pItem )->GetValue(); in SetOptions_Impl()
560 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_BACKUP), sal_True, &pItem) ) in SetOptions_Impl()
562 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
563 aSaveOptions.SetBackup( ( (const SfxBoolItem*)pItem )->GetValue() ); in SetOptions_Impl()
567 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ATTR_PRETTYPRINTING ), sal_True, &pItem ) ) in SetOptions_Impl()
569 DBG_ASSERT( pItem->ISA( SfxBoolItem ), "BoolItem expected" ); in SetOptions_Impl()
570 aSaveOptions.SetPrettyPrinting( static_cast< const SfxBoolItem*> ( pItem )->GetValue() ); in SetOptions_Impl()
574 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ATTR_WARNALIENFORMAT ), sal_True, &pItem ) ) in SetOptions_Impl()
576 DBG_ASSERT( pItem->ISA( SfxBoolItem ), "BoolItem expected" ); in SetOptions_Impl()
577 aSaveOptions.SetWarnAlienFormat( static_cast< const SfxBoolItem*> ( pItem )->GetValue() ); in SetOptions_Impl()
581 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVE), sal_True, &pItem)) in SetOptions_Impl()
583 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
584 aSaveOptions.SetAutoSave( ( (const SfxBoolItem*)pItem )->GetValue() ); in SetOptions_Impl()
588 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVEPROMPT), sal_True, &pItem)) in SetOptions_Impl()
590 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
591 aSaveOptions.SetAutoSavePrompt(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
595 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOSAVEMINUTE), sal_True, &pItem)) in SetOptions_Impl()
597 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
598 aSaveOptions.SetAutoSaveTime(((const SfxUInt16Item *)pItem)->GetValue()); in SetOptions_Impl()
602 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_DOCINFO), sal_True, &pItem)) in SetOptions_Impl()
604 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
605 aSaveOptions.SetDocInfoSave(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
609 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_WORKINGSET), sal_True, &pItem)) in SetOptions_Impl()
611 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
612 aSaveOptions.SetSaveWorkingSet(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
616 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_SAVEDOCVIEW), sal_True, &pItem)) in SetOptions_Impl()
618 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
619 aSaveOptions.SetSaveDocView(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
623 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_METRIC), sal_True, &pItem)) in SetOptions_Impl()
625 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
630 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELPBALLOONS), sal_True, &pItem)) in SetOptions_Impl()
632 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
633 aHelpOptions.SetExtendedHelp(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
637 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELPTIPS), sal_True, &pItem)) in SetOptions_Impl()
639 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
640 aHelpOptions.SetHelpTips(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
644 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_AUTOHELPAGENT ), sal_True, &pItem)) in SetOptions_Impl()
646 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
647 aHelpOptions.SetHelpAgentAutoStartMode( ((const SfxBoolItem *)pItem)->GetValue() ); in SetOptions_Impl()
651 … ( SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_HELPAGENT_TIMEOUT ), sal_True, &pItem ) ) in SetOptions_Impl()
653 DBG_ASSERT(pItem->ISA(SfxInt32Item), "Int32Item expected"); in SetOptions_Impl()
654 aHelpOptions.SetHelpAgentTimeoutPeriod( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
658 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_WELCOMESCREEN ), sal_True, &pItem)) in SetOptions_Impl()
660 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
661 aHelpOptions.SetWelcomeScreen( ((const SfxBoolItem *)pItem)->GetValue() ); in SetOptions_Impl()
665 …if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_WELCOMESCREEN_RESET ), sal_True, &pItem)) in SetOptions_Impl()
667 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
668 sal_Bool bReset = ((const SfxBoolItem *)pItem)->GetValue(); in SetOptions_Impl()
674 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_HELP_STYLESHEET ), sal_True, &pItem)) in SetOptions_Impl()
676 DBG_ASSERT(pItem->ISA(SfxStringItem), "StringItem expected"); in SetOptions_Impl()
677 aHelpOptions.SetHelpStyleSheet( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
681 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_SAVEREL_INET), sal_True, &pItem)) in SetOptions_Impl()
683 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
684 aSaveOptions.SetSaveRelINet(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
688 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_SAVEREL_FSYS), sal_True, &pItem)) in SetOptions_Impl()
690 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
691 aSaveOptions.SetSaveRelFSys(((const SfxBoolItem *)pItem)->GetValue()); in SetOptions_Impl()
695 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_UNDO_COUNT), sal_True, &pItem)) in SetOptions_Impl()
697 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "UInt16Item expected"); in SetOptions_Impl()
698 sal_uInt16 nUndoCount = ((const SfxUInt16Item*)pItem)->GetValue(); in SetOptions_Impl()
724 … if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_QUICKLAUNCHER), sal_True, &pItem)) in SetOptions_Impl()
726 DBG_ASSERT(pItem->ISA(SfxBoolItem), "BoolItem expected"); in SetOptions_Impl()
727 ShutdownIcon::SetAutostart( ( (const SfxBoolItem*)pItem )->GetValue() != sal_False ); in SetOptions_Impl()
731 if ( SFX_ITEM_SET == rSet.GetItemState(SID_BASIC_ENABLED, sal_True, &pItem)) in SetOptions_Impl()
733 DBG_ASSERT(pItem->ISA(SfxUInt16Item), "SfxInt16Item expected"); in SetOptions_Impl()
734 aSecurityOptions.SetBasicMode( (EBasicSecurityMode)( (const SfxUInt16Item*)pItem )->GetValue() ); in SetOptions_Impl()
738 if ( SFX_ITEM_SET == rSet.GetItemState(SID_INET_EXE_PLUGIN, sal_True, &pItem)) in SetOptions_Impl()
740 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
741 aSecurityOptions.SetExecutePlugins( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
745 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_INET_PROXY_TYPE), sal_True, &pItem)) in SetOptions_Impl()
747 DBG_ASSERT( pItem->ISA(SfxUInt16Item), "UInt16Item expected" ); in SetOptions_Impl()
748 … aInetOptions.SetProxyType((SvtInetOptions::ProxyType)( (const SfxUInt16Item*)pItem )->GetValue()); in SetOptions_Impl()
753 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_HTTP_PROXY_NAME ), sal_True, &pItem ) ) in SetOptions_Impl()
755 DBG_ASSERT( pItem->ISA(SfxStringItem), "StringItem expected" ); in SetOptions_Impl()
756 aInetOptions.SetProxyHttpName( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
760 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_HTTP_PROXY_PORT ), sal_True, &pItem ) ) in SetOptions_Impl()
762 DBG_ASSERT( pItem->ISA(SfxInt32Item), "Int32Item expected" ); in SetOptions_Impl()
763 aInetOptions.SetProxyHttpPort( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
767 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_FTP_PROXY_NAME ), sal_True, &pItem ) ) in SetOptions_Impl()
769 DBG_ASSERT( pItem->ISA(SfxStringItem), "StringItem expected" ); in SetOptions_Impl()
770 aInetOptions.SetProxyFtpName( ((const SfxStringItem *)pItem)->GetValue() ); in SetOptions_Impl()
774 … SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_INET_FTP_PROXY_PORT ), sal_True, &pItem ) ) in SetOptions_Impl()
776 DBG_ASSERT( pItem->ISA(SfxInt32Item), "Int32Item expected" ); in SetOptions_Impl()
777 aInetOptions.SetProxyFtpPort( ( (const SfxInt32Item*)pItem )->GetValue() ); in SetOptions_Impl()
781 if ( SFX_ITEM_SET == rSet.GetItemState(SID_INET_NOPROXY, sal_True, &pItem)) in SetOptions_Impl()
783 DBG_ASSERT(pItem->ISA(SfxStringItem), "StringItem expected"); in SetOptions_Impl()
784 aInetOptions.SetProxyNoProxy(((const SfxStringItem *)pItem)->GetValue()); in SetOptions_Impl()
790 if ( SFX_ITEM_SET == rSet.GetItemState(SID_SECURE_URL, sal_True, &pItem)) in SetOptions_Impl()
794 DBG_ASSERT(pItem->ISA(SfxStringListItem), "StringListItem expected"); in SetOptions_Impl()
795 const List *pList = ((SfxStringListItem*)pItem)->GetList(); in SetOptions_Impl()
805 if ( SFX_ITEM_SET == rSet.GetItemState(SID_MACRO_WARNING, sal_True, &pItem)) in SetOptions_Impl()
807 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
808 aSecurityOptions.SetWarningEnabled( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
810 if ( SFX_ITEM_SET == rSet.GetItemState(SID_MACRO_CONFIRMATION, sal_True, &pItem)) in SetOptions_Impl()
812 DBG_ASSERT(pItem->ISA(SfxBoolItem), "SfxBoolItem expected"); in SetOptions_Impl()
813 aSecurityOptions.SetConfirmationEnabled( ( (const SfxBoolItem *)pItem )->GetValue() ); in SetOptions_Impl()
817 …SFX_ITEM_SET == rSet.GetItemState( rPool.GetWhich( SID_ENABLE_METAFILEPRINT ), sal_True, &pItem ) ) in SetOptions_Impl()
834 const SfxPoolItem *pItem = 0; in SetOptions() local
840 if ( SFX_ITEM_SET == rSet.GetItemState(rPool.GetWhich(SID_ATTR_PATHNAME), sal_True, &pItem)) in SetOptions()
842 DBG_ASSERT(pItem->ISA(SfxAllEnumItem), "AllEnumItem expected"); in SetOptions()
843 const SfxAllEnumItem* pEnumItem = (const SfxAllEnumItem *)pItem; in SetOptions()