envfmt.cxx (efeef26f) | envfmt.cxx (69a74367) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 286 unchanged lines hidden (view full) --- 295 if( SFX_ITEM_SET == aOutputSet.GetItemState( RES_BACKGROUND, 296 sal_False, &pTmpBrush ) ) 297 { 298 SvxBrushItem aTmpBrush( *((SvxBrushItem*)pTmpBrush) ); 299 aTmpBrush.SetWhich( RES_CHRATR_BACKGROUND ); 300 pCollSet->Put( aTmpBrush ); 301 } 302 aOutputSet.ClearItem( RES_BACKGROUND ); | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 286 unchanged lines hidden (view full) --- 295 if( SFX_ITEM_SET == aOutputSet.GetItemState( RES_BACKGROUND, 296 sal_False, &pTmpBrush ) ) 297 { 298 SvxBrushItem aTmpBrush( *((SvxBrushItem*)pTmpBrush) ); 299 aTmpBrush.SetWhich( RES_CHRATR_BACKGROUND ); 300 pCollSet->Put( aTmpBrush ); 301 } 302 aOutputSet.ClearItem( RES_BACKGROUND ); |
303 //pColl->SetAttr( aTmpSet ); | |
304 pCollSet->Put(aOutputSet); 305 } 306 delete pDlg; 307 } 308 break; 309 310 case MID_PARA: 311 { --- 37 unchanged lines hidden (view full) --- 349 { 350 SvxTabStopItem aDefTabs( 0, 0, SVX_TAB_ADJUST_DEFAULT, RES_PARATR_TABSTOP ); 351 MakeDefTabs( nNewDist, aDefTabs ); 352 pSh->SetDefault( aDefTabs ); 353 pOutputSet->ClearItem( SID_ATTR_TABSTOP_DEFAULTS ); 354 } 355 if( pOutputSet->Count() ) 356 { | 303 pCollSet->Put(aOutputSet); 304 } 305 delete pDlg; 306 } 307 break; 308 309 case MID_PARA: 310 { --- 37 unchanged lines hidden (view full) --- 348 { 349 SvxTabStopItem aDefTabs( 0, 0, SVX_TAB_ADJUST_DEFAULT, RES_PARATR_TABSTOP ); 350 MakeDefTabs( nNewDist, aDefTabs ); 351 pSh->SetDefault( aDefTabs ); 352 pOutputSet->ClearItem( SID_ATTR_TABSTOP_DEFAULTS ); 353 } 354 if( pOutputSet->Count() ) 355 { |
357 //pColl->SetAttr( *pOutputSet ); | |
358 pCollSet->Put(*pOutputSet); 359 } 360 } 361 delete pDlg; 362 } 363 break; 364 } 365 return 0; --- 266 unchanged lines hidden --- | 356 pCollSet->Put(*pOutputSet); 357 } 358 } 359 delete pDlg; 360 } 361 break; 362 } 363 return 0; --- 266 unchanged lines hidden --- |