|
LibreOffice Module hwpfilter (master) 1
|
Using for global style object like "Standard". More...
#include <hstyle.h>
Public Member Functions | |
| HWPStyle (void) | |
| ~HWPStyle (void) | |
| int | Num (void) const |
| char * | GetName (int n) const |
| CharShape * | GetCharShape (int n) const |
| ParaShape * | GetParaShape (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::StyleData * | style |
| HWPStyle::HWPStyle | ( | void | ) |
Definition at line 45 of file hstyle.cxx.
| HWPStyle::~HWPStyle | ( | void | ) |
Definition at line 51 of file hstyle.cxx.
Definition at line 86 of file hstyle.cxx.
References hwpfilter::StyleData::cshape, n, nstyles, and style.
Referenced by HwpReader::makeStyles().
| 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().
Definition at line 104 of file hstyle.cxx.
References n, nstyles, hwpfilter::StyleData::pshape, and style.
Referenced by HwpReader::makeStyles().
|
inline |
Definition at line 42 of file hstyle.h.
Referenced by HwpReader::makeStyles().
| void HWPStyle::Read | ( | HWPFile & | hwpf | ) |
Definition at line 122 of file hstyle.cxx.
References buffer, MAXSTYLENAME, nstyles, CharShape::Read(), ParaShape::Read(), HWPFile::Read2b(), HWPFile::ReadBlock(), SetCharShape(), SetName(), SetParaShape(), HWPFile::State(), and style.
Referenced by HWPFile::StyleRead().
Definition at line 93 of file hstyle.cxx.
References hwpfilter::StyleData::cshape, n, nstyles, and style.
Referenced by Read().
| 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().
Definition at line 111 of file hstyle.cxx.
References n, nstyles, hwpfilter::StyleData::pshape, and style.
Referenced by Read().
|
private |
Definition at line 36 of file hstyle.h.
Referenced by GetCharShape(), GetName(), GetParaShape(), HWPStyle(), Read(), SetCharShape(), SetName(), SetParaShape(), and ~HWPStyle().
|
private |
Definition at line 37 of file hstyle.h.
Referenced by GetCharShape(), GetName(), GetParaShape(), HWPStyle(), Read(), SetCharShape(), SetName(), SetParaShape(), and ~HWPStyle().