Lines Matching refs:rSet
173 void __EXPORT ScFormatShell::GetStyleState( SfxItemSet& rSet ) in GetStyleState() argument
185 SfxWhichIter aIter(rSet); in GetStyleState()
199 rSet.DisableItem( nSlotId ); in GetStyleState()
208 rSet.Put( SfxTemplateItem( nSlotId, pStyleSheet->GetName() ) ); in GetStyleState()
210 rSet.Put( SfxTemplateItem( nSlotId, String() ) ); in GetStyleState()
222 rSet.Put( SfxTemplateItem( nSlotId, aPageStyle ) ); in GetStyleState()
224 rSet.Put( SfxTemplateItem( nSlotId, String() ) ); in GetStyleState()
230 rSet.Put( SfxBoolItem( nSlotId, SC_MOD()->GetIsWaterCan() ) ); in GetStyleState()
241 rSet.DisableItem( nSlotId ); in GetStyleState()
253 rSet.DisableItem( nSlotId ); in GetStyleState()
724 SfxItemSet& rSet = pStyleSheet->GetItemSet(); in ExecuteStyle() local
727 if ( rSet.GetItemState( ATTR_VALUE_FORMAT, in ExecuteStyle()
735 ((SvxLanguageItem*)&rSet.Get( in ExecuteStyle()
742 rSet.Put( aNewItem ); in ExecuteStyle()
757 if ( rSet.GetItemState( ATTR_BORDER_INNER, sal_False ) != SFX_ITEM_SET ) in ExecuteStyle()
763 rSet.Put( aBoxInfoItem ); in ExecuteStyle()
1844 void ScFormatShell::GetAttrState( SfxItemSet& rSet ) in GetAttrState() argument
1850 SfxWhichIter aIter( rSet ); in GetAttrState()
1853 rSet.Put( rAttrSet, sal_False ); in GetAttrState()
1857 if ( rSet.GetItemState( ATTR_FONT ) != SFX_ITEM_UNKNOWN ) in GetAttrState()
1860 ScViewUtil::PutItemScript( rSet, rAttrSet, ATTR_FONT, nScript ); in GetAttrState()
1862 if ( rSet.GetItemState( ATTR_FONT_HEIGHT ) != SFX_ITEM_UNKNOWN ) in GetAttrState()
1865 ScViewUtil::PutItemScript( rSet, rAttrSet, ATTR_FONT_HEIGHT, nScript ); in GetAttrState()
1874 rSet.Put( SvxColorItem( rBrushItem.GetColor(), SID_BACKGROUND_COLOR ) ); in GetAttrState()
1878 rSet.InvalidateItem(SID_BACKGROUND_COLOR); in GetAttrState()
2023 rSet.Put( SvxColorItem(aCol, SID_FRAME_LINECOLOR ) ); in GetAttrState()
2024 rSet.InvalidateItem(SID_FRAME_LINECOLOR); in GetAttrState()
2029 rSet.Put( SvxColorItem(aCol, SID_FRAME_LINECOLOR ) ); in GetAttrState()
2032 rSet.Put( SvxColorItem(aCol, SID_FRAME_LINECOLOR ) ); in GetAttrState()
2043 rSet.Put( aItem ); in GetAttrState()
2044 rSet.InvalidateItem(SID_FRAME_LINESTYLE); in GetAttrState()
2050 rSet.Put( aItem ); in GetAttrState()
2057 rSet.Put( rBrushItem, GetPool().GetWhich(nWhich) ); in GetAttrState()
2071 void ScFormatShell::GetTextAttrState( SfxItemSet& rSet ) in GetTextAttrState() argument
2075 rSet.Put( rAttrSet, sal_False ); // ItemStates mitkopieren in GetTextAttrState()
2079 if ( rSet.GetItemState( ATTR_FONT_WEIGHT ) != SFX_ITEM_UNKNOWN ) in GetTextAttrState()
2082 ScViewUtil::PutItemScript( rSet, rAttrSet, ATTR_FONT_WEIGHT, nScript ); in GetTextAttrState()
2084 if ( rSet.GetItemState( ATTR_FONT_POSTURE ) != SFX_ITEM_UNKNOWN ) in GetTextAttrState()
2087 ScViewUtil::PutItemScript( rSet, rAttrSet, ATTR_FONT_POSTURE, nScript ); in GetTextAttrState()
2102 rSet.InvalidateItem( SID_ULINE_VAL_NONE ); in GetTextAttrState()
2103 rSet.InvalidateItem( SID_ULINE_VAL_SINGLE ); in GetTextAttrState()
2104 rSet.InvalidateItem( SID_ULINE_VAL_DOUBLE ); in GetTextAttrState()
2105 rSet.InvalidateItem( SID_ULINE_VAL_DOTTED ); in GetTextAttrState()
2120 rSet.Put( SfxBoolItem( nId, sal_True ) ); in GetTextAttrState()
2173 rSet.InvalidateItem( SID_ALIGNLEFT ); in GetTextAttrState()
2174 rSet.InvalidateItem( SID_ALIGNRIGHT ); in GetTextAttrState()
2175 rSet.InvalidateItem( SID_ALIGNCENTERHOR ); in GetTextAttrState()
2176 rSet.InvalidateItem( SID_ALIGNBLOCK ); in GetTextAttrState()
2187 rSet.Put( aBoolItem ); in GetTextAttrState()
2192 aBoolItem.SetWhich( SID_ALIGNLEFT ); rSet.Put( aBoolItem ); in GetTextAttrState()
2193 aBoolItem.SetWhich( SID_ALIGNRIGHT ); rSet.Put( aBoolItem ); in GetTextAttrState()
2194 aBoolItem.SetWhich( SID_ALIGNCENTERHOR ); rSet.Put( aBoolItem ); in GetTextAttrState()
2195 aBoolItem.SetWhich( SID_ALIGNBLOCK ); rSet.Put( aBoolItem ); in GetTextAttrState()
2238 rSet.InvalidateItem( SID_ALIGNTOP ); in GetTextAttrState()
2239 rSet.InvalidateItem( SID_ALIGNBOTTOM ); in GetTextAttrState()
2240 rSet.InvalidateItem( SID_ALIGNCENTERVER ); in GetTextAttrState()
2251 rSet.Put( aBoolItem ); in GetTextAttrState()
2256 aBoolItem.SetWhich( SID_ALIGNTOP ); rSet.Put( aBoolItem ); in GetTextAttrState()
2257 aBoolItem.SetWhich( SID_ALIGNBOTTOM ); rSet.Put( aBoolItem ); in GetTextAttrState()
2258 aBoolItem.SetWhich( SID_ALIGNCENTERVER ); rSet.Put( aBoolItem ); in GetTextAttrState()
2265 void ScFormatShell::GetBorderState( SfxItemSet& rSet ) in GetBorderState() argument
2273 if ( rSet.GetItemState( ATTR_BORDER ) != SFX_ITEM_UNKNOWN ) in GetBorderState()
2274 rSet.Put( aBoxItem ); in GetBorderState()
2275 if ( rSet.GetItemState( ATTR_BORDER_INNER ) != SFX_ITEM_UNKNOWN ) in GetBorderState()
2276 rSet.Put( aInfoItem ); in GetBorderState()
2281 void ScFormatShell::GetAlignState( SfxItemSet& rSet ) in GetAlignState() argument
2285 SfxWhichIter aIter(rSet); in GetAlignState()
2304 rSet.Put( SvxHorJustifyItem( eHAlign, nWhich )); in GetAlignState()
2308 rSet.Put( SvxVerJustifyItem( eVAlign, nWhich )); in GetAlignState()
2317 … rSet.Put( SfxBoolItem( nWhich, bHasHAlign && (eHAlign == lclConvertSlotToHAlign( nWhich )) ) ); in GetAlignState()
2323 … rSet.Put( SfxBoolItem( nWhich, bHasVAlign && (eVAlign == lclConvertSlotToVAlign( nWhich )) ) ); in GetAlignState()
2330 void ScFormatShell::GetNumFormatState( SfxItemSet& rSet ) in GetNumFormatState() argument
2337 SfxWhichIter aIter(rSet); in GetNumFormatState()
2392 rSet.Put(SfxStringItem(nWhich, aFormat)); in GetNumFormatState()
2396 rSet.InvalidateItem( nWhich ); in GetNumFormatState()
2468 rSet.InvalidateItem( nWhich ); in GetNumFormatState()
2470 rSet.Put( SfxInt16Item( nWhich, aFormatCode ) ); in GetNumFormatState()
2474 rSet.InvalidateItem( nWhich ); in GetNumFormatState()
2522 void ScFormatShell::GetTextDirectionState( SfxItemSet& rSet ) in GetTextDirectionState() argument
2554 SfxWhichIter aIter( rSet ); in GetTextDirectionState()
2563 rSet.DisableItem( nWhich ); in GetTextDirectionState()
2567 rSet.InvalidateItem( nWhich ); in GetTextDirectionState()
2569 rSet.Put( SfxBoolItem( nWhich, bLeftRight ) ); in GetTextDirectionState()
2571 rSet.Put( SfxBoolItem( nWhich, bTopBottom ) ); in GetTextDirectionState()
2578 rSet.DisableItem( nWhich ); in GetTextDirectionState()
2582 rSet.DisableItem( nWhich ); in GetTextDirectionState()
2584 rSet.InvalidateItem( nWhich ); in GetTextDirectionState()
2586 rSet.Put( SfxBoolItem( nWhich, eBidiDir == EE_HTEXTDIR_L2R ) ); in GetTextDirectionState()
2588 rSet.Put( SfxBoolItem( nWhich, eBidiDir == EE_HTEXTDIR_R2L ) ); in GetTextDirectionState()
2621 void ScFormatShell::StateFormatPaintbrush( SfxItemSet& rSet ) in StateFormatPaintbrush() argument
2624 rSet.DisableItem( SID_FORMATPAINTBRUSH ); in StateFormatPaintbrush()
2626 rSet.Put( SfxBoolItem( SID_FORMATPAINTBRUSH, pViewData->GetView()->HasPaintBrush() ) ); in StateFormatPaintbrush()
2665 void ScFormatShell::GetViewOptions( SfxItemSet& rSet ) in GetViewOptions() argument
2671 rSet.ClearItem(SID_SCGRIDSHOW); in GetViewOptions()
2673 rSet.Put(aItem); in GetViewOptions()