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 30 of file undostyl.hxx.

Constructor & Destructor Documentation

ScStyleSaveData::ScStyleSaveData ( )

Definition at line 36 of file undostyl.cxx.

ScStyleSaveData::ScStyleSaveData ( const ScStyleSaveData rOther)

Definition at line 40 of file undostyl.cxx.

References aName, and moItems.

Member Function Documentation

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

Definition at line 46 of file undostyl.hxx.

References moItems.

Referenced by ScUndoModifyStyle::DoChange().

const OUString& ScStyleSaveData::GetName ( ) const
inline

Definition at line 44 of file undostyl.hxx.

References aName.

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

const OUString& ScStyleSaveData::GetParent ( ) const
inline

Definition at line 45 of file undostyl.hxx.

References aParent.

Referenced by ScUndoModifyStyle::DoChange().

void ScStyleSaveData::InitFromStyle ( const SfxStyleSheetBase pSource)
ScStyleSaveData & ScStyleSaveData::operator= ( const ScStyleSaveData rOther)

Definition at line 48 of file undostyl.cxx.

References aName, aParent, and moItems.

Member Data Documentation

OUString ScStyleSaveData::aName
private

Definition at line 33 of file undostyl.hxx.

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

OUString ScStyleSaveData::aParent
private

Definition at line 34 of file undostyl.hxx.

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

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

Definition at line 35 of file undostyl.hxx.

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


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