Lines Matching refs:UseOnPage
118 typedef sal_uInt16 UseOnPage; typedef
121 const UseOnPage PD_NONE = 0x0000; //for internal use only.
122 const UseOnPage PD_LEFT = 0x0001;
123 const UseOnPage PD_RIGHT = 0x0002;
124 const UseOnPage PD_ALL = 0x0003;
125 const UseOnPage PD_MIRROR = 0x0007;
126 const UseOnPage PD_HEADERSHARE = 0x0040;
127 const UseOnPage PD_FOOTERSHARE = 0x0080;
128 const UseOnPage PD_NOHEADERSHARE = 0x00BF; //for internal use only
129 const UseOnPage PD_NOFOOTERSHARE = 0x007F; //for internal use only
145 UseOnPage eUse;
181 inline void SetUseOn( UseOnPage eNew );
182 inline UseOnPage GetUseOn() const;
184 void WriteUseOn( UseOnPage eNew ) { eUse = eNew; } in WriteUseOn()
185 UseOnPage ReadUseOn () const { return eUse; } in ReadUseOn()
257 eUse = (UseOnPage) (eUse | nsUseOnPage::PD_HEADERSHARE); in ChgHeaderShare()
260 eUse = (UseOnPage) (eUse & nsUseOnPage::PD_NOHEADERSHARE); in ChgHeaderShare()
266 eUse = (UseOnPage) (eUse | nsUseOnPage::PD_FOOTERSHARE); in ChgFooterShare()
269 eUse = (UseOnPage) (eUse & nsUseOnPage::PD_NOFOOTERSHARE); in ChgFooterShare()
272 inline void SwPageDesc::SetUseOn( UseOnPage eNew ) in SetUseOn()
274 UseOnPage eTmp = nsUseOnPage::PD_NONE; in SetUseOn()
279 eTmp = (UseOnPage) (eTmp | nsUseOnPage::PD_FOOTERSHARE); in SetUseOn()
281 eUse = (UseOnPage) (eTmp | eNew); in SetUseOn()
284 inline UseOnPage SwPageDesc::GetUseOn() const in GetUseOn()
286 UseOnPage eRet = eUse; in GetUseOn()
287 eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOHEADERSHARE); in GetUseOn()
289 eRet = (UseOnPage) (eRet & nsUseOnPage::PD_NOFOOTERSHARE); in GetUseOn()