58 if( pex >> 15 & 0x01 )
62 pPara->
pshape->reserved[0] = sal::static_int_cast<unsigned char>(pex & 0x01);
63 pPara->
pshape->reserved[1] = sal::static_int_cast<unsigned char>(pex & 0x02);
116 linfo.reset(::comphelper::newArray_null<LineInfo>(
nline));
117 for (ii = 0; ii <
nline; ii++)
119 linfo[ii].Read(hwpf,
this);
126 if(
pshape->xColdef->ncols > 1 ) {
144 for (ii = 0; ii <
nch; ii++)
146 cshapep[ii] = std::make_shared<CharShape>();
148 unsigned char same_cshape(0);
169 hhstr.emplace_back(std::move(hBox));
174 ii +=
hhstr.back()->WSize();
188 std::unique_ptr<HBox> hbox;
198 hbox.reset(
new HBox(hh));
227 hbox.reset(
new Line);
284 bool bRead = hbox->Read(hwpf);
294 FBox *fbox =
static_cast<FBox *
>(hbox.get());
298 int nTemp = fbox->
pgy;
300 fbox->
pgy = sal::static_int_cast<short>(nTemp);
The HWPFile class is the main class of hwp for reading file information from stream.
void SetColumnDef(std::shared_ptr< ColumnDef > const &)
int State(void) const
Say current state.
void AddCharShape(std::shared_ptr< CharShape > const &)
bool Read1b(unsigned char &out)
Reads one byte from HIODev.
bool already_importing_type(unsigned char scflag) const
void push_hpara_type(unsigned char scflag)
bool Read2b(unsigned short &out)
Reads two byte from HIODev.
bool Read4b(unsigned int &out)
Reads four byte from HIODev.
It represents the paragraph.
std::unique_ptr< HBox > readHBox(HWPFile &)
std::vector< std::unique_ptr< HBox > > hhstr
Box object list.
CharShape * GetCharShape(int pos)
Returns the character style of paragraph.
std::unique_ptr< LineInfo[]> linfo
unsigned char contain_cshape
If the value is 0, all character of paragraph have same style given cshape.
bool Read(HWPFile &hwpf, unsigned char flag)
uint ctrlflag
Checks the special characters in the paragraph.
unsigned char reuse_shape
Zero is for the new paragraph style.
std::shared_ptr< ParaShape > pshape
std::vector< std::shared_ptr< CharShape > > cshapep
std::shared_ptr< CharShape > cshape
Number and format of title.
char16_t hchar
size of hunit is 4 since hwp96 version
#define IS_SP_SKIP_BLOCK(hch)
std::shared_ptr< T > make_shared(Args &&... args)
Input current index of page,comment,table and picture.
The compose struct displays characters at position.
Class for current date and time with specified format.
unsigned char anchor_type
Anchor type : paragraph , page, char.
This object is for floating object like table, image, line and so on.
Space with always same width not relation with fonts.
The HBox class is the base class for all date classes in hwp document.
IndexMark marks the table of search.
The Special space to be treated non-space when a string is cut at the end of line.
Generates the mailing list automatically using address book and mail body format.
Input new number as current index of page,comment,table and picture.
Controls the display of page number, header, footer and border.
There are four kinds of image.
Input page index in footer or header.
The TocMark class is for making the content of a table.
The TxtBox class saves object properties about table, textbox, equalizer or button.