LibreOffice Module hwpfilter (master) 1
|
It represents the paragraph. More...
#include <hpara.h>
Public Member Functions | |
HWPPara (void) | |
~HWPPara (void) | |
bool | Read (HWPFile &hwpf, unsigned char flag) |
void | SetNext (HWPPara *n) |
CharShape * | GetCharShape (int pos) |
Returns the character style of paragraph. More... | |
ParaShape & | GetParaShape (void) |
Returns the style of paragraph. More... | |
HWPPara * | Next (void) |
Returns next paragraph. More... | |
Public Attributes | |
unsigned char | reuse_shape |
Zero is for the new paragraph style. More... | |
unsigned short | nch |
unsigned short | nline |
hunit | begin_ypos |
unsigned char | scflag |
unsigned char | contain_cshape |
If the value is 0, all character of paragraph have same style given cshape. More... | |
unsigned char | etcflag |
uint | ctrlflag |
Checks the special characters in the paragraph. More... | |
unsigned char | pstyno |
std::shared_ptr< CharShape > | cshape |
std::shared_ptr< ParaShape > | pshape |
std::unique_ptr< LineInfo[]> | linfo |
std::vector< std::shared_ptr< CharShape > > | cshapep |
std::vector< std::unique_ptr< HBox > > | hhstr |
Box object list. More... | |
Private Member Functions | |
std::unique_ptr< HBox > | readHBox (HWPFile &) |
Private Attributes | |
HWPPara * | _next |
HWPPara::HWPPara | ( | void | ) |
Definition at line 67 of file hpara.cxx.
References make_shared().
Returns the character style of paragraph.
Definition at line 179 of file hpara.cxx.
References contain_cshape, cshape, cshapep, and pos.
Referenced by HwpReader::make_text_p1(), and HwpReader::make_text_p3().
|
inline |
Returns the style of paragraph.
Definition at line 121 of file hpara.h.
Referenced by HwpReader::make_text_p0(), HwpReader::make_text_p1(), HwpReader::make_text_p3(), and HwpReader::parsePara().
|
inline |
Returns next paragraph.
Definition at line 126 of file hpara.h.
Referenced by FreeParaList(), LoadDrawingObject(), HwpReader::makeFormula(), HwpReader::makeHidden(), HwpReader::makePictureDRAW(), and HwpReader::parsePara().
bool HWPPara::Read | ( | HWPFile & | hwpf, |
unsigned char | flag | ||
) |
Definition at line 87 of file hpara.cxx.
References HWPFile::AddCharShape(), HWPFile::AddColumnInfo(), begin_ypos, CH_END_PARA, contain_cshape, cshape, cshapep, ctrlflag, etcflag, hhstr, linfo, nch, nline, pshape, pstyno, HWPFile::Read1b(), HWPFile::Read2b(), HWPFile::Read4b(), readHBox(), reuse_shape, scflag, HWPFile::SetColumnDef(), HWPFile::State(), and DepthGuard::toodeep().
Definition at line 186 of file hpara.cxx.
References HWPFile::already_importing_type(), FBoxStyle::anchor_type, begin_ypos, CH_AUTO_NUM, CH_BOOKMARK, CH_COMPOSE, CH_DATE_CODE, CH_DATE_FORM, CH_END_PARA, CH_FIELD, CH_FIXED_SPACE, CH_FOOTNOTE, CH_HEADER_FOOTER, CH_HIDDEN, CH_HYPHEN, CH_INDEX_MARK, CH_KEEP_SPACE, CH_LINE, CH_MAIL_MERGE, CH_NEW_NUM, CH_OUTLINE, CH_PAGE_NUM_CTRL, CH_PICTURE, CH_SHOW_PAGE_NUM, CH_TAB, CH_TEXT_BOX, CH_TOC_MARK, HWP_NoError, IS_SP_SKIP_BLOCK, FBox::pgy, HWPFile::pop_hpara_type(), HWPFile::push_hpara_type(), HWPFile::Read2b(), scflag, HWPFile::State(), and FBox::style.
Referenced by Read().
hunit HWPPara::begin_ypos |
Definition at line 83 of file hpara.h.
Referenced by Read(), and readHBox().
unsigned char HWPPara::contain_cshape |
If the value is 0, all character of paragraph have same style given cshape.
Definition at line 89 of file hpara.h.
Referenced by GetCharShape(), HwpReader::parsePara(), and Read().
std::shared_ptr<CharShape> HWPPara::cshape |
Definition at line 96 of file hpara.h.
Referenced by GetCharShape(), HwpReader::make_text_p0(), HwpReader::make_text_p1(), and Read().
std::vector<std::shared_ptr<CharShape> > HWPPara::cshapep |
Definition at line 100 of file hpara.h.
Referenced by GetCharShape(), and Read().
uint HWPPara::ctrlflag |
Checks the special characters in the paragraph.
Definition at line 94 of file hpara.h.
Referenced by HwpReader::parsePara(), and Read().
std::vector<std::unique_ptr<HBox> > HWPPara::hhstr |
Box object list.
Definition at line 104 of file hpara.h.
Referenced by HwpReader::make_text_p0(), HwpReader::make_text_p1(), HwpReader::make_text_p3(), HwpReader::makeFormula(), HwpReader::makeHidden(), and Read().
std::unique_ptr<LineInfo[]> HWPPara::linfo |
unsigned short HWPPara::nch |
Definition at line 79 of file hpara.h.
Referenced by HwpReader::parsePara(), and Read().
std::shared_ptr<ParaShape> HWPPara::pshape |
unsigned char HWPPara::reuse_shape |
unsigned char HWPPara::scflag |
Definition at line 84 of file hpara.h.
Referenced by Read(), and readHBox().