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

Using for global style object like "Standard". More...

#include <hstyle.h>

Collaboration diagram for HWPStyle:
[legend]

Public Member Functions

 HWPStyle (void)
 
 ~HWPStyle (void)
 
int Num (void) const
 
char * GetName (int n) const
 
CharShapeGetCharShape (int n) const
 
ParaShapeGetParaShape (int n) const
 
void SetName (int n, char const *name)
 
void SetCharShape (int n, CharShape const *cshapep)
 
void SetParaShape (int n, ParaShape const *pshapep)
 
void Read (HWPFile &hwpf)
 

Private Attributes

short nstyles
 
hwpfilter::StyleDatastyle
 

Detailed Description

Using for global style object like "Standard".

Definition at line 34 of file hstyle.h.

Constructor & Destructor Documentation

◆ HWPStyle()

HWPStyle::HWPStyle ( void  )

Definition at line 45 of file hstyle.cxx.

References nstyles, and style.

◆ ~HWPStyle()

HWPStyle::~HWPStyle ( void  )

Definition at line 51 of file hstyle.cxx.

References nstyles, and style.

Member Function Documentation

◆ GetCharShape()

CharShape * HWPStyle::GetCharShape ( int  n) const

Definition at line 86 of file hstyle.cxx.

References hwpfilter::StyleData::cshape, n, nstyles, and style.

Referenced by HwpReader::makeStyles().

◆ GetName()

char * HWPStyle::GetName ( int  n) const

Definition at line 57 of file hstyle.cxx.

References n, hwpfilter::StyleData::name, nstyles, and style.

Referenced by HwpReader::makeStyles().

◆ GetParaShape()

ParaShape * HWPStyle::GetParaShape ( int  n) const

Definition at line 104 of file hstyle.cxx.

References n, nstyles, hwpfilter::StyleData::pshape, and style.

Referenced by HwpReader::makeStyles().

◆ Num()

int HWPStyle::Num ( void  ) const
inline

Definition at line 42 of file hstyle.h.

Referenced by HwpReader::makeStyles().

◆ Read()

void HWPStyle::Read ( HWPFile hwpf)

◆ SetCharShape()

void HWPStyle::SetCharShape ( int  n,
CharShape const *  cshapep 
)

Definition at line 93 of file hstyle.cxx.

References hwpfilter::StyleData::cshape, n, nstyles, and style.

Referenced by Read().

◆ SetName()

void HWPStyle::SetName ( int  n,
char const *  name 
)

Definition at line 64 of file hstyle.cxx.

References MAXSTYLENAME, n, hwpfilter::StyleData::name, name, nstyles, p, and style.

Referenced by Read().

◆ SetParaShape()

void HWPStyle::SetParaShape ( int  n,
ParaShape const *  pshapep 
)

Definition at line 111 of file hstyle.cxx.

References n, nstyles, hwpfilter::StyleData::pshape, and style.

Referenced by Read().

Member Data Documentation

◆ nstyles

short HWPStyle::nstyles
private

◆ style

hwpfilter::StyleData* HWPStyle::style
private

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