AlignmentPropertyPanel.cxx (37fee4fd) | AlignmentPropertyPanel.cxx (45da7d5e) |
---|---|
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 --- 372 unchanged lines hidden (view full) --- 381 // todo 382} 383 384////////////////////////////////////////////////////////////////////////////// 385 386void AlignmentPropertyPanel::NotifyItemUpdate( 387 sal_uInt16 nSID, 388 SfxItemState eState, | 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 --- 372 unchanged lines hidden (view full) --- 381 // todo 382} 383 384////////////////////////////////////////////////////////////////////////////// 385 386void AlignmentPropertyPanel::NotifyItemUpdate( 387 sal_uInt16 nSID, 388 SfxItemState eState, |
389 const SfxPoolItem* pState) | 389 const SfxPoolItem* pState, 390 const bool bIsEnabled) |
390{ | 391{ |
392 (void)bIsEnabled; 393 |
|
391 switch(nSID) 392 { 393 case SID_H_ALIGNCELL: 394 if(eState >= SFX_ITEM_DEFAULT && pState && pState->ISA(SvxHorJustifyItem) ) 395 { 396 const SvxHorJustifyItem* pItem = (const SvxHorJustifyItem*)pState; 397 meHorAlignState = (SvxCellHorJustify)pItem->GetValue(); 398 } --- 238 unchanged lines hidden --- | 394 switch(nSID) 395 { 396 case SID_H_ALIGNCELL: 397 if(eState >= SFX_ITEM_DEFAULT && pState && pState->ISA(SvxHorJustifyItem) ) 398 { 399 const SvxHorJustifyItem* pItem = (const SvxHorJustifyItem*)pState; 400 meHorAlignState = (SvxCellHorJustify)pItem->GetValue(); 401 } --- 238 unchanged lines hidden --- |