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

#include <undostyl.hxx>

Public Member Functions

 ScStyleSaveData ()
 
 ScStyleSaveData (const ScStyleSaveData &rOther)
 
ScStyleSaveDataoperator= (const ScStyleSaveData &rOther)
 
void InitFromStyle (const SfxStyleSheetBase *pSource)
 
const OUString & GetName () const
 
const OUString & GetParent () const
 
const std::optional< SfxItemSet > & GetItems () const
 

Private Attributes

OUString aName
 
OUString aParent
 
std::optional< SfxItemSetmoItems
 

Detailed Description

Definition at line 29 of file undostyl.hxx.

Constructor & Destructor Documentation

◆ ScStyleSaveData() [1/2]

ScStyleSaveData::ScStyleSaveData ( )

Definition at line 37 of file undostyl.cxx.

◆ ScStyleSaveData() [2/2]

ScStyleSaveData::ScStyleSaveData ( const ScStyleSaveData rOther)

Definition at line 41 of file undostyl.cxx.

References aName, and moItems.

Member Function Documentation

◆ GetItems()

const std::optional< SfxItemSet > & ScStyleSaveData::GetItems ( ) const
inline

Definition at line 45 of file undostyl.hxx.

References moItems.

Referenced by ScUndoModifyStyle::DoChange().

◆ GetName()

const OUString & ScStyleSaveData::GetName ( ) const
inline

Definition at line 43 of file undostyl.hxx.

References aName.

Referenced by ScUndoModifyStyle::DoChange(), ScUndoModifyStyle::Redo(), and ScUndoModifyStyle::Undo().

◆ GetParent()

const OUString & ScStyleSaveData::GetParent ( ) const
inline

Definition at line 44 of file undostyl.hxx.

References aParent.

Referenced by ScUndoModifyStyle::DoChange().

◆ InitFromStyle()

void ScStyleSaveData::InitFromStyle ( const SfxStyleSheetBase pSource)

◆ operator=()

ScStyleSaveData & ScStyleSaveData::operator= ( const ScStyleSaveData rOther)

Definition at line 49 of file undostyl.cxx.

References aName, aParent, and moItems.

Member Data Documentation

◆ aName

OUString ScStyleSaveData::aName
private

Definition at line 32 of file undostyl.hxx.

Referenced by GetName(), InitFromStyle(), and operator=().

◆ aParent

OUString ScStyleSaveData::aParent
private

Definition at line 33 of file undostyl.hxx.

Referenced by GetParent(), InitFromStyle(), and operator=().

◆ moItems

std::optional<SfxItemSet> ScStyleSaveData::moItems
private

Definition at line 34 of file undostyl.hxx.

Referenced by GetItems(), InitFromStyle(), operator=(), and ScStyleSaveData().


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