diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 15:49:47 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2004-05-10 15:49:47 +0000 |
commit | 5aff75f312219f9bd3fe8cc1af890299b056bb7a (patch) | |
tree | 42367559193378f7e78cc39de6f2665224e10410 /svx | |
parent | 3b2c4fbfdb9a4876d05cbea3817bdb3d396dd784 (diff) |
INTEGRATION: CWS dialogdiet01 (1.17.474); FILE MERGED
2004/03/31 03:46:52 gyang 1.17.474.2: RESYNC: (1.17-1.19); FILE MERGED
2004/02/27 06:09:17 mwu 1.17.474.1: dialogdiet01 2004_02_27
Diffstat (limited to 'svx')
-rw-r--r-- | svx/source/dialog/border.cxx | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/svx/source/dialog/border.cxx b/svx/source/dialog/border.cxx index 26daae716582..5c7bb86a9cff 100644 --- a/svx/source/dialog/border.cxx +++ b/svx/source/dialog/border.cxx @@ -2,9 +2,9 @@ * * $RCSfile: border.cxx,v $ * - * $Revision: 1.19 $ + * $Revision: 1.20 $ * - * last change: $Author: obo $ $Date: 2004-03-17 11:50:26 $ + * last change: $Author: hr $ $Date: 2004-05-10 16:49:47 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -58,7 +58,6 @@ * * ************************************************************************/ - // include --------------------------------------------------------------- #ifndef _SFXAPP_HXX @@ -98,6 +97,12 @@ #ifndef _SV_MSGBOX_HXX //autogen #include <vcl/msgbox.hxx> #endif +#include "svxids.hrc" //CHINA001 +#include "flagsdef.hxx" //CHINA001 +#include <sfx2/request.hxx> +#ifndef _SFXINTITEM_HXX //CHINA001 +#include <svtools/intitem.hxx> //CHINA001 +#endif //CHINA001 #ifndef SFX_ITEMCONNECT_HXX #include <sfx2/itemconnect.hxx> #endif @@ -1591,6 +1596,17 @@ void SvxBorderTabPage::DataChanged( const DataChangedEvent& rDCEvt ) SfxTabPage::DataChanged( rDCEvt ); } +void SvxBorderTabPage::PageCreated (SfxAllItemSet aSet) //add CHINA001 +{ + SFX_ITEMSET_ARG (&aSet,pSWModeItem,SfxUInt16Item,SID_SWMODE_TYPE,sal_False); + SFX_ITEMSET_ARG (&aSet,pFlagItem,SfxUInt32Item,SID_FLAG_TYPE,sal_False); + if (pSWModeItem) + SetSWMode(pSWModeItem->GetValue()); + if (pFlagItem) + if ( ( pFlagItem->GetValue() & SVX_HIDESHADOWCTL ) == SVX_HIDESHADOWCTL ) + HideShadowControls(); +} + #undef EQSTYLE #undef SET_STYLE |