LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SaveTable Class Reference
Collaboration diagram for SaveTable:
[legend]

Public Member Functions

 SaveTable (const SwTable &rTable, sal_uInt16 nLnCnt=USHRT_MAX, bool bSaveFormula=true)
 
sal_uInt16 AddFormat (SwFrameFormat *pFormat, bool bIsLine)
 
void NewFrameFormatForLine (const SwTableLine &, sal_uInt16 nFormatPos, SwFrameFormat *pOldFormat)
 
void NewFrameFormatForBox (const SwTableBox &, sal_uInt16 nFormatPos, SwFrameFormat *pOldFormat)
 
void RestoreAttr (SwTable &rTable, bool bModifyBox=false)
 
void SaveContentAttrs (SwDoc *pDoc)
 
void CreateNew (SwTable &rTable, bool bCreateFrames=true, bool bRestoreChart=true)
 
bool IsNewModel () const
 

Private Member Functions

 SaveTable (const SaveTable &)=delete
 
SaveTableoperator= (const SaveTable &)=delete
 
SwFrameFormatCreateNewFormat (SwFrameFormat &rFormat, sal_uInt16 nFormatPos)
 

Private Attributes

friend SaveBox
 
friend SaveLine
 
SfxItemSet m_aTableSet
 
std::unique_ptr< SaveLinem_pLine
 
const SwTablem_pSwTable
 
SfxItemSets m_aSets
 
SwFrameFormatsV m_aFrameFormats
 
sal_uInt16 m_nLineCount
 
bool m_bModifyBox: 1
 
bool m_bSaveFormula: 1
 
bool m_bNewModel: 1
 

Detailed Description

Definition at line 113 of file untbl.cxx.

Constructor & Destructor Documentation

◆ SaveTable() [1/2]

SaveTable::SaveTable ( const SaveTable )
privatedelete

◆ SaveTable() [2/2]

SaveTable::SaveTable ( const SwTable rTable,
sal_uInt16  nLnCnt = USHRT_MAX,
bool  bSaveFormula = true 
)

Member Function Documentation

◆ AddFormat()

sal_uInt16 SaveTable::AddFormat ( SwFrameFormat pFormat,
bool  bIsLine 
)

◆ CreateNew()

void SaveTable::CreateNew ( SwTable rTable,
bool  bCreateFrames = true,
bool  bRestoreChart = true 
)

◆ CreateNewFormat()

SwFrameFormat & SaveTable::CreateNewFormat ( SwFrameFormat rFormat,
sal_uInt16  nFormatPos 
)
private

Definition at line 1101 of file untbl.cxx.

References m_aFrameFormats, m_aSets, and SwFormat::SetFormatAttr().

Referenced by NewFrameFormatForBox(), and NewFrameFormatForLine().

◆ IsNewModel()

bool SaveTable::IsNewModel ( ) const
inline

Definition at line 143 of file untbl.cxx.

References m_bNewModel.

◆ NewFrameFormatForBox()

void SaveTable::NewFrameFormatForBox ( const SwTableBox rTableBx,
sal_uInt16  nFormatPos,
SwFrameFormat pOldFormat 
)

◆ NewFrameFormatForLine()

void SaveTable::NewFrameFormatForLine ( const SwTableLine rTableLn,
sal_uInt16  nFormatPos,
SwFrameFormat pOldFormat 
)

◆ operator=()

SaveTable & SaveTable::operator= ( const SaveTable )
privatedelete

◆ RestoreAttr()

void SaveTable::RestoreAttr ( SwTable rTable,
bool  bModifyBox = false 
)

◆ SaveContentAttrs()

void SaveTable::SaveContentAttrs ( SwDoc pDoc)

Definition at line 1003 of file untbl.cxx.

References m_pLine.

Referenced by SwUndoTableAutoFormat::UndoRedo().

Member Data Documentation

◆ m_aFrameFormats

SwFrameFormatsV SaveTable::m_aFrameFormats
private

◆ m_aSets

SfxItemSets SaveTable::m_aSets
private

Definition at line 120 of file untbl.cxx.

Referenced by AddFormat(), CreateNew(), CreateNewFormat(), and RestoreAttr().

◆ m_aTableSet

SfxItemSet SaveTable::m_aTableSet
private

Definition at line 117 of file untbl.cxx.

Referenced by CreateNew(), RestoreAttr(), and SaveTable().

◆ m_bModifyBox

bool SaveTable::m_bModifyBox
private

Definition at line 123 of file untbl.cxx.

Referenced by NewFrameFormatForBox(), RestoreAttr(), and SaveTable().

◆ m_bNewModel

bool SaveTable::m_bNewModel
private

Definition at line 125 of file untbl.cxx.

Referenced by IsNewModel(), and SaveTable().

◆ m_bSaveFormula

bool SaveTable::m_bSaveFormula
private

Definition at line 124 of file untbl.cxx.

Referenced by AddFormat().

◆ m_nLineCount

sal_uInt16 SaveTable::m_nLineCount
private

Definition at line 122 of file untbl.cxx.

Referenced by CreateNew(), and RestoreAttr().

◆ m_pLine

std::unique_ptr<SaveLine> SaveTable::m_pLine
private

Definition at line 118 of file untbl.cxx.

Referenced by CreateNew(), RestoreAttr(), SaveContentAttrs(), and SaveTable().

◆ m_pSwTable

const SwTable* SaveTable::m_pSwTable
private

Definition at line 119 of file untbl.cxx.

Referenced by AddFormat(), and SaveTable().

◆ SaveBox

friend SaveTable::SaveBox
private

Definition at line 115 of file untbl.cxx.

◆ SaveLine

friend SaveTable::SaveLine
private

Definition at line 116 of file untbl.cxx.

Referenced by RestoreAttr(), and SaveTable().


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