LibreOffice Module sw (master) 1
|
Go to the source code of this file.
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 | 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... | |
Enumerator | |
---|---|
RES_POOLCELLSTYLE_BEGIN | |
RES_POOLCELLSTYLE_END |
Definition at line 238 of file poolfmt.hxx.
enum RES_POOL_CHRFMT_TYPE |
Ranges for the IDs of the formats.
IDs for character styles.
Enumerator | |
---|---|
RES_POOLCHR_BEGIN | |
RES_POOLCHR_NORMAL_BEGIN | |
RES_POOLCHR_FOOTNOTE | |
RES_POOLCHR_PAGENO | Pages/field. |
RES_POOLCHR_LABEL | Label. |
RES_POOLCHR_DROPCAPS | Dropcaps. |
RES_POOLCHR_NUM_LEVEL | Numbering symbols. |
RES_POOLCHR_BULLET_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_CITATION | |
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 108 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_NUMBER_BULLET_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_BULLET_LEVEL1S | Subgroup bullets. Start 1st level. |
RES_POOLCOLL_BULLET_LEVEL1 | 1st level. |
RES_POOLCOLL_BULLET_LEVEL1E | End 1st level. |
RES_POOLCOLL_BULLET_NONUM1 | No numbering. |
RES_POOLCOLL_BULLET_LEVEL2S | Start 2nd level. |
RES_POOLCOLL_BULLET_LEVEL2 | 2nd level. |
RES_POOLCOLL_BULLET_LEVEL2E | End 2nd level. |
RES_POOLCOLL_BULLET_NONUM2 | No numbering. |
RES_POOLCOLL_BULLET_LEVEL3S | Start 3rd level. |
RES_POOLCOLL_BULLET_LEVEL3 | 3rd Level. |
RES_POOLCOLL_BULLET_LEVEL3E | End 3rd level. |
RES_POOLCOLL_BULLET_NONUM3 | No numbering. |
RES_POOLCOLL_BULLET_LEVEL4S | Start 4th level. |
RES_POOLCOLL_BULLET_LEVEL4 | 4th level. |
RES_POOLCOLL_BULLET_LEVEL4E | End 4th level. |
RES_POOLCOLL_BULLET_NONUM4 | No numbering. |
RES_POOLCOLL_BULLET_LEVEL5S | Start 5th level. |
RES_POOLCOLL_BULLET_LEVEL5 | 5th level. |
RES_POOLCOLL_BULLET_LEVEL5E | End 5th Level. |
RES_POOLCOLL_BULLET_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_ENVELOPE_ADDRESS | Addressee. |
RES_POOLCOLL_SEND_ADDRESS | Sender. |
RES_POOLCOLL_ENDNOTE | Endnotes. |
RES_POOLCOLL_LABEL_DRAWING | Label drawing objects. |
RES_POOLCOLL_COMMENT | Comment. |
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_TITLE | Doc. title. |
RES_POOLCOLL_DOC_SUBTITLE | Doc. subtitle. |
RES_POOLCOLL_DOC_APPENDIX | Doc. appendix. |
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.
enum RES_POOL_FRMFMT_TYPE |
IDs for frame styles.
Definition at line 150 of file poolfmt.hxx.
Definition at line 185 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_ENVELOPE | 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 166 of file poolfmt.hxx.
Definition at line 203 of file poolfmt.hxx.
enum RES_POOLFMT |
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 92 of file poolfmt.hxx.
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 79 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 150 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, nId, POOLGRP_CHARFMT, POOLGRP_FRAMEFMT, POOLGRP_NOCOLLID, POOLGRP_NUMRULE, POOLGRP_PAGEDESC, RES_POOLCOLL_COMMENT, RES_POOLCOLL_CONFRONTATION, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_ENVELOPE_ADDRESS, 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_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_NUMBER_BULLET_BASE, RES_POOLCOLL_REGISTER_BASE, RES_POOLCOLL_SEND_ADDRESS, 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, and RES_POOLCOLL_TOX_USERH.
Referenced by SwDocStyleSheet::GetParent(), and sw::DocumentStylePoolManager::GetTextCollFromPool().
bool IsConditionalByPoolId | ( | sal_uInt16 | nId | ) |
Definition at line 78 of file DocumentStylePoolManager.cxx.
References nId, and RES_POOLCOLL_TEXT.
Referenced by sw::DocumentStylePoolManager::GetTextCollFromPool(), and lcl_InitConditional().
|
inline |
Definition at line 86 of file poolfmt.hxx.
References COLL_GET_RANGE_BITS, nId, POOL_IDUSER_FMT, and POOLGRP_NOCOLLID.
Referenced by SwStyleSheetIterator::First(), SwTextRuby::GetCharFormat(), SwTextINetFormat::GetCharFormat(), SwDocStyleSheet::GetHelpId(), sw::util::GetSwCharFormat(), SwNumRulesWithName::SwNumFormatGlobal::MakeNumFormat(), SwHTMLWriter::OutStyleSheet(), and SwAutoFormat::SwAutoFormat().
const sal_uInt16 COLL_DOC_BITS = (5 << 11) |
Definition at line 69 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 COLL_EXTRA_BITS = (3 << 11) |
Definition at line 67 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 COLL_GET_RANGE_BITS = (15 << 11) |
Definition at line 71 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), sw::DocumentStylePoolManager::GetFormatFromPool(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), IsPoolUserFormat(), SwUndoFormatCreate::RedoImpl(), SwDocStyleSheet::SetItemSet(), SwUndoFormatDelete::SwUndoFormatDelete(), SwUndoFormatCreate::UndoImpl(), and SwUndoFormatDelete::UndoImpl().
const sal_uInt16 COLL_HTML_BITS = (6 << 11) |
Definition at line 70 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 COLL_LISTS_BITS = (2 << 11) |
Definition at line 66 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 COLL_REGISTER_BITS = (4 << 11) |
Definition at line 68 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 COLL_TEXT_BITS = (1 << 11) |
Definition at line 65 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwStyleSheetIterator::First(), SwStyleNameMapper::getNameFromId(), GetPoolParent(), SwDocShell::MakeByExample(), and SwDocStyleSheet::SetItemSet().
const sal_uInt16 POOL_IDUSER_FMT |
Recognize whether it's a user defined style or not:
Definition at line 83 of file poolfmt.hxx.
Referenced by IsPoolUserFormat().
const sal_uInt16 POOLGRP_CELLSTYLE = (5 << 11) + POOLGRP_NOCOLLID |
Definition at line 80 of file poolfmt.hxx.
const sal_uInt16 POOLGRP_CHARFMT = (0 << 11) + POOLGRP_NOCOLLID |
Other groups:
Definition at line 75 of file poolfmt.hxx.
Referenced by sw::DocumentStylePoolManager::GetFormatFromPool(), SwStyleNameMapper::getNameFromId(), and GetPoolParent().
const sal_uInt16 POOLGRP_FRAMEFMT = (1 << 11) + POOLGRP_NOCOLLID |
Definition at line 76 of file poolfmt.hxx.
Referenced by sw::DocumentStylePoolManager::GetFormatFromPool(), SwStyleNameMapper::getNameFromId(), and GetPoolParent().
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 78 of file poolfmt.hxx.
Referenced by SwStyleNameMapper::getNameFromId(), and GetPoolParent().
const sal_uInt16 POOLGRP_PAGEDESC = (2 << 11) + POOLGRP_NOCOLLID |
Definition at line 77 of file poolfmt.hxx.
Referenced by SwStyleNameMapper::getNameFromId(), and GetPoolParent().
const sal_uInt16 POOLGRP_TABSTYLE = (4 << 11) + POOLGRP_NOCOLLID |
Definition at line 79 of file poolfmt.hxx.
Referenced by SwStyleNameMapper::getNameFromId().
const sal_uInt16 USER_FMT = (1 << 15) |
POLLCOLL-groups:
Definition at line 63 of file poolfmt.hxx.
Referenced by SwDocStyleSheet::FillStyleSheet(), SwDocStyleSheetPool::Find(), SwStyleSheetIterator::First(), SwHTMLWriter::GetCSS1Selector(), SwStyleNameMapper::getNameFromId(), SwHTMLWriter::GetTemplateFormat(), SwCSS1Parser::GetTextFormatColl(), lcl_GetMinMaxSize(), and OutCSS1_SwFormat().