LibreOffice Module sw (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwFlyFrameAttrMgr Class Reference

#include <frmmgr.hxx>

Collaboration diagram for SwFlyFrameAttrMgr:
[legend]

Public Member Functions

 SwFlyFrameAttrMgr (bool bNew, SwWrtShell *pSh, Frmmgr_Type nType)
 
 SwFlyFrameAttrMgr (bool bNew, SwWrtShell *pSh, const SfxItemSet &rSet)
 
void SetAnchor (RndStdIds eId)
 
RndStdIds GetAnchor () const
 
void SetHorzOrientation (sal_Int16 eOrient)
 
void SetVertOrientation (sal_Int16 eOrient)
 
void SetAbsPos (const Point &rLPoint)
 
void SetPos (const Point &rLPoint)
 
Point GetPos () const
 
void SetSize (const Size &rLSize)
 
const SizeGetSize () const
 
void SetHeightSizeType (SwFrameSize eType)
 
void SetRotation (sal_uInt16 nOld, sal_uInt16 nNew, const Size &rUnrotatedSize)
 
void SetLRSpace (long nLeft, long nRight)
 
void SetULSpace (long nTop, long nBottom)
 
void SetCol (const SwFormatCol &rCol)
 
void UpdateAttrMgr ()
 
void UpdateFlyFrame ()
 
void InsertFlyFrame ()
 
void InsertFlyFrame (RndStdIds eAnchorType, const Point &rPos, const Size &rSize)
 
void ValidateMetrics (SvxSwFrameValidation &rVal, const SwPosition *pToCharContentPos, bool bOnlyPercentRefValue=false)
 
void DelAttr (sal_uInt16 nId)
 
const SfxItemSetGetAttrSet () const
 
SfxItemSetGetAttrSet ()
 
void SetAttrSet (const SfxItemSet &rSet)
 
const SwFormatVertOrientGetVertOrient () const
 
const SwFormatHoriOrientGetHoriOrient () const
 
const SvxShadowItemGetShadow () const
 
const SvxBoxItemGetBox () const
 
const SwFormatFrameSizeGetFrameSize () const
 
long CalcWidthBorder ()
 
long CalcHeightBorder ()
 

Private Member Functions

SAL_DLLPRIVATE SwTwips CalcTopSpace ()
 
SAL_DLLPRIVATE SwTwips CalcBottomSpace ()
 
SAL_DLLPRIVATE SwTwips CalcLeftSpace ()
 
SAL_DLLPRIVATE SwTwips CalcRightSpace ()
 
SAL_DLLPRIVATE void UpdateFlyFrame_ ()
 

Private Attributes

SfxItemSet m_aSet
 
Point m_aAbsPos
 
SwWrtShellm_pOwnSh
 
bool m_bAbsPos
 
bool m_bNewFrame
 
bool m_bIsInVertical
 
bool m_bIsInVerticalL2R
 

Detailed Description

Definition at line 50 of file frmmgr.hxx.

Constructor & Destructor Documentation

SwFlyFrameAttrMgr::SwFlyFrameAttrMgr ( bool  bNew,
SwWrtShell pSh,
Frmmgr_Type  nType 
)
SwFlyFrameAttrMgr::SwFlyFrameAttrMgr ( bool  bNew,
SwWrtShell pSh,
const SfxItemSet rSet 
)

Definition at line 98 of file frmmgr.cxx.

References SwFEShell::IsFrameVertical(), m_aSet, m_bIsInVertical, and m_bIsInVerticalL2R.

Member Function Documentation

SwTwips SwFlyFrameAttrMgr::CalcBottomSpace ( )
private
long SwFlyFrameAttrMgr::CalcHeightBorder ( )
inline

Definition at line 135 of file frmmgr.hxx.

Referenced by SwWrtShell::Insert().

SwTwips SwFlyFrameAttrMgr::CalcLeftSpace ( )
private
SwTwips SwFlyFrameAttrMgr::CalcRightSpace ( )
private
SwTwips SwFlyFrameAttrMgr::CalcTopSpace ( )
private
long SwFlyFrameAttrMgr::CalcWidthBorder ( )
inline

Definition at line 134 of file frmmgr.hxx.

Referenced by SwWrtShell::Insert().

void SwFlyFrameAttrMgr::DelAttr ( sal_uInt16  nId)

Definition at line 513 of file frmmgr.cxx.

References SfxItemSet::ClearItem(), and m_aSet.

Referenced by SwWrtShell::Insert().

RndStdIds SwFlyFrameAttrMgr::GetAnchor ( ) const
inline
const SfxItemSet& SwFlyFrameAttrMgr::GetAttrSet ( ) const
inline
SfxItemSet& SwFlyFrameAttrMgr::GetAttrSet ( )
inline

Definition at line 125 of file frmmgr.hxx.

const SvxBoxItem & SwFlyFrameAttrMgr::GetBox ( ) const
inline

Definition at line 159 of file frmmgr.hxx.

References SfxItemSet::Get(), m_aSet, and RES_BOX.

Referenced by CalcBottomSpace(), CalcLeftSpace(), CalcRightSpace(), and CalcTopSpace().

const SwFormatFrameSize & SwFlyFrameAttrMgr::GetFrameSize ( ) const
inline

Definition at line 151 of file frmmgr.hxx.

References SfxItemSet::Get(), m_aSet, and RES_FRM_SIZE.

Referenced by SwFrameShell::GetState(), SetHeightSizeType(), and SetSize().

const SwFormatHoriOrient & SwFlyFrameAttrMgr::GetHoriOrient ( ) const
inline
Point SwFlyFrameAttrMgr::GetPos ( ) const
inline

Definition at line 163 of file frmmgr.hxx.

References GetHoriOrient(), and GetVertOrient().

Referenced by SwTextShell::ExecInsert().

const SvxShadowItem & SwFlyFrameAttrMgr::GetShadow ( ) const
inline

Definition at line 155 of file frmmgr.hxx.

References SfxItemSet::Get(), m_aSet, and RES_SHADOW.

Referenced by CalcBottomSpace(), CalcLeftSpace(), CalcRightSpace(), and CalcTopSpace().

const Size & SwFlyFrameAttrMgr::GetSize ( ) const
inline
const SwFormatVertOrient & SwFlyFrameAttrMgr::GetVertOrient ( ) const
inline

Definition at line 143 of file frmmgr.hxx.

References SfxItemSet::Get(), m_aSet, and RES_VERT_ORIENT.

Referenced by GetPos(), SetAbsPos(), SetAnchor(), SetPos(), and SetVertOrientation().

void SwFlyFrameAttrMgr::InsertFlyFrame ( )
void SwFlyFrameAttrMgr::InsertFlyFrame ( RndStdIds  eAnchorType,
const Point rPos,
const Size rSize 
)

Definition at line 187 of file frmmgr.cxx.

References InsertFlyFrame(), SetAnchor(), SetPos(), and SetSize().

void SwFlyFrameAttrMgr::SetAbsPos ( const Point rLPoint)
void SwFlyFrameAttrMgr::SetAnchor ( RndStdIds  eId)
void SwFlyFrameAttrMgr::SetAttrSet ( const SfxItemSet rSet)
void SwFlyFrameAttrMgr::SetCol ( const SwFormatCol rCol)

Definition at line 224 of file frmmgr.cxx.

References m_aSet, and SfxItemSet::Put().

Referenced by SwTextShell::ExecInsert().

void SwFlyFrameAttrMgr::SetHeightSizeType ( SwFrameSize  eType)
void SwFlyFrameAttrMgr::SetHorzOrientation ( sal_Int16  eOrient)
void SwFlyFrameAttrMgr::SetLRSpace ( long  nLeft,
long  nRight 
)
void SwFlyFrameAttrMgr::SetPos ( const Point rLPoint)
void SwFlyFrameAttrMgr::SetRotation ( sal_uInt16  nOld,
sal_uInt16  nNew,
const Size rUnrotatedSize 
)
void SwFlyFrameAttrMgr::SetSize ( const Size rLSize)
void SwFlyFrameAttrMgr::SetULSpace ( long  nTop,
long  nBottom 
)
void SwFlyFrameAttrMgr::SetVertOrientation ( sal_Int16  eOrient)
void SwFlyFrameAttrMgr::UpdateAttrMgr ( )
void SwFlyFrameAttrMgr::UpdateFlyFrame ( )
void SwFlyFrameAttrMgr::UpdateFlyFrame_ ( )
private
void SwFlyFrameAttrMgr::ValidateMetrics ( SvxSwFrameValidation rVal,
const SwPosition pToCharContentPos,
bool  bOnlyPercentRefValue = false 
)

Member Data Documentation

Point SwFlyFrameAttrMgr::m_aAbsPos
private

Definition at line 53 of file frmmgr.hxx.

Referenced by SetAbsPos(), and UpdateFlyFrame_().

SfxItemSet SwFlyFrameAttrMgr::m_aSet
private
bool SwFlyFrameAttrMgr::m_bAbsPos
private

Definition at line 56 of file frmmgr.hxx.

Referenced by SetAbsPos(), and UpdateFlyFrame_().

bool SwFlyFrameAttrMgr::m_bIsInVertical
private

Definition at line 58 of file frmmgr.hxx.

Referenced by SwFlyFrameAttrMgr(), and ValidateMetrics().

bool SwFlyFrameAttrMgr::m_bIsInVerticalL2R
private

Definition at line 60 of file frmmgr.hxx.

Referenced by SwFlyFrameAttrMgr(), and ValidateMetrics().

bool SwFlyFrameAttrMgr::m_bNewFrame
private

Definition at line 56 of file frmmgr.hxx.

Referenced by SwFlyFrameAttrMgr(), and UpdateAttrMgr().

SwWrtShell* SwFlyFrameAttrMgr::m_pOwnSh
private

The documentation for this class was generated from the following files: