LibreOffice Module hwpfilter (master) 1
Classes | Macros | Enumerations | Variables
hbox.h File Reference
#include <sal/config.h>
#include <array>
#include <memory>
#include <rtl/ustring.hxx>
#include <sal/types.h>
#include "hwplib.h"
#include "hwpfile.h"
#include "hinfo.h"
#include "hpara.h"
Include dependency graph for hbox.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  HBox
 The HBox class is the base class for all date classes in hwp document. More...
 
struct  SkipData
 Class for skipping data. More...
 
struct  FieldCode
 
struct  Bookmark
 Class for BOOKMARK. More...
 
struct  DateFormat
 Class for saving date format made by user. More...
 
struct  DateCode
 Class for current date and time with specified format. More...
 
struct  Tab
 Tab object. More...
 
struct  CellLine
 
struct  Cell
 A cell has four properties to specify the position for itself in hwp. More...
 
struct  FBoxStyle
 Style for floating object. More...
 
struct  FBox
 This object is for floating object like table, image, line and so on. More...
 
struct  TxtBox
 The TxtBox class saves object properties about table, textbox, equalizer or button. More...
 
struct  Columns
 
struct  Rows
 
struct  TCell
 
struct  Table
 
struct  PicDefFile
 External image file. More...
 
struct  PicDefEmbed
 Embedded image file. More...
 
struct  PicDefOle
 Win32 ole object. More...
 
struct  PicDefDraw
 Drawing object of hwp. More...
 
struct  PicDefUnknown
 For using common case. More...
 
union  PicDef
 
struct  Picture
 There are four kinds of image. More...
 
struct  Line
 Line. More...
 
struct  Hidden
 Hidden section. More...
 
struct  HeaderFooter
 Header or footer. More...
 
struct  Footnote
 Both footnote and endnote are comment. More...
 
struct  AutoNum
 Input current index of page,comment,table and picture. More...
 
struct  NewNum
 Input new number as current index of page,comment,table and picture. More...
 
struct  ShowPageNum
 Input page index in footer or header. More...
 
struct  PageNumCtrl
 Controls the display of page number, header, footer and border. More...
 
struct  MailMerge
 Generates the mailing list automatically using address book and mail body format. More...
 
struct  Compose
 The compose struct displays characters at position. More...
 
struct  Hyphen
 Hyphen. More...
 
struct  TocMark
 The TocMark class is for making the content of a table. More...
 
struct  IndexMark
 IndexMark marks the table of search. More...
 
class  Outline
 Number and format of title. More...
 
struct  KeepSpace
 The Special space to be treated non-space when a string is cut at the end of line. More...
 
struct  FixedSpace
 Space with always same width not relation with fonts. More...
 

Macros

#define BMK_COMMENT_LEN   15
 
#define ALLOWED_GAP   5
 
#define INIT_SIZE   20
 
#define ADD_AMOUNT   10
 
#define MAX_OUTLINE_LEVEL   7
 

Enumerations

enum  {
  BM_MARK ,
  BM_BEGIN ,
  BM_END
}
 Kind of BOOKMARK. More...
 
enum  ttype {
  TBL_TYPE ,
  TXT_TYPE ,
  EQU_TYPE ,
  BUTTON_TYPE ,
  HYPERTEXT_TYPE
}
 
enum  {
  OUT_M ,
  IN_M ,
  CELL_M
}
 
enum  {
  L_M ,
  R_M ,
  T_M ,
  B_M
}
 
enum  anchor {
  CHAR_ANCHOR ,
  PARA_ANCHOR ,
  PAGE_ANCHOR ,
  PAPER_ANCHOR
}
 
enum  {
  TF_OCCUPY_SPACE ,
  TF_TRANSPARENT ,
  TF_AROUND_TEXT
}
 
enum  {
  CAP_OUT_BOT ,
  CAP_OUT_TOP ,
  CAP_IN_BOT ,
  CAP_IN_TOP ,
  CAP_LEFT_BOT ,
  CAP_LEFT_TOP ,
  CAP_RIGHT_BOT ,
  CAP_RIGHT_TOP ,
  EQU_CAP_POS
}
 
enum  pictype {
  PICTYPE_FILE ,
  PICTYPE_OLE ,
  PICTYPE_EMBED ,
  PICTYPE_DRAW ,
  PICTYPE_UNKNOWN
}
 
enum  {
  PGNUM_AUTO ,
  FNNUM_AUTO ,
  ENNUM_AUTO ,
  PICNUM_AUTO ,
  TBLNUM_AUTO ,
  EQUNUM_AUTO
}
 Kind of auto input number. More...
 
enum  {
  OLSTY_USER = 0 ,
  OLSTY_NUMS1 = 1 ,
  OLSTY_NUMS2 = 2 ,
  OLSTY_NUMSIG1 = 3 ,
  OLSTY_NUMSIG2 = 4 ,
  OLSTY_NUMSIG3 = 5 ,
  OLSTY_BULUSER = 128 ,
  OLSTY_BULLET1 = 129 ,
  OLSTY_BULLET2 = 130 ,
  OLSTY_BULLET3 = 131 ,
  OLSTY_BULLET4 = 132 ,
  OLSTY_BULLET5 = 133
}
 
enum  {
  UDO_NUM ,
  UDO_UROM ,
  UDO_LROM ,
  UDO_UENG ,
  UDO_LENG ,
  UDO_SYLL ,
  UDO_JAMO ,
  UDO_HANJA ,
  UDO_SP_CNUM ,
  UDO_SP_CLENG ,
  UDO_SP_CSYLL ,
  UDO_SP_CJAMO ,
  N_UDO
}
 

Variables

const int DATE_SIZE = 40
 

Macro Definition Documentation

◆ ADD_AMOUNT

#define ADD_AMOUNT   10

Definition at line 381 of file hbox.h.

◆ ALLOWED_GAP

#define ALLOWED_GAP   5

Definition at line 379 of file hbox.h.

◆ BMK_COMMENT_LEN

#define BMK_COMMENT_LEN   15

Definition at line 107 of file hbox.h.

◆ INIT_SIZE

#define INIT_SIZE   20

Definition at line 380 of file hbox.h.

◆ MAX_OUTLINE_LEVEL

#define MAX_OUTLINE_LEVEL   7

Definition at line 907 of file hbox.h.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
OLSTY_USER 
OLSTY_NUMS1 
OLSTY_NUMS2 
OLSTY_NUMSIG1 
OLSTY_NUMSIG2 
OLSTY_NUMSIG3 
OLSTY_BULUSER 
OLSTY_BULLET1 
OLSTY_BULLET2 
OLSTY_BULLET3 
OLSTY_BULLET4 
OLSTY_BULLET5 

Definition at line 909 of file hbox.h.

◆ anonymous enum

anonymous enum
Enumerator
UDO_NUM 
UDO_UROM 
UDO_LROM 
UDO_UENG 
UDO_LENG 
UDO_SYLL 
UDO_JAMO 
UDO_HANJA 
UDO_SP_CNUM 
UDO_SP_CLENG 
UDO_SP_CSYLL 
UDO_SP_CJAMO 
N_UDO 

Definition at line 926 of file hbox.h.

◆ anonymous enum

anonymous enum

Kind of BOOKMARK.

Enumerator
BM_MARK 
BM_BEGIN 
BM_END 

Definition at line 100 of file hbox.h.

◆ anonymous enum

anonymous enum
Enumerator
OUT_M 
IN_M 
CELL_M 

Definition at line 178 of file hbox.h.

◆ anonymous enum

anonymous enum
Enumerator
L_M 
R_M 
T_M 
B_M 

Definition at line 182 of file hbox.h.

◆ anonymous enum

anonymous enum
Enumerator
TF_OCCUPY_SPACE 
TF_TRANSPARENT 
TF_AROUND_TEXT 

Definition at line 187 of file hbox.h.

◆ anonymous enum

anonymous enum
Enumerator
CAP_OUT_BOT 
CAP_OUT_TOP 
CAP_IN_BOT 
CAP_IN_TOP 
CAP_LEFT_BOT 
CAP_LEFT_TOP 
CAP_RIGHT_BOT 
CAP_RIGHT_TOP 
EQU_CAP_POS 

Definition at line 188 of file hbox.h.

◆ anonymous enum

anonymous enum

Kind of auto input number.

Enumerator
PGNUM_AUTO 
FNNUM_AUTO 
ENNUM_AUTO 
PICNUM_AUTO 
TBLNUM_AUTO 
EQUNUM_AUTO 

Definition at line 743 of file hbox.h.

◆ anchor

enum anchor
Enumerator
CHAR_ANCHOR 
PARA_ANCHOR 
PAGE_ANCHOR 
PAPER_ANCHOR 

Definition at line 186 of file hbox.h.

◆ pictype

enum pictype
Enumerator
PICTYPE_FILE 
PICTYPE_OLE 
PICTYPE_EMBED 
PICTYPE_DRAW 
PICTYPE_UNKNOWN 

Definition at line 521 of file hbox.h.

◆ ttype

enum ttype
Enumerator
TBL_TYPE 
TXT_TYPE 
EQU_TYPE 
BUTTON_TYPE 
HYPERTEXT_TYPE 

Definition at line 177 of file hbox.h.

Variable Documentation

◆ DATE_SIZE

const int DATE_SIZE = 40