Home
last modified time | relevance | path

Searched refs:pState (Results 26 – 50 of 202) sorted by relevance

123456789

/aoo41x/main/sfx2/source/menu/
H A Dmnuitem.cxx246 const SfxPoolItem* pState in StateChanged() argument
288 if ( pState->ISA(SfxBoolItem) ) in StateChanged()
293 bCheck = ((const SfxBoolItem*)pState)->GetValue(); in StateChanged()
297 else if ( pState->ISA(SfxEnumItemInterface) && in StateChanged()
298 ((SfxEnumItemInterface *)pState)->HasBoolValue() ) in StateChanged()
303 bCheck = ((SfxEnumItemInterface *)pState)->GetBoolValue(); in StateChanged()
307 else if ( ( b_ShowStrings || bIsObjMenu ) && pState->ISA(SfxStringItem) ) in StateChanged()
310 String aStr( ((const SfxStringItem*)pState)->GetValue() ); in StateChanged()
334 new SfxEnumMenu( GetId(), *(const SfxEnumItem*)pState ) ); in StateChanged()
/aoo41x/main/sc/source/ui/navipi/
H A Dscenwnd.cxx260 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()
/aoo41x/main/sd/source/ui/dlg/
H A Dgluectrl.cxx169 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()
/aoo41x/main/svx/source/sidebar/line/
H A DLinePropertyPanel.cxx450 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 …]
/aoo41x/main/svx/source/mnuctrls/
H A Dfntszctl.cxx86 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 Dclipboardctl.cxx125 …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()
/aoo41x/main/sw/source/ui/uiview/
H A Dviewstat.cxx173 const SfxPoolItem* pState = pShell->GetSlotState(SID_UNDO); in GetState() local
174 if(pState) in GetState()
175 rSet.Put(*pState); in GetState()
434 const SfxPoolItem* pState = 0; in GetState() local
436 GetViewFrame()->GetDispatcher()->QueryState( nAlias, pState ); in GetState()
437 if(pState) in GetState()
438 rSet.Put(*pState, nWhich); in GetState()
/aoo41x/main/svx/source/stbctrls/
H A Dzoomctrl.cxx123 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 Dzoomsliderctrl.cxx199 …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()
H A Dmodctrl.cxx58 const SfxPoolItem* pState ) in StateChanged() argument
64 DBG_ASSERT( pState->ISA( SfxBoolItem ), "invalid item type" ); in StateChanged()
65 SfxBoolItem* pItem = (SfxBoolItem*)pState; in StateChanged()
/aoo41x/main/sfx2/source/sidebar/
H A DControllerItem.cxx141 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()
/aoo41x/main/vcl/os2/source/window/
H A Dsalframe.cxx1232 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 …]
/aoo41x/main/sw/source/ui/utlui/
H A Dviewlayoutctrl.cxx92 …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 Dzoomctrl.cxx61 const SfxPoolItem* pState ) in StateChanged() argument
63 if(SFX_ITEM_AVAILABLE == eState && pState->ISA( SfxStringItem )) in StateChanged()
65 sPreviewZoom = ((const SfxStringItem*)pState)->GetValue(); in StateChanged()
71 SvxZoomStatusBarControl::StateChanged(nSID, eState, pState); in StateChanged()
H A Dbookctrl.cxx103 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 Dtmplctrl.cxx101 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()
/aoo41x/main/sw/source/ui/ribbar/
H A Dworkctrl.cxx125 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()
/aoo41x/main/svx/source/sidebar/area/
H A DAreaPropertyPanel.cxx839 const SfxPoolItem* pState, in NotifyItemUpdate() argument
858 const SfxUInt16Item* pItem = dynamic_cast< const SfxUInt16Item* >(pState); in NotifyItemUpdate()
880 …onst XFillFloatTransparenceItem* pItem = dynamic_cast< const XFillFloatTransparenceItem* >(pState); in NotifyItemUpdate()
921 const XFillStyleItem* pItem = dynamic_cast< const XFillStyleItem* >(pState); in NotifyItemUpdate()
956 mpColorItem.reset(pState ? (XFillColorItem*)pState->Clone() : 0); in NotifyItemUpdate()
989 mpFillGradientItem.reset(pState ? (XFillGradientItem*)pState->Clone() : 0); in NotifyItemUpdate()
1018 mpHatchItem.reset(pState ? (XFillHatchItem*)pState->Clone() : 0); in NotifyItemUpdate()
1047 mpBitmapItem.reset(pState ? (XFillBitmapItem*)pState->Clone() : 0); in NotifyItemUpdate()
/aoo41x/main/sfx2/source/toolbox/
H A Dtbxitem.cxx401 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 …]
/aoo41x/main/sd/source/ui/app/
H A Dtmplctrl.cxx92 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()
/aoo41x/main/sfx2/source/dialog/
H A Dtplcitem.cxx169 SfxBoolItem* pState = 0; in IMPL_STATIC_LINK() local
174pState = 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()
/aoo41x/main/basctl/source/basicide/
H A Dtbxctl.cxx138 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()
/aoo41x/main/xmloff/source/style/
H A DPageMasterExportPropMapper.cxx57 inline void lcl_RemoveState( XMLPropertyState* pState ) in lcl_RemoveState() argument
59 pState->mnIndex = -1; in lcl_RemoveState()
60 pState->maValue.clear(); in lcl_RemoveState()
63 void lcl_RemoveStateIfZero16( XMLPropertyState* pState ) in lcl_RemoveStateIfZero16() argument
66 if( (pState->maValue >>= nValue) && !nValue ) in lcl_RemoveStateIfZero16()
67 lcl_RemoveState( pState ); in lcl_RemoveStateIfZero16()
/aoo41x/main/winaccessibility/source/service/
H A DAccObjectManagerAgent.cxx212 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()
/aoo41x/main/sfx2/source/doc/
H A Dobjserv.cxx1312 …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()

Completed in 118 milliseconds

123456789