/trunk/main/svx/source/dialog/ |
H A D | srchctrl.cxx | 59 const SfxPoolItem* pState ) in StateChanged() argument 72 DBG_ASSERT( pState->ISA(SfxUInt16Item), "wrong item type" ); in StateChanged() 73 sal_uInt16 nFlags = (sal_uInt16)( (SfxUInt16Item*)pState )->GetValue(); in StateChanged() 78 DBG_ASSERT( pState->ISA(SvxSearchItem), "wrong item type" ); in StateChanged() 79 rSrchDlg.SetItem_Impl( (const SvxSearchItem*)pState ); in StateChanged()
|
H A D | rubydialog.cxx | 322 SfxPoolItem* pState = 0; in Activate() local 323 SfxItemState eState = pBindings->QueryState( SID_STYLE_DESIGNER, pState ); in Activate() 324 …sal_Bool bEnable = (eState < SFX_ITEM_AVAILABLE) || !pState || !((SfxBoolItem*)pState)->GetValue(); in Activate() 613 SfxPoolItem* pState = 0; in IMPL_LINK() local 614 SfxItemState eState = pBindings->QueryState( SID_STYLE_DESIGNER, pState ); in IMPL_LINK() 615 if(eState <= SFX_ITEM_SET || !pState || !((SfxBoolItem*)pState)->GetValue()) in IMPL_LINK()
|
/trunk/main/sc/source/ui/navipi/ |
H A D | scenwnd.cxx | 260 void ScScenarioWindow::NotifyState( const SfxPoolItem* pState ) in NotifyState() argument 262 if( pState ) in NotifyState() 266 if ( pState->ISA(SfxStringItem) ) in NotifyState() 268 String aNewEntry( ((const SfxStringItem*)pState)->GetValue() ); in NotifyState() 275 else if ( pState->ISA(SfxStringListItem) ) in NotifyState() 277 aLbScenario.UpdateEntries( ((SfxStringListItem*)pState)->GetList() ); in NotifyState()
|
/trunk/main/svx/source/sidebar/line/ |
H A D | LinePropertyPanel.cxx | 450 const SfxPoolItem* pState, in NotifyItemUpdate() argument 473 const XLineColorItem* pItem = dynamic_cast< const XLineColorItem* >(pState); in NotifyItemUpdate() 505 const XLineStyleItem* pItem = dynamic_cast< const XLineStyleItem* >(pState); in NotifyItemUpdate() 509 mpStyleItem.reset(pState ? (XLineStyleItem*)pItem->Clone() : 0); in NotifyItemUpdate() 514 const XLineDashItem* pItem = dynamic_cast< const XLineDashItem* >(pState); in NotifyItemUpdate() 518 mpDashItem.reset(pState ? (XLineDashItem*)pItem->Clone() : 0); in NotifyItemUpdate() 581 const XLineWidthItem* pItem = dynamic_cast< const XLineWidthItem* >(pState); in NotifyItemUpdate() 611 const XLineStartItem* pItem = dynamic_cast< const XLineStartItem* >(pState); in NotifyItemUpdate() 640 const XLineEndItem* pItem = dynamic_cast< const XLineEndItem* >(pState); in NotifyItemUpdate() 682 const XLineJointItem* pItem = dynamic_cast< const XLineJointItem* >(pState); in NotifyItemUpdate() [all …]
|
/trunk/main/vcl/os2/source/window/ |
H A D | salframe.cxx | 1232 pState->mnWidth,pState->mnHeight,pState->mnX,pState->mnY); in SetWindowState() 1254 if ( pState->mnMask & SAL_FRAMESTATE_MASK_X ) in SetWindowState() 1255 nX = (int)pState->mnX - nLeftDeco; in SetWindowState() 1260 if ( pState->mnMask & SAL_FRAMESTATE_MASK_Y ) in SetWindowState() 1261 nY = (int)pState->mnY - nTopDeco; in SetWindowState() 1265 if ( pState->mnMask & SAL_FRAMESTATE_MASK_WIDTH ) in SetWindowState() 1269 if ( pState->mnMask & SAL_FRAMESTATE_MASK_HEIGHT ) in SetWindowState() 1307 if ( pState->mnMask & SAL_FRAMESTATE_MASK_STATE ) in SetWindowState() 1323 if ( pState->mnMask & SAL_FRAMESTATE_MASK_STATE ) in SetWindowState() 1379 *pState = maState; in GetWindowState() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | gluectrl.cxx | 169 SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 177 if( pState ) in StateChanged() 180 if ( IsInvalidItem( pState ) ) in StateChanged() 186 sal_uInt16 nEscDir = ( (const SfxUInt16Item*) pState )->GetValue(); in StateChanged() 198 SfxToolBoxControl::StateChanged( nSId, eState, pState ); in StateChanged()
|
/trunk/main/svx/source/mnuctrls/ |
H A D | fntszctl.cxx | 86 sal_uInt16, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 93 if ( pState->ISA(SvxFontHeightItem) ) in StateChanged() 96 PTR_CAST( SvxFontHeightItem, pState ); in StateChanged() 116 else if ( pState->ISA(SvxFontItem) ) in StateChanged() 118 const SvxFontItem* pItem = PTR_CAST( SvxFontItem, pState ); in StateChanged()
|
H A D | clipboardctl.cxx | 125 …vxClipBoardControl::StateChanged( sal_uInt16 nSID, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 132 pClipboardFmtItem = pState->Clone(); in StateChanged() 142 bDisabled = (GetItemState(pState) == SFX_ITEM_DISABLED); in StateChanged() 143 GetToolBox().EnableItem( GetId(), (GetItemState(pState) != SFX_ITEM_DISABLED) ); in StateChanged()
|
/trunk/main/sw/source/ui/uiview/ |
H A D | viewstat.cxx | 180 const SfxPoolItem* pState = pShell->GetSlotState(SID_UNDO); in GetState() local 181 if(pState) in GetState() 182 rSet.Put(*pState); in GetState() 441 const SfxPoolItem* pState = 0; in GetState() local 443 GetViewFrame()->GetDispatcher()->QueryState( nAlias, pState ); in GetState() 444 if(pState) in GetState() 445 rSet.Put(*pState, nWhich); in GetState()
|
/trunk/main/sfx2/source/toolbox/ |
H A D | tbxitem.cxx | 401 const SfxPoolItem* pState ) in GetItemState() argument 432 return !pState in GetItemState() 434 : IsInvalidItem(pState) in GetItemState() 436 : pState->ISA(SfxVoidItem) && !pState->Which() in GetItemState() 961 const SfxPoolItem* pState in StateChanged() argument 980 if ( pState->ISA(SfxBoolItem) ) in StateChanged() 983 if ( ((const SfxBoolItem*)pState)->GetValue() ) in StateChanged() 987 else if ( pState->ISA(SfxEnumItemInterface) && in StateChanged() 988 ((SfxEnumItemInterface *)pState)->HasBoolValue()) in StateChanged() 991 if ( ((const SfxEnumItemInterface *)pState)->GetBoolValue() ) in StateChanged() [all …]
|
/trunk/main/svx/source/sidebar/area/ |
H A D | AreaPropertyPanel.cxx | 841 const SfxPoolItem* pState, in NotifyItemUpdate() argument 860 const SfxUInt16Item* pItem = dynamic_cast< const SfxUInt16Item* >(pState); in NotifyItemUpdate() 882 …onst XFillFloatTransparenceItem* pItem = dynamic_cast< const XFillFloatTransparenceItem* >(pState); in NotifyItemUpdate() 923 const XFillStyleItem* pItem = dynamic_cast< const XFillStyleItem* >(pState); in NotifyItemUpdate() 958 mpColorItem.reset(pState ? (XFillColorItem*)pState->Clone() : 0); in NotifyItemUpdate() 991 mpFillGradientItem.reset(pState ? (XFillGradientItem*)pState->Clone() : 0); in NotifyItemUpdate() 1020 mpHatchItem.reset(pState ? (XFillHatchItem*)pState->Clone() : 0); in NotifyItemUpdate() 1049 mpBitmapItem.reset(pState ? (XFillBitmapItem*)pState->Clone() : 0); in NotifyItemUpdate()
|
/trunk/main/sw/source/ui/ribbar/ |
H A D | workctrl.cxx | 125 const SfxPoolItem* pState ) in StateChanged() argument 128 GetToolBox().EnableItem( nId, (GetItemState(pState) != SFX_ITEM_DISABLED) ); in StateChanged() 132 const SfxImageItem* pItem = PTR_CAST( SfxImageItem, pState ); in StateChanged() 331 const SfxPoolItem* pState ) in StateChanged() argument 333 GetToolBox().EnableItem( GetId(), (GetItemState(pState) != SFX_ITEM_DISABLED) ); in StateChanged() 336 GetToolBox().CheckItem( GetId(), ((SfxBoolItem*)pState)->GetValue() ); in StateChanged() 926 const SfxPoolItem* pState ) in StateChanged() argument 929 GetToolBox().EnableItem( nId, (GetItemState(pState) != SFX_ITEM_DISABLED) ); in StateChanged() 933 String sZoom(String::CreateFromInt32(((const SfxUInt16Item*)pState)->GetValue())); in StateChanged()
|
/trunk/main/sfx2/source/sidebar/ |
H A D | ControllerItem.cxx | 141 const SfxPoolItem* pState) in StateChanged() argument 143 mrItemUpdateReceiver.NotifyItemUpdate(nSID, eState, pState, IsEnabled(eState)); in StateChanged() 178 SfxPoolItem* pState = NULL; in RequestUpdate() local 179 const SfxItemState eState (GetBindings().QueryState(GetId(), pState)); in RequestUpdate() 180 mrItemUpdateReceiver.NotifyItemUpdate(GetId(), eState, pState, IsEnabled(eState)); in RequestUpdate()
|
/trunk/main/svx/source/stbctrls/ |
H A D | zoomctrl.cxx | 123 const SfxPoolItem* pState ) in StateChanged() argument 130 else if ( pState->ISA( SfxUInt16Item) ) in StateChanged() 132 const SfxUInt16Item* pItem = (const SfxUInt16Item*)pState; in StateChanged() 138 if ( pState->ISA(SvxZoomItem) ) in StateChanged() 140 nValueSet = ((const SvxZoomItem*)pState)->GetValueSet(); in StateChanged()
|
H A D | zoomsliderctrl.cxx | 199 …mSliderControl::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 201 if ( (SFX_ITEM_AVAILABLE != eState) || pState->ISA( SfxVoidItem ) ) in StateChanged() 208 …OSL_ENSURE( pState->ISA( SvxZoomSliderItem ), "invalid item type: should be a SvxZoomSliderItem" ); in StateChanged() 209 mpImpl->mnCurrentZoom = static_cast<const SvxZoomSliderItem*>( pState )->GetValue(); in StateChanged() 210 mpImpl->mnMinZoom = static_cast<const SvxZoomSliderItem*>( pState )->GetMinZoom(); in StateChanged() 211 mpImpl->mnMaxZoom = static_cast<const SvxZoomSliderItem*>( pState )->GetMaxZoom(); in StateChanged() 225 …e < sal_Int32 > rSnappingPoints = static_cast<const SvxZoomSliderItem*>( pState )->GetSnappingPoin… in StateChanged()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | viewlayoutctrl.cxx | 92 …wLayoutControl::StateChanged( sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 94 if ( SFX_ITEM_AVAILABLE != eState || pState->ISA( SfxVoidItem ) ) in StateChanged() 98 DBG_ASSERT( pState->ISA( SvxViewLayoutItem ), "invalid item type" ); in StateChanged() 99 const sal_uInt16 nColumns = static_cast<const SvxViewLayoutItem*>( pState )->GetValue(); in StateChanged() 100 const bool bBookMode = static_cast<const SvxViewLayoutItem*>( pState )->IsBookMode(); in StateChanged()
|
H A D | zoomctrl.cxx | 57 const SfxPoolItem* pState ) in StateChanged() argument 59 if(SFX_ITEM_AVAILABLE == eState && pState->ISA( SfxStringItem )) in StateChanged() 61 sPreviewZoom = ((const SfxStringItem*)pState)->GetValue(); in StateChanged() 67 SvxZoomStatusBarControl::StateChanged(nSID, eState, pState); in StateChanged()
|
H A D | bookctrl.cxx | 103 sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 105 if( eState != SFX_ITEM_AVAILABLE || pState->ISA( SfxVoidItem ) ) in StateChanged() 107 else if ( pState->ISA( SfxStringItem ) ) in StateChanged() 109 sPageNumber = ((SfxStringItem*)pState)->GetValue(); in StateChanged()
|
H A D | tmplctrl.cxx | 101 sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 103 if( eState != SFX_ITEM_AVAILABLE || pState->ISA( SfxVoidItem ) ) in StateChanged() 105 else if ( pState->ISA( SfxStringItem ) ) in StateChanged() 107 sTemplate = ((SfxStringItem*)pState)->GetValue(); in StateChanged()
|
/trunk/main/sfx2/source/dialog/ |
H A D | tplcitem.cxx | 169 SfxBoolItem* pState = 0; in IMPL_STATIC_LINK() local 174 … pState = new SfxBoolItem(SID_STYLE_WATERCAN, pThis->nWaterCanState ? sal_True : sal_False); in IMPL_STATIC_LINK() 177 pThis->rTemplateDlg.SetWaterCanState(pState); in IMPL_STATIC_LINK() 178 delete pState; in IMPL_STATIC_LINK()
|
/trunk/main/sd/source/ui/app/ |
H A D | tmplctrl.cxx | 92 sal_uInt16 /*nSID*/, SfxItemState eState, const SfxPoolItem* pState ) in StateChanged() argument 94 if( eState != SFX_ITEM_AVAILABLE || pState->ISA( SfxVoidItem ) ) in StateChanged() 96 else if ( pState->ISA( SfxStringItem ) ) in StateChanged() 98 msTemplate = ((SfxStringItem*)pState)->GetValue(); in StateChanged()
|
/trunk/main/basctl/source/basicide/ |
H A D | tbxctl.cxx | 138 const SfxPoolItem* pState ) in StateChanged() argument 140 if( pState ) in StateChanged() 142 SfxAllEnumItem* pItem = PTR_CAST(SfxAllEnumItem, pState); in StateChanged() 189 SfxToolBoxControl::StateChanged( nSID, eState,pState ); in StateChanged()
|
/trunk/main/xmloff/source/style/ |
H A D | PageMasterExportPropMapper.cxx | 58 inline void lcl_RemoveState( XMLPropertyState* pState ) in lcl_RemoveState() argument 60 pState->mnIndex = -1; in lcl_RemoveState() 61 pState->maValue.clear(); in lcl_RemoveState() 64 void lcl_RemoveStateIfZero16( XMLPropertyState* pState ) in lcl_RemoveStateIfZero16() argument 67 if( (pState->maValue >>= nValue) && !nValue ) in lcl_RemoveStateIfZero16() 68 lcl_RemoveState( pState ); in lcl_RemoveStateIfZero16()
|
/trunk/main/sfx2/source/doc/ |
H A D | objserv.cxx | 1312 …sal_Int16* pState = bScriptingContent ? &pImp->nScriptingSignatureState : &pImp->nDocumentSignatur… in ImplGetSignatureState() local 1314 if ( *pState == SIGNATURESTATE_UNKNOWN ) in ImplGetSignatureState() 1316 *pState = SIGNATURESTATE_NOSIGNATURES; in ImplGetSignatureState() 1319 *pState = ImplCheckSignaturesInformation( aInfos ); in ImplGetSignatureState() 1322 … if ( *pState == SIGNATURESTATE_SIGNATURES_OK || *pState == SIGNATURESTATE_SIGNATURES_NOTVALIDATED in ImplGetSignatureState() 1323 || *pState == SIGNATURESTATE_SIGNATURES_PARTIAL_OK) in ImplGetSignatureState() 1326 *pState = SIGNATURESTATE_SIGNATURES_INVALID; in ImplGetSignatureState() 1329 return (sal_uInt16)*pState; in ImplGetSignatureState()
|
/trunk/main/winaccessibility/source/service/ |
H A D | AccObjectManagerAgent.cxx | 212 void AccObjectManagerAgent::DecreaseState( XAccessible* pXAcc,unsigned short pState ) in DecreaseState() argument 216 pWinManager->DecreaseState( pXAcc, pState ); in DecreaseState() 226 void AccObjectManagerAgent::IncreaseState( XAccessible* pXAcc,unsigned short pState ) in IncreaseState() argument 230 pWinManager->IncreaseState( pXAcc, pState ); in IncreaseState()
|