61#include <svx/strings.hrc>
64#include <osl/diagnose.h>
68#include <com/sun/star/text/VertOrientation.hpp>
69#include <com/sun/star/text/RelOrientation.hpp>
70#include <com/sun/star/text/HoriOrientation.hpp>
88 const sal_uInt16 PT_3 = 3 * 20;
89 const sal_uInt16 PT_6 = 6 * 20;
90 const sal_uInt16 PT_7 = 7 * 20;
91 const sal_uInt16 PT_9 = 9 * 20;
92 const sal_uInt16 PT_10 = 10 * 20;
93 const sal_uInt16 PT_12 = 12 * 20;
94 const sal_uInt16 PT_13 = 13 * 20;
95 const sal_uInt16 PT_14 = 14 * 20;
96 const sal_uInt16 PT_16 = 16 * 20;
97 const sal_uInt16 PT_18 = 18 * 20;
98 const sal_uInt16 PT_24 = 24 * 20;
99 const sal_uInt16 PT_28 = 28 * 20;
103 const sal_uInt16 aHeadlineSizes[ 2 *
MAXLEVEL ] = {
105 PT_18, PT_16, PT_14, PT_13, PT_12,
106 PT_12, PT_10, PT_10, PT_9, PT_9,
108 PT_24, PT_18, PT_14, PT_12, PT_10,
109 PT_7, PT_7, PT_7, PT_7, PT_7
121 return nWidth - nLeft - nRight;
127 sal_uInt16 nResLngId;
128 sal_uInt16 nResFntId;
134 for(
const auto & n :
aArr)
139 nLng, GetDefaultFontFlags::OnlyOne ) );
142 OUString(), aFnt.GetPitch(),
143 aFnt.GetCharSet(),
n.nResFntId ));
151 sal_uInt16 nResLngId;
152 sal_uInt16 nResFntId;
159 aArr[0].nFntType = nLatinFntType;
160 aArr[1].nFntType = nCJKFntType;
161 aArr[2].nFntType = nCTLFntType;
163 for(
const auto & n :
aArr)
168 nLng, GetDefaultFontFlags::OnlyOne ) );
171 OUString(), aFnt.GetPitch(),
172 aFnt.GetCharSet(),
n.nResFntId ));
178 sal_uInt16 nOutLvlBits,
sal_uInt8 nLevel,
bool bItalic )
184 aHItem.SetHeight( aHeadlineSizes[
MAXLEVEL + nLevel ] );
186 aHItem.SetHeight( aHeadlineSizes[ nLevel ] );
189 if( bItalic && !bHTMLMode )
194 lcl_SetDfltFont( DefaultFontType::LATIN_TEXT, DefaultFontType::CJK_TEXT,
195 DefaultFontType::CTL_TEXT, rSet );
201 if( !( nOutLvlBits & ( 1 << nLevel )) )
232 bool bHeader,
bool bTab )
248 aTStops.Insert(
SvxTabStop( nRightMargin - nLeft,
250 cDfltDecimalChar,
'.' ));
265 aUL.SetUpper( sal_uInt16(nUpper) );
266 aUL.SetLower( sal_uInt16(nLower) );
279 SwTwips nTmp = aFrameSz.GetHeight();
280 aFrameSz.SetHeight( aFrameSz.GetWidth() );
281 aFrameSz.SetWidth( nTmp );
290 STR_POOLCOLL_STANDARD,
292 STR_POOLCOLL_TEXT_IDENT,
293 STR_POOLCOLL_TEXT_NEGIDENT,
294 STR_POOLCOLL_TEXT_MOVE,
295 STR_POOLCOLL_GREETING,
296 STR_POOLCOLL_SIGNATURE,
297 STR_POOLCOLL_CONFRONTATION,
298 STR_POOLCOLL_MARGINAL,
300 STR_POOLCOLL_HEADLINE_BASE,
301 STR_POOLCOLL_HEADLINE1,
302 STR_POOLCOLL_HEADLINE2,
303 STR_POOLCOLL_HEADLINE3,
304 STR_POOLCOLL_HEADLINE4,
305 STR_POOLCOLL_HEADLINE5,
306 STR_POOLCOLL_HEADLINE6,
307 STR_POOLCOLL_HEADLINE7,
308 STR_POOLCOLL_HEADLINE8,
309 STR_POOLCOLL_HEADLINE9,
310 STR_POOLCOLL_HEADLINE10
316 STR_POOLCOLL_NUMBER_BULLET_BASE,
318 STR_POOLCOLL_NUM_LEVEL1S,
319 STR_POOLCOLL_NUM_LEVEL1,
320 STR_POOLCOLL_NUM_LEVEL1E,
321 STR_POOLCOLL_NUM_NONUM1,
322 STR_POOLCOLL_NUM_LEVEL2S,
323 STR_POOLCOLL_NUM_LEVEL2,
324 STR_POOLCOLL_NUM_LEVEL2E,
325 STR_POOLCOLL_NUM_NONUM2,
326 STR_POOLCOLL_NUM_LEVEL3S,
327 STR_POOLCOLL_NUM_LEVEL3,
328 STR_POOLCOLL_NUM_LEVEL3E,
329 STR_POOLCOLL_NUM_NONUM3,
330 STR_POOLCOLL_NUM_LEVEL4S,
331 STR_POOLCOLL_NUM_LEVEL4,
332 STR_POOLCOLL_NUM_LEVEL4E,
333 STR_POOLCOLL_NUM_NONUM4,
334 STR_POOLCOLL_NUM_LEVEL5S,
335 STR_POOLCOLL_NUM_LEVEL5,
336 STR_POOLCOLL_NUM_LEVEL5E,
337 STR_POOLCOLL_NUM_NONUM5,
340 STR_POOLCOLL_BULLET_LEVEL1S,
341 STR_POOLCOLL_BULLET_LEVEL1,
342 STR_POOLCOLL_BULLET_LEVEL1E,
343 STR_POOLCOLL_BULLET_NONUM1,
344 STR_POOLCOLL_BULLET_LEVEL2S,
345 STR_POOLCOLL_BULLET_LEVEL2,
346 STR_POOLCOLL_BULLET_LEVEL2E,
347 STR_POOLCOLL_BULLET_NONUM2,
348 STR_POOLCOLL_BULLET_LEVEL3S,
349 STR_POOLCOLL_BULLET_LEVEL3,
350 STR_POOLCOLL_BULLET_LEVEL3E,
351 STR_POOLCOLL_BULLET_NONUM3,
352 STR_POOLCOLL_BULLET_LEVEL4S,
353 STR_POOLCOLL_BULLET_LEVEL4,
354 STR_POOLCOLL_BULLET_LEVEL4E,
355 STR_POOLCOLL_BULLET_NONUM4,
356 STR_POOLCOLL_BULLET_LEVEL5S,
357 STR_POOLCOLL_BULLET_LEVEL5,
358 STR_POOLCOLL_BULLET_LEVEL5E,
359 STR_POOLCOLL_BULLET_NONUM5
366 STR_POOLCOLL_HEADERFOOTER,
368 STR_POOLCOLL_HEADERL,
369 STR_POOLCOLL_HEADERR,
372 STR_POOLCOLL_FOOTERL,
373 STR_POOLCOLL_FOOTERR,
376 STR_POOLCOLL_TABLE_HDLN,
379 STR_POOLCOLL_LABEL_ABB,
380 STR_POOLCOLL_LABEL_TABLE,
381 STR_POOLCOLL_LABEL_FRAME,
382 STR_POOLCOLL_LABEL_FIGURE,
385 STR_POOLCOLL_FOOTNOTE,
386 STR_POOLCOLL_ENVELOPE_ADDRESS,
387 STR_POOLCOLL_SEND_ADDRESS,
388 STR_POOLCOLL_ENDNOTE,
389 STR_POOLCOLL_LABEL_DRAWING,
396 STR_POOLCOLL_REGISTER_BASE,
398 STR_POOLCOLL_TOX_IDXH,
399 STR_POOLCOLL_TOX_IDX1,
400 STR_POOLCOLL_TOX_IDX2,
401 STR_POOLCOLL_TOX_IDX3,
402 STR_POOLCOLL_TOX_IDXBREAK,
404 STR_POOLCOLL_TOX_CNTNTH,
405 STR_POOLCOLL_TOX_CNTNT1,
406 STR_POOLCOLL_TOX_CNTNT2,
407 STR_POOLCOLL_TOX_CNTNT3,
408 STR_POOLCOLL_TOX_CNTNT4,
409 STR_POOLCOLL_TOX_CNTNT5,
411 STR_POOLCOLL_TOX_USERH,
412 STR_POOLCOLL_TOX_USER1,
413 STR_POOLCOLL_TOX_USER2,
414 STR_POOLCOLL_TOX_USER3,
415 STR_POOLCOLL_TOX_USER4,
416 STR_POOLCOLL_TOX_USER5,
418 STR_POOLCOLL_TOX_CNTNT6,
419 STR_POOLCOLL_TOX_CNTNT7,
420 STR_POOLCOLL_TOX_CNTNT8,
421 STR_POOLCOLL_TOX_CNTNT9,
422 STR_POOLCOLL_TOX_CNTNT10,
424 STR_POOLCOLL_TOX_ILLUSH,
425 STR_POOLCOLL_TOX_ILLUS1,
427 STR_POOLCOLL_TOX_OBJECTH,
428 STR_POOLCOLL_TOX_OBJECT1,
430 STR_POOLCOLL_TOX_TABLESH,
431 STR_POOLCOLL_TOX_TABLES1,
433 STR_POOLCOLL_TOX_AUTHORITIESH,
434 STR_POOLCOLL_TOX_AUTHORITIES1,
436 STR_POOLCOLL_TOX_USER6,
437 STR_POOLCOLL_TOX_USER7,
438 STR_POOLCOLL_TOX_USER8,
439 STR_POOLCOLL_TOX_USER9,
440 STR_POOLCOLL_TOX_USER10
446 STR_POOLCOLL_DOC_TITLE,
447 STR_POOLCOLL_DOC_SUBTITLE,
448 STR_POOLCOLL_DOC_APPENDIX
454 STR_POOLCOLL_HTML_BLOCKQUOTE,
455 STR_POOLCOLL_HTML_PRE,
456 STR_POOLCOLL_HTML_HR,
457 STR_POOLCOLL_HTML_DD,
463 STR_POOLCHR_FOOTNOTE,
466 STR_POOLCHR_DROPCAPS,
467 STR_POOLCHR_NUM_LEVEL,
468 STR_POOLCHR_BULLET_LEVEL,
469 STR_POOLCHR_INET_NORMAL,
470 STR_POOLCHR_INET_VISIT,
471 STR_POOLCHR_JUMPEDIT,
475 STR_POOLCHR_IDX_MAIN_ENTRY,
476 STR_POOLCHR_FOOTNOTE_ANCHOR,
477 STR_POOLCHR_ENDNOTE_ANCHOR,
478 STR_POOLCHR_RUBYTEXT,
484 STR_POOLCHR_HTML_EMPHASIS,
485 STR_POOLCHR_HTML_CITATION,
486 STR_POOLCHR_HTML_STRONG,
487 STR_POOLCHR_HTML_CODE,
488 STR_POOLCHR_HTML_SAMPLE,
489 STR_POOLCHR_HTML_KEYBOARD,
490 STR_POOLCHR_HTML_VARIABLE,
491 STR_POOLCHR_HTML_DEFINSTANCE,
492 STR_POOLCHR_HTML_TELETYPE
501 STR_POOLFRM_MARGINAL,
502 STR_POOLFRM_WATERSIGN,
509 STR_POOLPAGE_STANDARD,
513 STR_POOLPAGE_ENVELOPE,
514 STR_POOLPAGE_REGISTER,
516 STR_POOLPAGE_FOOTNOTE,
517 STR_POOLPAGE_ENDNOTE,
518 STR_POOLPAGE_LANDSCAPE
524 STR_POOLNUMRULE_NOLIST,
525 STR_POOLNUMRULE_NUM1,
526 STR_POOLNUMRULE_NUM2,
527 STR_POOLNUMRULE_NUM3,
528 STR_POOLNUMRULE_NUM4,
529 STR_POOLNUMRULE_NUM5,
530 STR_POOLNUMRULE_BUL1,
531 STR_POOLNUMRULE_BUL2,
532 STR_POOLNUMRULE_BUL3,
533 STR_POOLNUMRULE_BUL4,
544 STR_TABSTYLE_DEFAULT,
546 RID_SVXSTR_TBLAFMT_3D,
547 RID_SVXSTR_TBLAFMT_BLACK1,
548 RID_SVXSTR_TBLAFMT_BLACK2,
549 RID_SVXSTR_TBLAFMT_BLUE,
550 RID_SVXSTR_TBLAFMT_BROWN,
551 RID_SVXSTR_TBLAFMT_CURRENCY,
552 RID_SVXSTR_TBLAFMT_CURRENCY_3D,
553 RID_SVXSTR_TBLAFMT_CURRENCY_GRAY,
554 RID_SVXSTR_TBLAFMT_CURRENCY_LAVENDER,
555 RID_SVXSTR_TBLAFMT_CURRENCY_TURQUOISE,
556 RID_SVXSTR_TBLAFMT_GRAY,
557 RID_SVXSTR_TBLAFMT_GREEN,
558 RID_SVXSTR_TBLAFMT_LAVENDER,
559 RID_SVXSTR_TBLAFMT_RED,
560 RID_SVXSTR_TBLAFMT_TURQUOISE,
561 RID_SVXSTR_TBLAFMT_YELLOW,
563 RID_SVXSTR_TBLAFMT_LO6_ACADEMIC,
564 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_BLUE,
565 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_GREEN,
566 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_RED,
567 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_YELLOW,
568 RID_SVXSTR_TBLAFMT_LO6_ELEGANT,
569 RID_SVXSTR_TBLAFMT_LO6_FINANCIAL,
570 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_GRID_COLUMNS,
571 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_GRID_ROWS,
572 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_LIST_SHADED
591 "Wrong AutoFormat Id" );
594 sal_uInt16 nOutLvlBits = 0;
606 if (!
aName.isEmpty())
650 OSL_ENSURE(pResId,
"Invalid Pool ID");
686 SvxFrameDirection::Horizontal_RL_TB)
694 aSet.
Put(aScriptSpace);
715 aSet.
Put(leftMargin);
725 aSet.
Put(leftMargin);
738 aSet.
Put(leftMargin);
749 aSet.
Put(leftMargin);
762 aSet.
Put(leftMargin);
768 static const sal_uInt16 aFontWhich[] =
773 static const sal_uInt16 aLangTypes[] =
787 DefaultFontType::LATIN_HEADING,
788 DefaultFontType::CJK_HEADING,
789 DefaultFontType::CTL_HEADING
792 for(
int i = 0;
i < 3; ++
i )
799 nLng, GetDefaultFontFlags::OnlyOne ) );
842 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 0,
false );
849 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 1,
false );
856 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 2,
false );
863 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 3,
true );
870 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 4,
false );
877 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 5,
true );
884 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 6,
false );
891 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 7,
true );
898 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 8,
false );
905 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 9,
false );
957 aSet.
Put(leftMargin);
1022 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1030 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1033 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
true );
1036 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
true );
1039 lcl_SetRegister(
m_rDoc, aSet, 3,
false,
true );
1042 lcl_SetRegister(
m_rDoc, aSet, 4,
false,
true );
1045 lcl_SetRegister(
m_rDoc, aSet, 5,
false,
true );
1048 lcl_SetRegister(
m_rDoc, aSet, 6,
false,
true );
1051 lcl_SetRegister(
m_rDoc, aSet, 7,
false,
true );
1054 lcl_SetRegister(
m_rDoc, aSet, 8,
false,
true );
1057 lcl_SetRegister(
m_rDoc, aSet, 9,
false,
true );
1062 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1070 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
false );
1073 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
false );
1076 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
false );
1079 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
false );
1084 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1092 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1095 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
true );
1098 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
true );
1101 lcl_SetRegister(
m_rDoc, aSet, 3,
false,
true );
1104 lcl_SetRegister(
m_rDoc, aSet, 4,
false,
true );
1107 lcl_SetRegister(
m_rDoc, aSet, 5,
false,
true );
1110 lcl_SetRegister(
m_rDoc, aSet, 6,
false,
true );
1113 lcl_SetRegister(
m_rDoc, aSet, 7,
false,
true );
1116 lcl_SetRegister(
m_rDoc, aSet, 8,
false,
true );
1119 lcl_SetRegister(
m_rDoc, aSet, 9,
false,
true );
1126 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1137 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1373 aSet.
Put(firstLine);
1374 aSet.
Put(leftMargin);
1375 aSet.
Put(rightMargin);
1379 aSet.
Put(std::move(aUL));
1385 ::lcl_SetDfltFont( DefaultFontType::FIXED, aSet );
1392 std::unique_ptr<SvxULSpaceItem> aULSpaceItem(pNewColl->
GetULSpace().
Clone());
1393 aULSpaceItem->SetLower( 0 );
1394 aSet.
Put(std::move(aULSpaceItem));
1402 SvxBorderLine aNew(&aColor, 3, SvxBorderLineStyle::DOUBLE);
1403 aBox.
SetLine( &aNew, SvxBoxItemLine::BOTTOM );
1409 std::unique_ptr<SvxULSpaceItem> aUL;
1415 aSet.
Put(std::move(aUL));
1427 aSet.
Put(leftMargin);
1437 aSet.
Put(leftMargin);
1456 sal_uInt16 nArrCnt = 1;
1475 OSL_ENSURE(
false,
"invalid Id" );
1492 OSL_ENSURE(
false,
"invalid Id" );
1502 OSL_ENSURE(
nId,
"invalid Id" );
1505 OSL_ENSURE(pRCId,
"invalid Id");
1508 for(
size_t n = 0;
n < (*pArray[nArrCnt]).GetFormatCount(); ++
n )
1510 pNewFormat = (*pArray[ nArrCnt ] ).
GetFormat(
n );
1621 ::lcl_SetDfltFont( DefaultFontType::FIXED, aSet );
1633 aSet.
Put(
SwFormatVertOrient( 0, text::VertOrientation::LINE_CENTER, text::RelOrientation::PRINT_AREA ) );
1640 aSet.
Put(
SwFormatHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::PRINT_AREA ) );
1645 aBox.
SetLine( &aLine, SvxBoxItemLine::TOP );
1646 aBox.
SetLine( &aLine, SvxBoxItemLine::BOTTOM );
1647 aBox.
SetLine( &aLine, SvxBoxItemLine::LEFT );
1648 aBox.
SetLine( &aLine, SvxBoxItemLine::RIGHT );
1671 aSet.
Put(
SwFormatVertOrient( 0, text::VertOrientation::CHAR_CENTER, text::RelOrientation::FRAME ) );
1705 aSet.
Put( aProtect );
1731 "Wrong AutoFormat Id" );
1744 OSL_ENSURE(
false,
"<SwDoc::GetPageDescFromPool(..)> - unknown page pool ID" );
1778 bool bSetLeft =
true;
1793 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1804 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1816 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1842 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1856 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1878 aSet.
Put( aFrameSz );
1904 "Wrong AutoFormat Id" );
1920 OSL_ENSURE(
false,
"invalid Id" );
1927 SwCharFormat *pNumCFormat =
nullptr, *pBullCFormat =
nullptr;
1934 sal_uInt16
n =
m_rDoc.
MakeNumRule( aNm,
nullptr,
false, eNumberFormatPositionAndSpaceMode );
1962 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
1965 397, 794, 1191, 1588, 1985, 2381, 2778, 3175, 3572, 3969
1967 const sal_uInt16* pArr = aAbsSpace;
1992 pNewRule->
Set(
n, aFormat );
1999 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2006 const sal_uInt16* pArr = aAbsSpace;
2020 sal_uInt16 nSpace = 357;
2026 nSpace += pArr[
n ];
2032 nSpace += pArr[
n ];
2038 pNewRule->
Set(
n, aFormat );
2078 pNewRule->
Set(
n, aFormat );
2093 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2096 754, 1508, 2262, 3016, 3771, 4525, 5279, 6033, 6787, 7541
2098 const sal_uInt16* pArr = aAbsSpace;
2123 pNewRule->
Set(
n, aFormat );
2130 static const sal_uInt16 aAbsSpace0to2[] =
2137 const sal_uInt16* pArr0to2 = aAbsSpace0to2;
2165 pNewRule->
Set( 0, aFormat );
2183 pNewRule->
Set( 1, aFormat );
2202 pNewRule->
Set( 2, aFormat );
2236 pNewRule->
Set(
n, aFormat );
2253 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2256 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2258 const sal_uInt16* pArr = aAbsSpace;
2282 pNewRule->
Set(
n, aFormat );
2298 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2301 170, 340, 510, 680, 850, 1020, 1191, 1361, 1531, 1701
2303 const sal_uInt16* pArr = aAbsSpace;
2327 pNewRule->
Set(
n, aFormat );
2370 pNewRule->
Set(
n, aFormat );
2385 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2388 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2391 const sal_uInt16* pArr = aAbsSpace;
2422 pNewRule->
Set(
n, aFormat );
2438 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2441 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2443 const sal_uInt16* pArr = aAbsSpace;
2467 pNewRule->
Set(
n, aFormat );
2486 "Wrong AutoFormat Id" );
2497 if( !bFnd || !pNewColl->HasWriterListeners() )
2501 return !pNewColl->GetInfo( aGetHt );
2507 const SwFormat *pNewFormat =
nullptr;
2509 sal_uInt16 nArrCnt = 1;
2524 SAL_WARN(
"sw.core",
"Invalid Pool Id: " <<
nId <<
" should be within "
2533 while( nArrCnt-- && !bFnd )
2534 for(
size_t n = 0; !bFnd &&
n < (*pArray[nArrCnt]).GetFormatCount(); ++
n )
2536 pNewFormat = (*pArray[ nArrCnt ] ).
GetFormat(
n );
2543 if( bFnd && pNewFormat->HasWriterListeners() )
2548 bFnd = !pNewFormat->GetInfo( aGetHt );
2560 "Wrong AutoFormat Id" );
2571 if( !bFnd || !pNewPgDsc->HasWriterListeners() )
2577 return !pNewPgDsc->
GetInfo( aGetHt );
2586static std::vector<OUString>
2589 assert(nSvxIds <= nLen);
2590 const size_t nWriterIds = nLen - nSvxIds;
2591 std::vector<OUString> aNameArray;
2592 aNameArray.reserve(nLen);
2593 for (
size_t i = 0;
i < nWriterIds; ++
i)
2594 aNameArray.push_back(
SwResId(pIds[
i]));
2595 for (
size_t i = nWriterIds;
i < nLen; ++
i)
2596 aNameArray.push_back(
SvxResId(pIds[
i]));
2604 static std::map<LanguageTag, std::vector<OUString>> s_aTextUINameArray;
2606 auto it = s_aTextUINameArray.find(rCurrentLanguage);
2607 if (it == s_aTextUINameArray.end())
2608 it = s_aTextUINameArray.emplace(rCurrentLanguage,
2618 static std::map<LanguageTag, std::vector<OUString>> s_aListsUINameArray;
2620 auto it = s_aListsUINameArray.find(rCurrentLanguage);
2621 if (it == s_aListsUINameArray.end())
2622 it = s_aListsUINameArray.emplace(rCurrentLanguage,
2632 static std::map<LanguageTag, std::vector<OUString>> s_aExtraUINameArray;
2634 auto it = s_aExtraUINameArray.find(rCurrentLanguage);
2635 if (it == s_aExtraUINameArray.end())
2636 it = s_aExtraUINameArray.emplace(rCurrentLanguage,
2646 static std::map<LanguageTag, std::vector<OUString>> s_aRegisterUINameArray;
2648 auto it = s_aRegisterUINameArray.find(rCurrentLanguage);
2649 if (it == s_aRegisterUINameArray.end())
2650 it = s_aRegisterUINameArray.emplace(rCurrentLanguage,
2660 static std::map<LanguageTag, std::vector<OUString>> s_aDocUINameArray;
2662 auto it = s_aDocUINameArray.find(rCurrentLanguage);
2663 if (it == s_aDocUINameArray.end())
2664 it = s_aDocUINameArray.emplace(rCurrentLanguage,
2674 static std::map<LanguageTag, std::vector<OUString>> s_aHTMLUINameArray;
2676 auto it = s_aHTMLUINameArray.find(rCurrentLanguage);
2677 if (it == s_aHTMLUINameArray.end())
2678 it = s_aHTMLUINameArray.emplace(rCurrentLanguage,
2688 static std::map<LanguageTag, std::vector<OUString>> s_aFrameFormatUINameArray;
2690 auto it = s_aFrameFormatUINameArray.find(rCurrentLanguage);
2691 if (it == s_aFrameFormatUINameArray.end())
2692 it = s_aFrameFormatUINameArray.emplace(rCurrentLanguage,
2702 static std::map<LanguageTag, std::vector<OUString>> s_aChrFormatUINameArray;
2704 auto it = s_aChrFormatUINameArray.find(rCurrentLanguage);
2705 if (it == s_aChrFormatUINameArray.end())
2706 it = s_aChrFormatUINameArray.emplace(rCurrentLanguage,
2716 static std::map<LanguageTag, std::vector<OUString>> s_aHTMLChrFormatUINameArray;
2718 auto it = s_aHTMLChrFormatUINameArray.find(rCurrentLanguage);
2719 if (it == s_aHTMLChrFormatUINameArray.end())
2720 it = s_aHTMLChrFormatUINameArray.emplace(rCurrentLanguage,
2730 static std::map<LanguageTag, std::vector<OUString>> s_aPageDescUINameArray;
2732 auto it = s_aPageDescUINameArray.find(rCurrentLanguage);
2733 if (it == s_aPageDescUINameArray.end())
2734 it = s_aPageDescUINameArray.emplace(rCurrentLanguage,
2744 static std::map<LanguageTag, std::vector<OUString>> s_aNumRuleUINameArray;
2746 auto it = s_aNumRuleUINameArray.find(rCurrentLanguage);
2747 if (it == s_aNumRuleUINameArray.end())
2748 it = s_aNumRuleUINameArray.emplace(rCurrentLanguage,
2758 static std::map<LanguageTag, std::vector<OUString>> s_aTableStyleUINameArray;
2760 auto it = s_aTableStyleUINameArray.find(rCurrentLanguage);
2761 if (it == s_aTableStyleUINameArray.end())
2762 it = s_aTableStyleUINameArray.emplace(rCurrentLanguage,
const TranslateId STR_POOLCHR_ARY[]
const TranslateId STR_POOLCOLL_EXTRA_ARY[]
const TranslateId STR_TABSTYLE_ARY[]
static std::vector< OUString > lcl_NewUINameArray(const TranslateId *pIds, const size_t nLen, const size_t nSvxIds=0)
bool IsConditionalByPoolId(sal_uInt16 nId)
const TranslateId STR_POOLCOLL_REGISTER_ARY[]
const TranslateId STR_POOLCOLL_HTML_ARY[]
const TranslateId STR_POOLCOLL_DOC_ARY[]
const TranslateId STR_POOLCOLL_TEXT_ARY[]
const TranslateId STR_POOLCOLL_LISTS_ARY[]
const TranslateId STR_POOLNUMRULE_NUM_ARY[]
const TranslateId STR_POOLPAGE_ARY[]
const TranslateId STR_POOLFRM_ARY[]
const TranslateId STR_POOLCHR_HTML_ARY[]
virtual void ResetModified()=0
virtual bool IsModified() const =0
Changes of document?
virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return required automatic page style.
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return "Auto-Collection with ID.
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
SfxItemPool * GetPool() const
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
constexpr tools::Long Height() const
constexpr tools::Long Width() const
const LanguageTag & GetUILanguageTag() const
static const sal_Int16 Hairline
void SetLine(const editeng::SvxBorderLine *pNew, SvxBoxItemLine nLine)
void SetAllDistances(sal_Int16 nNew)
void SetRight(const tools::Long nR, const sal_uInt16 nProp=100)
tools::Long GetRight() const
tools::Long GetLeft() const
void SetLeft(const tools::Long nL, const sal_uInt16 nProp=100)
void SetPropLineSpace(const sal_uInt16 nProp)
void SetNumberingType(SvxNumType nSet)
static Size GetPaperSize(Paper ePaper, MapUnit eUnit=MapUnit::MapTwip)
void SetSizeProtect(bool bNew)
void SetPosProtect(bool bNew)
tools::Long GetHeight() const
tools::Long GetWidth() const
void SetHeight(tools::Long n)
void SetWidth(tools::Long n)
bool Insert(const SvxTabStop &rTab)
void SetLower(const sal_uInt16 nL, const sal_uInt16 nProp=100)
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
virtual SvxULSpaceItem * Clone(SfxItemPool *pPool=nullptr) const override
SwFormat * MakeFrameFormat_(const OUString &, SwFormat *, bool, bool)
IDocumentState const & getIDocumentState() const
const SwCharFormat * GetDfltCharFormat() const
size_t GetPageDescCnt() const
const SwNumRuleTable & GetNumRuleTable() const
const sw::FrameFormats< SwFrameFormat * > * GetFrameFormats() const
SwNumRule * GetOutlineNumRule() const
const SwCharFormats * GetCharFormats() const
IDocumentUndoRedo & GetIDocumentUndoRedo()
SwPageDesc * MakePageDesc(const OUString &rName, const SwPageDesc *pCpy=nullptr, bool bRegardLanguage=true, bool bBroadcast=false)
const SfxPoolItem & GetDefault(sal_uInt16 nFormatHint) const
Get the default attribute in this document.
const SwTextFormatColls * GetTextFormatColls() const
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
const SwTextFormatColl * GetDfltTextFormatColl() const
const SwAttrPool & GetAttrPool() const
const SwFrameFormat * GetDfltFrameFormat() const
SwFormat * MakeCharFormat_(const OUString &, SwFormat *, bool, bool)
::sw::DocumentSettingManager & GetDocumentSettingManager()
const sw::FrameFormats< sw::SpzFrameFormat * > * GetSpzFrameFormats() const
const SwPageDesc & GetPageDesc(const size_t i) const
sal_uInt16 MakeNumRule(const OUString &rName, const SwNumRule *pCpy=nullptr, bool bBroadcast=false, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode=SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
void SetAutoRule(bool bFlag)
static sal_uInt16 GetBullIndent(sal_uInt8 nLvl)
const SwNumFormat & Get(sal_uInt16 i) const
void Set(sal_uInt16 i, const SwNumFormat *)
const OUString & GetName() const
sal_uInt16 GetPoolFormatId() const
Query and set PoolFormat IDs.
void SetPoolFormatId(sal_uInt16 nId)
static sal_uInt16 GetNumIndent(sal_uInt8 nLvl)
sal_uInt16 GetPoolFormatId() const
Query and set PoolFormat-Id.
void SetFollow(const SwPageDesc *pNew)
SwFrameFormat & GetMaster()
SwFrameFormat & GetFirstLeft()
SwFrameFormat & GetFirstMaster()
void SetPoolFormatId(sal_uInt16 const nId)
bool GetLandscape() const
void SetFootnoteInfo(const SwPageFootnoteInfo &rNew)
SwFrameFormat & GetLeft()
const SwPageFootnoteInfo & GetFootnoteInfo() const
virtual bool GetInfo(SfxPoolItem &) const override
Query information from Client.
void SetUseOn(UseOnPage eNew)
Same as WriteUseOn(), but the >= HeaderShare part of the bitfield is not modified.
void SetLandscape(bool bNew)
static const std::vector< OUString > & GetChrFormatUINameArray()
static const std::vector< OUString > & GetTableStyleUINameArray()
static const std::vector< OUString > & GetExtraUINameArray()
static const std::vector< OUString > & GetHTMLUINameArray()
static const std::vector< OUString > & GetListsUINameArray()
static const std::vector< OUString > & GetPageDescUINameArray()
static const std::vector< OUString > & GetNumRuleUINameArray()
static const OUString & GetUIName(const OUString &rName, SwGetPoolIdFromName)
static const std::vector< OUString > & GetHTMLChrFormatUINameArray()
static const std::vector< OUString > & GetFrameFormatUINameArray()
static const std::vector< OUString > & GetTextUINameArray()
static const std::vector< OUString > & GetRegisterUINameArray()
static const std::vector< OUString > & GetDocUINameArray()
Represents the style of a paragraph.
bool IsAssignedToListLevelOfOutlineStyle() const
virtual bool SetFormatAttr(const SfxPoolItem &rAttr) override
Override to recognize changes on the <SwNumRuleItem> and register/unregister the paragragh style at t...
void AssignToListLevelOfOutlineStyle(const int nAssignedListLevel)
void SetNextTextFormatColl(SwTextFormatColl &rNext)
Inline implementations.
int GetAssignedOutlineStyleLevel() const
std::vector< SwTextFormatColl * >::size_type size_type
void push_back(Value const &rVal)
virtual bool get(DocumentSettingId id) const override
Return the specified document setting.
virtual SwFrameFormat * GetFrameFormatFromPool(sal_uInt16 nId) override
Return required automatic format.
virtual SwNumRule * GetNumRuleFromPool(sal_uInt16 nId) override
virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId, bool bRegardLanguage=true) override
Return required automatic page style.
virtual ~DocumentStylePoolManager() override
virtual bool IsPoolPageDescUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use in this Document.
virtual bool IsPoolFormatUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use.
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true) override
Return "Auto-Collection with ID.
DocumentStylePoolManager(SwDoc &i_rSwdoc)
virtual SwFormat * GetFormatFromPool(sal_uInt16 nId) override
Return the AutomaticFormat with the supplied Id.
virtual bool IsPoolTextCollUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use in this Document.
virtual SwCharFormat * GetCharFormatFromPool(sal_uInt16 nId) override
FontFamily GetFamilyType()
const OUString & GetStyleName() const
const OUString & GetFamilyName() const
rtl_TextEncoding GetCharSet() const
constexpr ::Color COL_GRAY(0x80, 0x80, 0x80)
constexpr ::Color COL_RED(0x80, 0x00, 0x00)
constexpr ::Color COL_CYAN(0x00, 0x80, 0x80)
constexpr ::Color COL_BLUE(0x00, 0x00, 0x80)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
SVXCORE_DLLPUBLIC OUString SvxResId(TranslateId aId)
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
#define DFLT_ESC_AUTO_SUPER
@ Fixed
Frame cannot be moved in Var-direction.
@ Minimum
Value in Var-direction gives minimum (can be exceeded but not be less).
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(116)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxFirstLineIndentItem > RES_MARGIN_FIRSTLINE(91)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxEscapementItem > RES_CHRATR_ESCAPEMENT(6)
constexpr TypedWhichId< SvxTabStopItem > RES_PARATR_TABSTOP(68)
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
constexpr TypedWhichId< SvxLineSpacingItem > RES_PARATR_LINESPACING(RES_PARATR_BEGIN)
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(105)
constexpr TypedWhichId< SvxEmphasisMarkItem > RES_CHRATR_EMPHASIS_MARK(33)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(106)
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SvxRightMarginItem > RES_MARGIN_RIGHT(93)
constexpr TypedWhichId< SvxTextLeftMarginItem > RES_MARGIN_TEXTLEFT(92)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_COLOR(3)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(97)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(98)
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
WhichRangesContainer const aCharFormatSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
WhichRangesContainer const aPgFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
WhichRangesContainer const aTextFormatCollSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_PARATR_BEGIN, RES_PARATR_END-1, RES_PARATR_LIST_LEVEL, RES_PARATR_LIST_LEVEL, RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
WhichRangesContainer const aFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1, XATTR_FILL_FIRST, XATTR_FILL_LAST >)
LanguageType GetAppLanguage()
#define LANGUAGE_ARABIC_SAUDI_ARABIA
#define LANGUAGE_DONTKNOW
#define LANGUAGE_ENGLISH_US
#define SAL_WARN(area, stream)
#define LINE_SPACE_DEFAULT_HEIGHT
#define SAL_N_ELEMENTS(arr)
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
tools::Long const nRightMargin
constexpr OUStringLiteral first
SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode()
const vcl::Font & GetDefBulletFont()
retrieve font used for the default bullet list characters
constexpr auto toTwips(N number, Length from)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
Dialog to specify the properties of date form field.
const sal_Unicode cBulletChar
Character for lists.
Size & LandscapeSwap(Size &rSize)
void SetAllScriptItem(SfxItemSet &rSet, const SfxPoolItem &rItem)
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 othe...
SvxFrameDirection GetDefaultFrameDirection(LanguageType nLanguage)
Return the AutoCollection by its Id.
@ RES_POOLCOLL_BULLET_LEVEL1E
End 1st level.
@ RES_POOLCOLL_LABEL_DRAWING
Label drawing objects.
@ RES_POOLCOLL_BULLET_LEVEL2
2nd level.
@ RES_POOLCOLL_REGISTER_BEGIN
Group indices.
@ RES_POOLCOLL_NUM_LEVEL5
5th level.
@ RES_POOLCOLL_TOX_AUTHORITIES1
Authorities all levels.
@ RES_POOLCOLL_BULLET_NONUM2
No numbering.
@ RES_POOLCOLL_HTML_BEGIN
Group HTML-styles.
@ RES_POOLCOLL_NUM_LEVEL1E
End 1st level.
@ RES_POOLCOLL_HEADLINE5
Heading 5.
@ RES_POOLCOLL_HTML_END
End of text styles collection.
@ RES_POOLCOLL_TEXT
Text body.
@ RES_POOLCOLL_NUM_LEVEL2E
End 2nd level.
@ RES_POOLCOLL_STANDARD
Standard.
@ RES_POOLCOLL_GREETING
Complimentary close.
@ RES_POOLCOLL_HEADLINE6
Heading 6.
@ RES_POOLCOLL_TOX_USER5
5th level.
@ RES_POOLCOLL_TOX_CNTNT4
Content 4th level.
@ RES_POOLCOLL_HEADERFOOTER
Subgroup header.
@ RES_POOLCOLL_HEADLINE10
Heading 10.
@ RES_POOLCOLL_NUM_LEVEL4E
End 4th level.
@ RES_POOLCOLL_SIGNATURE
Signature.
@ RES_POOLCOLL_TOX_USERH
Subgroup user indices.
@ RES_POOLCOLL_TOX_TABLES1
Tables all levels.
@ RES_POOLCOLL_BULLET_LEVEL4
4th level.
@ RES_POOLCOLL_TEXT_BEGIN
@ RES_POOLCOLL_HTML_BLOCKQUOTE
@ RES_POOLCOLL_EXTRA_BEGIN
Special ranges.
@ RES_POOLCOLL_TOX_IDX3
3rd level.
@ RES_POOLCOLL_TOX_USER6
user index 6..10.
@ RES_POOLCOLL_BULLET_LEVEL3S
Start 3rd level.
@ RES_POOLCOLL_REGISTER_BASE
Base index.
@ RES_POOLCOLL_BULLET_LEVEL3E
End 3rd level.
@ RES_POOLCOLL_MARGINAL
Marginalia.
@ RES_POOLCOLL_TOX_CNTNTH
Subgroup table of contents.
@ RES_POOLCOLL_TOX_OBJECT1
Objects all levels.
@ RES_POOLCOLL_LABEL
Subgroup labels.
@ RES_POOLCOLL_BULLET_LEVEL1
1st level.
@ RES_POOLCOLL_TOX_TABLESH
tables index.
@ RES_POOLCOLL_TEXT_NEGIDENT
Text body hanging indent.
@ RES_POOLCOLL_NUMBER_BULLET_BASE
Base list.
@ RES_POOLCOLL_LABEL_FRAME
Label frame.
@ RES_POOLCOLL_TOX_IDXH
Subgroup index tables.
@ RES_POOLCOLL_LABEL_FIGURE
Label figure.
@ RES_POOLCOLL_NUM_NONUM5
No numbering.
@ RES_POOLCOLL_BULLET_LEVEL5E
End 5th Level.
@ RES_POOLCOLL_NUM_LEVEL5S
Start 5th level.
@ RES_POOLCOLL_HEADLINE8
Heading 8.
@ RES_POOLCOLL_TOX_USER4
4th level.
@ RES_POOLCOLL_TOX_USER3
3rd level.
@ RES_POOLCOLL_NUM_NONUM2
No numbering.
@ RES_POOLCOLL_TOX_OBJECTH
object index.
@ RES_POOLCOLL_DOC_APPENDIX
Doc. appendix.
@ RES_POOLCOLL_ENVELOPE_ADDRESS
Addressee.
@ RES_POOLCOLL_TABLE
Subgroup table.
@ RES_POOLCOLL_TOX_IDX2
2nd level.
@ RES_POOLCOLL_BULLET_NONUM1
No numbering.
@ RES_POOLCOLL_NUM_LEVEL2S
Start 2nd level.
@ RES_POOLCOLL_TOX_USER1
1st level.
@ RES_POOLCOLL_COMMENT
Comment.
@ RES_POOLCOLL_CONFRONTATION
List indent.
@ RES_POOLCOLL_FOOTERR
Footer Right.
@ RES_POOLCOLL_TOX_USER2
2nd level.
@ RES_POOLCOLL_HEADER
Header Left&Right.
@ RES_POOLCOLL_NUM_NONUM4
No numbering.
@ RES_POOLCOLL_BULLET_LEVEL4S
Start 4th level.
@ RES_POOLCOLL_BULLET_LEVEL4E
End 4th level.
@ RES_POOLCOLL_TOX_CNTNT6
Content 6th level.
@ RES_POOLCOLL_TOX_USER9
9th level.
@ RES_POOLCOLL_NUM_LEVEL4
4th level.
@ RES_POOLCOLL_DOC_TITLE
Doc. title.
@ RES_POOLCOLL_NUM_NONUM3
No numbering.
@ RES_POOLCOLL_TOX_CNTNT3
Content 3rd level.
@ RES_POOLCOLL_TOX_ILLUSH
illustrations index.
@ RES_POOLCOLL_BULLET_NONUM5
No numbering.
@ RES_POOLCOLL_TOX_CNTNT10
Content 10th level.
@ RES_POOLCOLL_TOX_CNTNT5
Content 5th level.
@ RES_POOLCOLL_HEADLINE9
Heading 9.
@ RES_POOLCOLL_FOOTERL
Footer Left.
@ RES_POOLCOLL_FRAME
Other stuff.
@ RES_POOLCOLL_TOX_CNTNT2
Content 2nd level.
@ RES_POOLCOLL_REGISTER_END
@ RES_POOLCOLL_BULLET_NONUM3
No numbering.
@ RES_POOLCOLL_NUM_LEVEL3E
End 3rd level.
@ RES_POOLCOLL_LABEL_TABLE
Label table.
@ RES_POOLCOLL_TOX_IDX1
1st level.
@ RES_POOLCOLL_NUM_LEVEL3
3rd level.
@ RES_POOLCOLL_NUM_NONUM1
No numbering.
@ RES_POOLCOLL_BULLET_LEVEL1S
Subgroup bullets.
@ RES_POOLCOLL_NUM_LEVEL5E
End 5th level.
@ RES_POOLCOLL_TOX_CNTNT1
Content 1st level.
@ RES_POOLCOLL_BULLET_LEVEL3
3rd Level.
@ RES_POOLCOLL_LABEL_ABB
Label illustration.
@ RES_POOLCOLL_TEXT_MOVE
Text body indent.
@ RES_POOLCOLL_HEADLINE_BASE
Subgroup headings.
@ RES_POOLCOLL_SEND_ADDRESS
Sender.
@ RES_POOLCOLL_LISTS_BEGIN
Group lists.
@ RES_POOLCOLL_NUM_LEVEL2
2nd level.
@ RES_POOLCOLL_NUM_LEVEL1
1st level.
@ RES_POOLCOLL_TOX_ILLUS1
Illustrations all levels.
@ RES_POOLCOLL_HEADERL
Header Left.
@ RES_POOLCOLL_TOX_USER7
7th level.
@ RES_POOLCOLL_HEADLINE2
Heading 2.
@ RES_POOLCOLL_TOX_CNTNT7
Content 7th level.
@ RES_POOLCOLL_TOX_CNTNT8
Content 8th level.
@ RES_POOLCOLL_TOX_USER10
10th level.
@ RES_POOLCOLL_DOC_SUBTITLE
Doc. subtitle.
@ RES_POOLCOLL_TOX_IDXBREAK
Separator.
@ RES_POOLCOLL_TOX_CNTNT9
Content 9th level.
@ RES_POOLCOLL_BULLET_LEVEL2S
Start 2nd level.
@ RES_POOLCOLL_HEADLINE4
Heading 4.
@ RES_POOLCOLL_BULLET_NONUM4
No numbering.
@ RES_POOLCOLL_FOOTNOTE
Footnotes.
@ RES_POOLCOLL_TOX_AUTHORITIESH
index of authorities.
@ RES_POOLCOLL_HEADLINE7
Heading 7.
@ RES_POOLCOLL_NUM_LEVEL4S
Start 4th level.
@ RES_POOLCOLL_TOX_USER8
8th level.
@ RES_POOLCOLL_NUM_LEVEL3S
Start 3rd level.
@ RES_POOLCOLL_BULLET_LEVEL5
5th level.
@ RES_POOLCOLL_NUM_LEVEL1S
Subgroup numberings.
@ RES_POOLCOLL_HEADLINE1
Heading 1.
@ RES_POOLCOLL_BULLET_LEVEL2E
End 2nd level.
@ RES_POOLCOLL_HEADERR
Header Right.
@ RES_POOLCOLL_TABLE_HDLN
Table of Contents - heading.
@ RES_POOLCOLL_BULLET_LEVEL5S
Start 5th level.
@ RES_POOLCOLL_FOOTER
Subgroup footer.
@ RES_POOLCOLL_DOC_BEGIN
Group chapter / document.
@ RES_POOLCOLL_TEXT_IDENT
Text body first line indent.
@ RES_POOLCOLL_HEADLINE3
Heading 3.
@ RES_POOLCOLL_ENDNOTE
Endnotes.
const sal_uInt16 POOLGRP_FRAMEFMT
@ RES_POOLNUMRULE_BUL5
NumRule Bullets 5.
@ RES_POOLNUMRULE_BUL2
NumRule Bullets 2.
@ RES_POOLNUMRULE_BUL4
NumRule Bullets 4.
@ RES_POOLNUMRULE_NUM2
NumRule Numbering ABC.
@ RES_POOLNUMRULE_NUM1
NumRule Numbering 123.
@ RES_POOLNUMRULE_NUM5
NumRule Numbering ivx.
@ RES_POOLNUMRULE_BUL3
NumRule Bullets 3.
@ RES_POOLNUMRULE_NUM3
NumRule Numbering abc.
@ RES_POOLNUMRULE_NUM4
NumRule Numbering IVX.
@ RES_POOLNUMRULE_BUL1
NumRule Bullets 1.
@ RES_POOLPAGE_ENVELOPE
Envelope.
@ RES_POOLPAGE_REGISTER
Index.
@ RES_POOLPAGE_LEFT
Left page.
@ RES_POOLPAGE_ENDNOTE
Endnote page.
@ RES_POOLPAGE_FOOTNOTE
Footnote at end of document.
@ RES_POOLPAGE_LANDSCAPE
Landscape page style.
@ RES_POOLPAGE_FIRST
First page.
@ RES_POOLPAGE_RIGHT
Right page.
@ RES_POOLPAGE_STANDARD
Standard page.
@ RES_POOLCHR_TOXJUMP
Jump from index.
@ RES_POOLCHR_HTML_TELETYPE
@ RES_POOLCHR_INET_VISIT
Internet visited.
@ RES_POOLCHR_BULLET_LEVEL
Bullets.
@ RES_POOLCHR_NUM_LEVEL
Numbering symbols.
@ RES_POOLCHR_HTML_SAMPLE
@ RES_POOLCHR_HTML_CITATION
@ RES_POOLCHR_FOOTNOTE
Footnote.
@ RES_POOLCHR_HTML_EMPHASIS
@ RES_POOLCHR_DROPCAPS
Dropcaps.
@ RES_POOLCHR_ENDNOTE
Endnote.
@ RES_POOLCHR_ENDNOTE_ANCHOR
Endnote anchor.
@ RES_POOLCHR_LABEL
Label.
@ RES_POOLCHR_PAGENO
Pages/field.
@ RES_POOLCHR_JUMPEDIT
Placeholder.
@ RES_POOLCHR_INET_NORMAL
Internet normal.
@ RES_POOLCHR_HTML_KEYBOARD
@ RES_POOLCHR_HTML_STRONG
@ RES_POOLCHR_LINENUM
Line numbering.
@ RES_POOLCHR_HTML_BEGIN
HTML-styles.
@ RES_POOLCHR_FOOTNOTE_ANCHOR
Footnote anchor.
@ RES_POOLCHR_HTML_VARIABLE
@ RES_POOLCHR_NORMAL_BEGIN
@ RES_POOLCHR_RUBYTEXT
Rubytext.
@ RES_POOLCHR_IDX_MAIN_ENTRY
Main entry in indices.
@ RES_POOLCHR_VERT_NUM
Vertical numbering symbols.
const sal_uInt16 POOLGRP_NOCOLLID
POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+...
const sal_uInt16 COLL_GET_RANGE_BITS
const sal_uInt16 POOLGRP_CHARFMT
Other groups:
@ RES_POOLFRM_LABEL
Labels.
@ RES_POOLFRM_FORMEL
Formula.
@ RES_POOLFRM_FRAME
Frame.
@ RES_POOLFRM_WATERSIGN
Watermark.
@ RES_POOLFRM_MARGINAL
Marginalia.
@ RES_POOLFRM_GRAPHIC
Graphics.
SVX_NUM_CHARS_LOWER_LETTER
SVX_NUM_CHARS_UPPER_LETTER
OUString SwResId(TranslateId aId)
constexpr short lNumberFirstLineOffset
constexpr short lBulletFirstLineOffset
constexpr sal_uInt8 MAXLEVEL
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)