LibreOffice Module sw (master)  1
Enumerations | Functions | Variables
poolfmt.hxx File Reference
#include <limits.h>
#include <editeng/frmdir.hxx>
#include <i18nlangtag/lang.h>
Include dependency graph for poolfmt.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  RES_POOLFMT {
  RES_POOLFMT_BEGIN = 1,
  RES_POOL_CHRFMT = RES_POOLFMT_BEGIN,
  RES_POOL_FRMFMT,
  RES_POOL_TXTCOLL,
  RES_POOL_PAGEFMT,
  RES_POOL_PARFMT,
  RES_POOL_GRFFMT,
  RES_POOLFMT_END
}
 IDs for the ranges. More...
 
enum  RES_POOL_CHRFMT_TYPE {
  RES_POOLCHR_BEGIN = POOLGRP_CHARFMT,
  RES_POOLCHR_NORMAL_BEGIN = POOLGRP_CHARFMT,
  RES_POOLCHR_FOOTNOTE = RES_POOLCHR_NORMAL_BEGIN,
  RES_POOLCHR_PAGENO,
  RES_POOLCHR_LABEL,
  RES_POOLCHR_DROPCAPS,
  RES_POOLCHR_NUM_LEVEL,
  RES_POOLCHR_BUL_LEVEL,
  RES_POOLCHR_INET_NORMAL,
  RES_POOLCHR_INET_VISIT,
  RES_POOLCHR_JUMPEDIT,
  RES_POOLCHR_TOXJUMP,
  RES_POOLCHR_ENDNOTE,
  RES_POOLCHR_LINENUM,
  RES_POOLCHR_IDX_MAIN_ENTRY,
  RES_POOLCHR_FOOTNOTE_ANCHOR,
  RES_POOLCHR_ENDNOTE_ANCHOR,
  RES_POOLCHR_RUBYTEXT,
  RES_POOLCHR_VERT_NUM,
  RES_POOLCHR_NORMAL_END,
  RES_POOLCHR_HTML_BEGIN = RES_POOLCHR_BEGIN + 50,
  RES_POOLCHR_HTML_EMPHASIS = RES_POOLCHR_HTML_BEGIN,
  RES_POOLCHR_HTML_CITIATION,
  RES_POOLCHR_HTML_STRONG,
  RES_POOLCHR_HTML_CODE,
  RES_POOLCHR_HTML_SAMPLE,
  RES_POOLCHR_HTML_KEYBOARD,
  RES_POOLCHR_HTML_VARIABLE,
  RES_POOLCHR_HTML_DEFINSTANCE,
  RES_POOLCHR_HTML_TELETYPE,
  RES_POOLCHR_HTML_END,
  RES_POOLCHR_END = RES_POOLCHR_HTML_END
}
 Ranges for the IDs of the formats. More...
 
enum  RES_POOL_FRMFMT_TYPE {
  RES_POOLFRM_BEGIN = POOLGRP_FRAMEFMT,
  RES_POOLFRM_FRAME = RES_POOLFRM_BEGIN,
  RES_POOLFRM_GRAPHIC,
  RES_POOLFRM_OLE,
  RES_POOLFRM_FORMEL,
  RES_POOLFRM_MARGINAL,
  RES_POOLFRM_WATERSIGN,
  RES_POOLFRM_LABEL,
  RES_POOLFRM_END
}
 IDs for frame styles. More...
 
enum  RES_POOL_PAGEFMT_TYPE {
  RES_POOLPAGE_BEGIN = POOLGRP_PAGEDESC,
  RES_POOLPAGE_STANDARD = RES_POOLPAGE_BEGIN,
  RES_POOLPAGE_FIRST,
  RES_POOLPAGE_LEFT,
  RES_POOLPAGE_RIGHT,
  RES_POOLPAGE_JAKET,
  RES_POOLPAGE_REGISTER,
  RES_POOLPAGE_HTML,
  RES_POOLPAGE_FOOTNOTE,
  RES_POOLPAGE_ENDNOTE,
  RES_POOLPAGE_LANDSCAPE,
  RES_POOLPAGE_END
}
 IDs for page styles. More...
 
enum  RES_POOL_NUMRULE_TYPE {
  RES_POOLNUMRULE_BEGIN = POOLGRP_NUMRULE,
  RES_POOLNUMRULE_NUM1 = RES_POOLNUMRULE_BEGIN,
  RES_POOLNUMRULE_NUM2,
  RES_POOLNUMRULE_NUM3,
  RES_POOLNUMRULE_NUM4,
  RES_POOLNUMRULE_NUM5,
  RES_POOLNUMRULE_BUL1,
  RES_POOLNUMRULE_BUL2,
  RES_POOLNUMRULE_BUL3,
  RES_POOLNUMRULE_BUL4,
  RES_POOLNUMRULE_BUL5,
  RES_POOLNUMRULE_END
}
 
enum  RES_POOL_TABSTYLE_TYPE {
  RES_POOLTABSTYLE_BEGIN = POOLGRP_TABSTYLE,
  RES_POOLTABSTYLE_DEFAULT = RES_POOLTABSTYLE_BEGIN,
  RES_POOLTABLESTYLE_3D,
  RES_POOLTABLESTYLE_BLACK1,
  RES_POOLTABLESTYLE_BLACK2,
  RES_POOLTABLESTYLE_BLUE,
  RES_POOLTABLESTYLE_BROWN,
  RES_POOLTABLESTYLE_CURRENCY,
  RES_POOLTABLESTYLE_CURRENCY_3D,
  RES_POOLTABLESTYLE_CURRENCY_GRAY,
  RES_POOLTABLESTYLE_CURRENCY_LAVENDER,
  RES_POOLTABLESTYLE_CURRENCY_TURQUOISE,
  RES_POOLTABLESTYLE_GRAY,
  RES_POOLTABLESTYLE_GREEN,
  RES_POOLTABLESTYLE_LAVENDER,
  RES_POOLTABLESTYLE_RED,
  RES_POOLTABLESTYLE_TURQUOISE,
  RES_POOLTABLESTYLE_YELLOW,
  RES_POOLTABLESTYLE_LO6_ACADEMIC,
  RES_POOLTABLESTYLE_LO6_BOX_LIST_BLUE,
  RES_POOLTABLESTYLE_LO6_BOX_LIST_GREEN,
  RES_POOLTABLESTYLE_LO6_BOX_LIST_RED,
  RES_POOLTABLESTYLE_LO6_BOX_LIST_YELLOW,
  RES_POOLTABLESTYLE_LO6_ELEGANT,
  RES_POOLTABLESTYLE_LO6_FINANCIAL,
  RES_POOLTABLESTYLE_LO6_SIMPLE_GRID_COLUMNS,
  RES_POOLTABLESTYLE_LO6_SIMPLE_GRID_ROWS,
  RES_POOLTABLESTYLE_LO6_SIMPLE_LIST_SHADED,
  RES_POOLTABSTYLE_END
}
 
enum  RES_POOL_CELLSTYLE_TYPE {
  RES_POOLCELLSTYLE_BEGIN = POOLGRP_CELLSTYLE,
  RES_POOLCELLSTYLE_END = RES_POOLCELLSTYLE_BEGIN
}
 
enum  RES_POOL_COLLFMT_TYPE {
  RES_POOLCOLL_TEXT_BEGIN = COLL_TEXT_BITS,
  RES_POOLCOLL_STANDARD = RES_POOLCOLL_TEXT_BEGIN,
  RES_POOLCOLL_TEXT,
  RES_POOLCOLL_TEXT_IDENT,
  RES_POOLCOLL_TEXT_NEGIDENT,
  RES_POOLCOLL_TEXT_MOVE,
  RES_POOLCOLL_GREETING,
  RES_POOLCOLL_SIGNATURE,
  RES_POOLCOLL_CONFRONTATION,
  RES_POOLCOLL_MARGINAL,
  RES_POOLCOLL_HEADLINE_BASE,
  RES_POOLCOLL_HEADLINE1,
  RES_POOLCOLL_HEADLINE2,
  RES_POOLCOLL_HEADLINE3,
  RES_POOLCOLL_HEADLINE4,
  RES_POOLCOLL_HEADLINE5,
  RES_POOLCOLL_HEADLINE6,
  RES_POOLCOLL_HEADLINE7,
  RES_POOLCOLL_HEADLINE8,
  RES_POOLCOLL_HEADLINE9,
  RES_POOLCOLL_HEADLINE10,
  RES_POOLCOLL_TEXT_END,
  RES_POOLCOLL_LISTS_BEGIN = COLL_LISTS_BITS,
  RES_POOLCOLL_NUMBUL_BASE = RES_POOLCOLL_LISTS_BEGIN,
  RES_POOLCOLL_NUM_LEVEL1S,
  RES_POOLCOLL_NUM_LEVEL1,
  RES_POOLCOLL_NUM_LEVEL1E,
  RES_POOLCOLL_NUM_NONUM1,
  RES_POOLCOLL_NUM_LEVEL2S,
  RES_POOLCOLL_NUM_LEVEL2,
  RES_POOLCOLL_NUM_LEVEL2E,
  RES_POOLCOLL_NUM_NONUM2,
  RES_POOLCOLL_NUM_LEVEL3S,
  RES_POOLCOLL_NUM_LEVEL3,
  RES_POOLCOLL_NUM_LEVEL3E,
  RES_POOLCOLL_NUM_NONUM3,
  RES_POOLCOLL_NUM_LEVEL4S,
  RES_POOLCOLL_NUM_LEVEL4,
  RES_POOLCOLL_NUM_LEVEL4E,
  RES_POOLCOLL_NUM_NONUM4,
  RES_POOLCOLL_NUM_LEVEL5S,
  RES_POOLCOLL_NUM_LEVEL5,
  RES_POOLCOLL_NUM_LEVEL5E,
  RES_POOLCOLL_NUM_NONUM5,
  RES_POOLCOLL_BUL_LEVEL1S,
  RES_POOLCOLL_BUL_LEVEL1,
  RES_POOLCOLL_BUL_LEVEL1E,
  RES_POOLCOLL_BUL_NONUM1,
  RES_POOLCOLL_BUL_LEVEL2S,
  RES_POOLCOLL_BUL_LEVEL2,
  RES_POOLCOLL_BUL_LEVEL2E,
  RES_POOLCOLL_BUL_NONUM2,
  RES_POOLCOLL_BUL_LEVEL3S,
  RES_POOLCOLL_BUL_LEVEL3,
  RES_POOLCOLL_BUL_LEVEL3E,
  RES_POOLCOLL_BUL_NONUM3,
  RES_POOLCOLL_BUL_LEVEL4S,
  RES_POOLCOLL_BUL_LEVEL4,
  RES_POOLCOLL_BUL_LEVEL4E,
  RES_POOLCOLL_BUL_NONUM4,
  RES_POOLCOLL_BUL_LEVEL5S,
  RES_POOLCOLL_BUL_LEVEL5,
  RES_POOLCOLL_BUL_LEVEL5E,
  RES_POOLCOLL_BUL_NONUM5,
  RES_POOLCOLL_LISTS_END,
  RES_POOLCOLL_EXTRA_BEGIN = COLL_EXTRA_BITS,
  RES_POOLCOLL_HEADERFOOTER = RES_POOLCOLL_EXTRA_BEGIN,
  RES_POOLCOLL_HEADER,
  RES_POOLCOLL_HEADERL,
  RES_POOLCOLL_HEADERR,
  RES_POOLCOLL_FOOTER,
  RES_POOLCOLL_FOOTERL,
  RES_POOLCOLL_FOOTERR,
  RES_POOLCOLL_TABLE,
  RES_POOLCOLL_TABLE_HDLN,
  RES_POOLCOLL_LABEL,
  RES_POOLCOLL_LABEL_ABB,
  RES_POOLCOLL_LABEL_TABLE,
  RES_POOLCOLL_LABEL_FRAME,
  RES_POOLCOLL_LABEL_FIGURE,
  RES_POOLCOLL_FRAME,
  RES_POOLCOLL_FOOTNOTE,
  RES_POOLCOLL_JAKETADRESS,
  RES_POOLCOLL_SENDADRESS,
  RES_POOLCOLL_ENDNOTE,
  RES_POOLCOLL_LABEL_DRAWING,
  RES_POOLCOLL_EXTRA_END,
  RES_POOLCOLL_REGISTER_BEGIN = COLL_REGISTER_BITS,
  RES_POOLCOLL_REGISTER_BASE = RES_POOLCOLL_REGISTER_BEGIN,
  RES_POOLCOLL_TOX_IDXH,
  RES_POOLCOLL_TOX_IDX1,
  RES_POOLCOLL_TOX_IDX2,
  RES_POOLCOLL_TOX_IDX3,
  RES_POOLCOLL_TOX_IDXBREAK,
  RES_POOLCOLL_TOX_CNTNTH,
  RES_POOLCOLL_TOX_CNTNT1,
  RES_POOLCOLL_TOX_CNTNT2,
  RES_POOLCOLL_TOX_CNTNT3,
  RES_POOLCOLL_TOX_CNTNT4,
  RES_POOLCOLL_TOX_CNTNT5,
  RES_POOLCOLL_TOX_USERH,
  RES_POOLCOLL_TOX_USER1,
  RES_POOLCOLL_TOX_USER2,
  RES_POOLCOLL_TOX_USER3,
  RES_POOLCOLL_TOX_USER4,
  RES_POOLCOLL_TOX_USER5,
  RES_POOLCOLL_TOX_CNTNT6,
  RES_POOLCOLL_TOX_CNTNT7,
  RES_POOLCOLL_TOX_CNTNT8,
  RES_POOLCOLL_TOX_CNTNT9,
  RES_POOLCOLL_TOX_CNTNT10,
  RES_POOLCOLL_TOX_ILLUSH,
  RES_POOLCOLL_TOX_ILLUS1,
  RES_POOLCOLL_TOX_OBJECTH,
  RES_POOLCOLL_TOX_OBJECT1,
  RES_POOLCOLL_TOX_TABLESH,
  RES_POOLCOLL_TOX_TABLES1,
  RES_POOLCOLL_TOX_AUTHORITIESH,
  RES_POOLCOLL_TOX_AUTHORITIES1,
  RES_POOLCOLL_TOX_USER6,
  RES_POOLCOLL_TOX_USER7,
  RES_POOLCOLL_TOX_USER8,
  RES_POOLCOLL_TOX_USER9,
  RES_POOLCOLL_TOX_USER10,
  RES_POOLCOLL_REGISTER_END,
  RES_POOLCOLL_DOC_BEGIN = COLL_DOC_BITS,
  RES_POOLCOLL_DOC_TITEL = RES_POOLCOLL_DOC_BEGIN,
  RES_POOLCOLL_DOC_SUBTITEL,
  RES_POOLCOLL_DOC_END,
  RES_POOLCOLL_HTML_BEGIN = COLL_HTML_BITS,
  RES_POOLCOLL_HTML_BLOCKQUOTE = RES_POOLCOLL_HTML_BEGIN,
  RES_POOLCOLL_HTML_PRE,
  RES_POOLCOLL_HTML_HR,
  RES_POOLCOLL_HTML_DD,
  RES_POOLCOLL_HTML_DT,
  RES_POOLCOLL_HTML_END
}
 

Functions

bool IsPoolUserFormat (sal_uInt16 nId)
 
sal_uInt16 GetPoolParent (sal_uInt16 nId)
 Query defined parent of a POOL-ID Returns 0 if standard USHRT_MAX if no parent the parent in all other cases. More...
 
SvxFrameDirection GetDefaultFrameDirection (LanguageType nLanguage)
 Return the AutoCollection by its Id. More...
 
bool IsConditionalByPoolId (sal_uInt16 nId)
 

Variables

const sal_uInt16 POOLGRP_NOCOLLID = (1 << 10)
 POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+. More...
 
const sal_uInt16 USER_FMT = (1 << 15)
 POLLCOLL-groups: More...
 
const sal_uInt16 POOL_FMT = (0 << 15)
 
const sal_uInt16 COLL_TEXT_BITS = (1 << 11)
 
const sal_uInt16 COLL_LISTS_BITS = (2 << 11)
 
const sal_uInt16 COLL_EXTRA_BITS = (3 << 11)
 
const sal_uInt16 COLL_REGISTER_BITS = (4 << 11)
 
const sal_uInt16 COLL_DOC_BITS = (5 << 11)
 
const sal_uInt16 COLL_HTML_BITS = (6 << 11)
 
const sal_uInt16 COLL_GET_RANGE_BITS = (15 << 11)
 
const sal_uInt16 POOLGRP_CHARFMT = (0 << 11) + POOLGRP_NOCOLLID
 Other groups: More...
 
const sal_uInt16 POOLGRP_FRAMEFMT = (1 << 11) + POOLGRP_NOCOLLID
 
const sal_uInt16 POOLGRP_PAGEDESC = (2 << 11) + POOLGRP_NOCOLLID
 
const sal_uInt16 POOLGRP_NUMRULE = (3 << 11) + POOLGRP_NOCOLLID
 
const sal_uInt16 POOLGRP_TABSTYLE = (4 << 11) + POOLGRP_NOCOLLID
 
const sal_uInt16 POOLGRP_CELLSTYLE = (5 << 11) + POOLGRP_NOCOLLID
 
const sal_uInt16 POOL_IDUSER_FMT
 Recognize whether it's a user defined style or not: More...
 

Enumeration Type Documentation

Enumerator
RES_POOLCELLSTYLE_BEGIN 
RES_POOLCELLSTYLE_END 

Definition at line 238 of file poolfmt.hxx.

Ranges for the IDs of the formats.

IDs for character styles.

Enumerator
RES_POOLCHR_BEGIN 
RES_POOLCHR_NORMAL_BEGIN 
RES_POOLCHR_FOOTNOTE 

Footnote.

RES_POOLCHR_PAGENO 

Pages/field.

RES_POOLCHR_LABEL 

Label.

RES_POOLCHR_DROPCAPS 

Dropcaps.

RES_POOLCHR_NUM_LEVEL 

Numbering symbols.

RES_POOLCHR_BUL_LEVEL 

Bullets.

RES_POOLCHR_INET_NORMAL 

Internet normal.

RES_POOLCHR_INET_VISIT 

Internet visited.

RES_POOLCHR_JUMPEDIT 

Placeholder.

RES_POOLCHR_TOXJUMP 

Jump from index.

RES_POOLCHR_ENDNOTE 

Endnote.

RES_POOLCHR_LINENUM 

Line numbering.

RES_POOLCHR_IDX_MAIN_ENTRY 

Main entry in indices.

RES_POOLCHR_FOOTNOTE_ANCHOR 

Footnote anchor.

RES_POOLCHR_ENDNOTE_ANCHOR 

Endnote anchor.

RES_POOLCHR_RUBYTEXT 

Rubytext.

RES_POOLCHR_VERT_NUM 

Vertical numbering symbols.

RES_POOLCHR_NORMAL_END 
RES_POOLCHR_HTML_BEGIN 

HTML-styles.

RES_POOLCHR_HTML_EMPHASIS 
RES_POOLCHR_HTML_CITIATION 
RES_POOLCHR_HTML_STRONG 
RES_POOLCHR_HTML_CODE 
RES_POOLCHR_HTML_SAMPLE 
RES_POOLCHR_HTML_KEYBOARD 
RES_POOLCHR_HTML_VARIABLE 
RES_POOLCHR_HTML_DEFINSTANCE 
RES_POOLCHR_HTML_TELETYPE 
RES_POOLCHR_HTML_END 
RES_POOLCHR_END 

Definition at line 109 of file poolfmt.hxx.

Enumerator
RES_POOLCOLL_TEXT_BEGIN 
RES_POOLCOLL_STANDARD 

Standard.

RES_POOLCOLL_TEXT 

Text body.

RES_POOLCOLL_TEXT_IDENT 

Text body first line indent.

RES_POOLCOLL_TEXT_NEGIDENT 

Text body hanging indent.

RES_POOLCOLL_TEXT_MOVE 

Text body indent.

RES_POOLCOLL_GREETING 

Complimentary close.

RES_POOLCOLL_SIGNATURE 

Signature.

RES_POOLCOLL_CONFRONTATION 

List indent.

RES_POOLCOLL_MARGINAL 

Marginalia.

RES_POOLCOLL_HEADLINE_BASE 

Subgroup headings.

Base heading.

RES_POOLCOLL_HEADLINE1 

Heading 1.

RES_POOLCOLL_HEADLINE2 

Heading 2.

RES_POOLCOLL_HEADLINE3 

Heading 3.

RES_POOLCOLL_HEADLINE4 

Heading 4.

RES_POOLCOLL_HEADLINE5 

Heading 5.

RES_POOLCOLL_HEADLINE6 

Heading 6.

RES_POOLCOLL_HEADLINE7 

Heading 7.

RES_POOLCOLL_HEADLINE8 

Heading 8.

RES_POOLCOLL_HEADLINE9 

Heading 9.

RES_POOLCOLL_HEADLINE10 

Heading 10.

RES_POOLCOLL_TEXT_END 
RES_POOLCOLL_LISTS_BEGIN 

Group lists.

RES_POOLCOLL_NUMBUL_BASE 

Base list.

RES_POOLCOLL_NUM_LEVEL1S 

Subgroup numberings.

Start 1st level.

RES_POOLCOLL_NUM_LEVEL1 

1st level.

RES_POOLCOLL_NUM_LEVEL1E 

End 1st level.

RES_POOLCOLL_NUM_NONUM1 

No numbering.

RES_POOLCOLL_NUM_LEVEL2S 

Start 2nd level.

RES_POOLCOLL_NUM_LEVEL2 

2nd level.

RES_POOLCOLL_NUM_LEVEL2E 

End 2nd level.

RES_POOLCOLL_NUM_NONUM2 

No numbering.

RES_POOLCOLL_NUM_LEVEL3S 

Start 3rd level.

RES_POOLCOLL_NUM_LEVEL3 

3rd level.

RES_POOLCOLL_NUM_LEVEL3E 

End 3rd level.

RES_POOLCOLL_NUM_NONUM3 

No numbering.

RES_POOLCOLL_NUM_LEVEL4S 

Start 4th level.

RES_POOLCOLL_NUM_LEVEL4 

4th level.

RES_POOLCOLL_NUM_LEVEL4E 

End 4th level.

RES_POOLCOLL_NUM_NONUM4 

No numbering.

RES_POOLCOLL_NUM_LEVEL5S 

Start 5th level.

RES_POOLCOLL_NUM_LEVEL5 

5th level.

RES_POOLCOLL_NUM_LEVEL5E 

End 5th level.

RES_POOLCOLL_NUM_NONUM5 

No numbering.

RES_POOLCOLL_BUL_LEVEL1S 

Subgroup bullets.

Start 1st level.

RES_POOLCOLL_BUL_LEVEL1 

1st level.

RES_POOLCOLL_BUL_LEVEL1E 

End 1st level.

RES_POOLCOLL_BUL_NONUM1 

No numbering.

RES_POOLCOLL_BUL_LEVEL2S 

Start 2nd level.

RES_POOLCOLL_BUL_LEVEL2 

2nd level.

RES_POOLCOLL_BUL_LEVEL2E 

End 2nd level.

RES_POOLCOLL_BUL_NONUM2 

No numbering.

RES_POOLCOLL_BUL_LEVEL3S 

Start 3rd level.

RES_POOLCOLL_BUL_LEVEL3 

3rd Level.

RES_POOLCOLL_BUL_LEVEL3E 

End 3rd level.

RES_POOLCOLL_BUL_NONUM3 

No numbering.

RES_POOLCOLL_BUL_LEVEL4S 

Start 4th level.

RES_POOLCOLL_BUL_LEVEL4 

4th level.

RES_POOLCOLL_BUL_LEVEL4E 

End 4th level.

RES_POOLCOLL_BUL_NONUM4 

No numbering.

RES_POOLCOLL_BUL_LEVEL5S 

Start 5th level.

RES_POOLCOLL_BUL_LEVEL5 

5th level.

RES_POOLCOLL_BUL_LEVEL5E 

End 5th Level.

RES_POOLCOLL_BUL_NONUM5 

No numbering.

RES_POOLCOLL_LISTS_END 
RES_POOLCOLL_EXTRA_BEGIN 

Special ranges.

RES_POOLCOLL_HEADERFOOTER 

Subgroup header.

Header and Footer.

RES_POOLCOLL_HEADER 

Header Left&Right.

RES_POOLCOLL_HEADERL 

Header Left.

RES_POOLCOLL_HEADERR 

Header Right.

RES_POOLCOLL_FOOTER 

Subgroup footer.

Footer Left&Right.

RES_POOLCOLL_FOOTERL 

Footer Left.

RES_POOLCOLL_FOOTERR 

Footer Right.

RES_POOLCOLL_TABLE 

Subgroup table.

Table of Contents.

RES_POOLCOLL_TABLE_HDLN 

Table of Contents - heading.

RES_POOLCOLL_LABEL 

Subgroup labels.

Base labels.

RES_POOLCOLL_LABEL_ABB 

Label illustration.

RES_POOLCOLL_LABEL_TABLE 

Label table.

RES_POOLCOLL_LABEL_FRAME 

Label frame.

RES_POOLCOLL_LABEL_FIGURE 

Label figure.

RES_POOLCOLL_FRAME 

Other stuff.

Frames.

RES_POOLCOLL_FOOTNOTE 

Footnotes.

RES_POOLCOLL_JAKETADRESS 

Addressee.

RES_POOLCOLL_SENDADRESS 

Sender.

RES_POOLCOLL_ENDNOTE 

Endnotes.

RES_POOLCOLL_LABEL_DRAWING 

Label drawing objects.

RES_POOLCOLL_EXTRA_END 
RES_POOLCOLL_REGISTER_BEGIN 

Group indices.

RES_POOLCOLL_REGISTER_BASE 

Base index.

RES_POOLCOLL_TOX_IDXH 

Subgroup index tables.

Header.

RES_POOLCOLL_TOX_IDX1 

1st level.

RES_POOLCOLL_TOX_IDX2 

2nd level.

RES_POOLCOLL_TOX_IDX3 

3rd level.

RES_POOLCOLL_TOX_IDXBREAK 

Separator.

RES_POOLCOLL_TOX_CNTNTH 

Subgroup table of contents.

Header.

RES_POOLCOLL_TOX_CNTNT1 

Content 1st level.

RES_POOLCOLL_TOX_CNTNT2 

Content 2nd level.

RES_POOLCOLL_TOX_CNTNT3 

Content 3rd level.

RES_POOLCOLL_TOX_CNTNT4 

Content 4th level.

RES_POOLCOLL_TOX_CNTNT5 

Content 5th level.

RES_POOLCOLL_TOX_USERH 

Subgroup user indices.

Header.

RES_POOLCOLL_TOX_USER1 

1st level.

RES_POOLCOLL_TOX_USER2 

2nd level.

RES_POOLCOLL_TOX_USER3 

3rd level.

RES_POOLCOLL_TOX_USER4 

4th level.

RES_POOLCOLL_TOX_USER5 

5th level.

RES_POOLCOLL_TOX_CNTNT6 

Content 6th level.

RES_POOLCOLL_TOX_CNTNT7 

Content 7th level.

RES_POOLCOLL_TOX_CNTNT8 

Content 8th level.

RES_POOLCOLL_TOX_CNTNT9 

Content 9th level.

RES_POOLCOLL_TOX_CNTNT10 

Content 10th level.

RES_POOLCOLL_TOX_ILLUSH 

illustrations index.

Illustrations header.

RES_POOLCOLL_TOX_ILLUS1 

Illustrations all levels.

RES_POOLCOLL_TOX_OBJECTH 

object index.

Objects header.

RES_POOLCOLL_TOX_OBJECT1 

Objects all levels.

RES_POOLCOLL_TOX_TABLESH 

tables index.

Tables header.

RES_POOLCOLL_TOX_TABLES1 

Tables all levels.

RES_POOLCOLL_TOX_AUTHORITIESH 

index of authorities.

Authorities header.

RES_POOLCOLL_TOX_AUTHORITIES1 

Authorities all levels.

RES_POOLCOLL_TOX_USER6 

user index 6..10.

6th level.

RES_POOLCOLL_TOX_USER7 

7th level.

RES_POOLCOLL_TOX_USER8 

8th level.

RES_POOLCOLL_TOX_USER9 

9th level.

RES_POOLCOLL_TOX_USER10 

10th level.

RES_POOLCOLL_REGISTER_END 
RES_POOLCOLL_DOC_BEGIN 

Group chapter / document.

RES_POOLCOLL_DOC_TITEL 

Doc. title.

RES_POOLCOLL_DOC_SUBTITEL 

Doc. subtitle.

RES_POOLCOLL_DOC_END 
RES_POOLCOLL_HTML_BEGIN 

Group HTML-styles.

RES_POOLCOLL_HTML_BLOCKQUOTE 
RES_POOLCOLL_HTML_PRE 
RES_POOLCOLL_HTML_HR 
RES_POOLCOLL_HTML_DD 
RES_POOLCOLL_HTML_DT 
RES_POOLCOLL_HTML_END 

End of text styles collection.

Definition at line 245 of file poolfmt.hxx.

IDs for frame styles.

Enumerator
RES_POOLFRM_BEGIN 
RES_POOLFRM_FRAME 

Frame.

RES_POOLFRM_GRAPHIC 

Graphics.

RES_POOLFRM_OLE 

OLE.

RES_POOLFRM_FORMEL 

Formula.

RES_POOLFRM_MARGINAL 

Marginalia.

RES_POOLFRM_WATERSIGN 

Watermark.

RES_POOLFRM_LABEL 

Labels.

RES_POOLFRM_END 

Definition at line 151 of file poolfmt.hxx.

Enumerator
RES_POOLNUMRULE_BEGIN 
RES_POOLNUMRULE_NUM1 

NumRule Numbering 123.

RES_POOLNUMRULE_NUM2 

NumRule Numbering ABC.

RES_POOLNUMRULE_NUM3 

NumRule Numbering abc.

RES_POOLNUMRULE_NUM4 

NumRule Numbering IVX.

RES_POOLNUMRULE_NUM5 

NumRule Numbering ivx.

RES_POOLNUMRULE_BUL1 

NumRule Bullets 1.

RES_POOLNUMRULE_BUL2 

NumRule Bullets 2.

RES_POOLNUMRULE_BUL3 

NumRule Bullets 3.

RES_POOLNUMRULE_BUL4 

NumRule Bullets 4.

RES_POOLNUMRULE_BUL5 

NumRule Bullets 5.

RES_POOLNUMRULE_END 

Definition at line 186 of file poolfmt.hxx.

IDs for page styles.

Enumerator
RES_POOLPAGE_BEGIN 
RES_POOLPAGE_STANDARD 

Standard page.

RES_POOLPAGE_FIRST 

First page.

RES_POOLPAGE_LEFT 

Left page.

RES_POOLPAGE_RIGHT 

Right page.

RES_POOLPAGE_JAKET 

Envelope.

RES_POOLPAGE_REGISTER 

Index.

RES_POOLPAGE_HTML 

HTML.

RES_POOLPAGE_FOOTNOTE 

Footnote at end of document.

RES_POOLPAGE_ENDNOTE 

Endnote page.

RES_POOLPAGE_LANDSCAPE 

Landscape page style.

RES_POOLPAGE_END 

Definition at line 167 of file poolfmt.hxx.

Enumerator
RES_POOLTABSTYLE_BEGIN 
RES_POOLTABSTYLE_DEFAULT 
RES_POOLTABLESTYLE_3D 
RES_POOLTABLESTYLE_BLACK1 
RES_POOLTABLESTYLE_BLACK2 
RES_POOLTABLESTYLE_BLUE 
RES_POOLTABLESTYLE_BROWN 
RES_POOLTABLESTYLE_CURRENCY 
RES_POOLTABLESTYLE_CURRENCY_3D 
RES_POOLTABLESTYLE_CURRENCY_GRAY 
RES_POOLTABLESTYLE_CURRENCY_LAVENDER 
RES_POOLTABLESTYLE_CURRENCY_TURQUOISE 
RES_POOLTABLESTYLE_GRAY 
RES_POOLTABLESTYLE_GREEN 
RES_POOLTABLESTYLE_LAVENDER 
RES_POOLTABLESTYLE_RED 
RES_POOLTABLESTYLE_TURQUOISE 
RES_POOLTABLESTYLE_YELLOW 
RES_POOLTABLESTYLE_LO6_ACADEMIC 
RES_POOLTABLESTYLE_LO6_BOX_LIST_BLUE 
RES_POOLTABLESTYLE_LO6_BOX_LIST_GREEN 
RES_POOLTABLESTYLE_LO6_BOX_LIST_RED 
RES_POOLTABLESTYLE_LO6_BOX_LIST_YELLOW 
RES_POOLTABLESTYLE_LO6_ELEGANT 
RES_POOLTABLESTYLE_LO6_FINANCIAL 
RES_POOLTABLESTYLE_LO6_SIMPLE_GRID_COLUMNS 
RES_POOLTABLESTYLE_LO6_SIMPLE_GRID_ROWS 
RES_POOLTABLESTYLE_LO6_SIMPLE_LIST_SHADED 
RES_POOLTABSTYLE_END 

Definition at line 203 of file poolfmt.hxx.

IDs for the ranges.

Enumerator
RES_POOLFMT_BEGIN 
RES_POOL_CHRFMT 
RES_POOL_FRMFMT 
RES_POOL_TXTCOLL 
RES_POOL_PAGEFMT 
RES_POOL_PARFMT 
RES_POOL_GRFFMT 
RES_POOLFMT_END 

Definition at line 93 of file poolfmt.hxx.

Function Documentation

SvxFrameDirection GetDefaultFrameDirection ( LanguageType  nLanguage)

Return the AutoCollection by its Id.

If it doesn't exist yet, create it. If the String pointer is defined, then only query for the Attribute descriptions. It doesn't create a style!

Definition at line 115 of file poolfmt.cxx.

References MsLangId::isRightToLeft().

Referenced by sw::DocumentStylePoolManager::GetTextCollFromPool(), SwDocShell::InitNew(), SwDoc::MakePageDesc(), and SwPageFootnoteInfo::SwPageFootnoteInfo().

sal_uInt16 GetPoolParent ( sal_uInt16  nId)

Query defined parent of a POOL-ID Returns 0 if standard USHRT_MAX if no parent the parent in all other cases.

Definition at line 180 of file poolfmt.cxx.

References COLL_DOC_BITS, COLL_EXTRA_BITS, COLL_GET_RANGE_BITS, COLL_HTML_BITS, COLL_LISTS_BITS, COLL_REGISTER_BITS, COLL_TEXT_BITS, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, POOLGRP_NUMRULE, POOLGRP_PAGEDESC, RES_POOLCOLL_CONFRONTATION, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_FOOTER, RES_POOLCOLL_FOOTERL, RES_POOLCOLL_FOOTERR, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_FRAME, RES_POOLCOLL_GREETING, RES_POOLCOLL_HEADER, RES_POOLCOLL_HEADERFOOTER, RES_POOLCOLL_HEADERL, RES_POOLCOLL_HEADERR, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE10, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE7, RES_POOLCOLL_HEADLINE8, RES_POOLCOLL_HEADLINE9, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_JAKETADRESS, RES_POOLCOLL_LABEL, RES_POOLCOLL_LABEL_ABB, RES_POOLCOLL_LABEL_DRAWING, RES_POOLCOLL_LABEL_FIGURE, RES_POOLCOLL_LABEL_FRAME, RES_POOLCOLL_LABEL_TABLE, RES_POOLCOLL_MARGINAL, RES_POOLCOLL_NUMBUL_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_SENDADRESS, RES_POOLCOLL_SIGNATURE, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_POOLCOLL_TEXT_IDENT, RES_POOLCOLL_TEXT_MOVE, RES_POOLCOLL_TEXT_NEGIDENT, RES_POOLCOLL_TOX_AUTHORITIESH, RES_POOLCOLL_TOX_CNTNTH, RES_POOLCOLL_TOX_IDXH, RES_POOLCOLL_TOX_ILLUSH, RES_POOLCOLL_TOX_OBJECTH, RES_POOLCOLL_TOX_TABLESH, RES_POOLCOLL_TOX_USERH, and USHRT_MAX.

Referenced by SwDocStyleSheet::GetParent(), and sw::DocumentStylePoolManager::GetTextCollFromPool().

bool IsConditionalByPoolId ( sal_uInt16  nId)
bool IsPoolUserFormat ( sal_uInt16  nId)
inline

Variable Documentation

const sal_uInt16 COLL_DOC_BITS = (5 << 11)
const sal_uInt16 COLL_EXTRA_BITS = (3 << 11)
const sal_uInt16 COLL_GET_RANGE_BITS = (15 << 11)
const sal_uInt16 COLL_HTML_BITS = (6 << 11)
const sal_uInt16 COLL_LISTS_BITS = (2 << 11)
const sal_uInt16 COLL_REGISTER_BITS = (4 << 11)
const sal_uInt16 COLL_TEXT_BITS = (1 << 11)
const sal_uInt16 POOL_FMT = (0 << 15)

Definition at line 64 of file poolfmt.hxx.

const sal_uInt16 POOL_IDUSER_FMT
Initial value:
=
const sal_uInt16 COLL_GET_RANGE_BITS
Definition: poolfmt.hxx:72
const sal_uInt16 POOLGRP_NOCOLLID
POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+...
Definition: poolfmt.hxx:59
const o3tl::enumarray< SvxAdjust, unsigned short > aSvxToUnoAdjust USHRT_MAX
Definition: unosett.cxx:260

Recognize whether it's a user defined style or not:

Definition at line 84 of file poolfmt.hxx.

Referenced by IsPoolUserFormat().

const sal_uInt16 POOLGRP_CELLSTYLE = (5 << 11) + POOLGRP_NOCOLLID

Definition at line 81 of file poolfmt.hxx.

const sal_uInt16 POOLGRP_CHARFMT = (0 << 11) + POOLGRP_NOCOLLID
const sal_uInt16 POOLGRP_FRAMEFMT = (1 << 11) + POOLGRP_NOCOLLID
const sal_uInt16 POOLGRP_NOCOLLID = (1 << 10)

POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+.

Range: 1 - text 2 - lists 3 - special ranges 4 - indices 5 - chapter / document 6 - HTML-styles.

Other IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 1 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ Range: 0 - character styles 1 - frame styles 2 - page styles 3 - paragraph styles (?) 4 - graphics styles (?)

For all IDs we have: Origin: 0 -pool 1 -user Offset: within the group Attention: New IDs can only be added to the ends of the groups. These IDs are read and written by the Reader/Writer. They are only aware of the Offset to Start. Mask for recognition of COLLPOOL-IDs:

Definition at line 59 of file poolfmt.hxx.

Referenced by sw::DocumentStylePoolManager::GetFormatFromPool(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwHTMLWriter::GetTemplateFormat(), IsPoolUserFormat(), and SwDocStyleSheet::SetItemSet().

const sal_uInt16 POOLGRP_NUMRULE = (3 << 11) + POOLGRP_NOCOLLID

Definition at line 79 of file poolfmt.hxx.

Referenced by SwStyleNameMapper::getNameFromId(), and GetPoolParent().

const sal_uInt16 POOLGRP_PAGEDESC = (2 << 11) + POOLGRP_NOCOLLID

Definition at line 78 of file poolfmt.hxx.

Referenced by SwStyleNameMapper::getNameFromId(), and GetPoolParent().

const sal_uInt16 POOLGRP_TABSTYLE = (4 << 11) + POOLGRP_NOCOLLID

Definition at line 80 of file poolfmt.hxx.

Referenced by SwStyleNameMapper::getNameFromId().

const sal_uInt16 USER_FMT = (1 << 15)