61 #include <svx/strings.hrc>
64 #include <osl/diagnose.h>
65 #include <strings.hrc>
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 ) );
141 rSet.
Put(
SvxFontItem( aFnt.GetFamilyType(), aFnt.GetFamilyName(),
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 ) );
170 rSet.
Put(
SvxFontItem( aFnt.GetFamilyType(), aFnt.GetFamilyName(),
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 )) )
230 bool bHeader,
bool bTab )
234 aLR.SetTextLeft( nLeft );
246 aTStops.Insert(
SvxTabStop( nRightMargin - nLeft,
248 cDfltDecimalChar,
'.' ));
261 aLR.SetTextFirstLineOffset( sal_uInt16(nEZ) );
262 aLR.SetTextLeft( sal_uInt16(nLeft) );
263 aUL.SetUpper( sal_uInt16(nUpper) );
264 aUL.SetLower( sal_uInt16(nLower) );
279 aFrameSz.SetHeight( aFrameSz.GetWidth() );
280 aFrameSz.SetWidth( nTmp );
282 rSet.
Put( aFrameSz );
289 STR_POOLCOLL_STANDARD,
291 STR_POOLCOLL_TEXT_IDENT,
292 STR_POOLCOLL_TEXT_NEGIDENT,
293 STR_POOLCOLL_TEXT_MOVE,
294 STR_POOLCOLL_GREETING,
295 STR_POOLCOLL_SIGNATURE,
296 STR_POOLCOLL_CONFRONTATION,
297 STR_POOLCOLL_MARGINAL,
299 STR_POOLCOLL_HEADLINE_BASE,
300 STR_POOLCOLL_HEADLINE1,
301 STR_POOLCOLL_HEADLINE2,
302 STR_POOLCOLL_HEADLINE3,
303 STR_POOLCOLL_HEADLINE4,
304 STR_POOLCOLL_HEADLINE5,
305 STR_POOLCOLL_HEADLINE6,
306 STR_POOLCOLL_HEADLINE7,
307 STR_POOLCOLL_HEADLINE8,
308 STR_POOLCOLL_HEADLINE9,
309 STR_POOLCOLL_HEADLINE10
365 STR_POOLCOLL_HEADERFOOTER,
367 STR_POOLCOLL_HEADERL,
368 STR_POOLCOLL_HEADERR,
371 STR_POOLCOLL_FOOTERL,
372 STR_POOLCOLL_FOOTERR,
375 STR_POOLCOLL_TABLE_HDLN,
378 STR_POOLCOLL_LABEL_ABB,
379 STR_POOLCOLL_LABEL_TABLE,
380 STR_POOLCOLL_LABEL_FRAME,
381 STR_POOLCOLL_LABEL_FIGURE,
384 STR_POOLCOLL_FOOTNOTE,
385 STR_POOLCOLL_ENVELOPE_ADDRESS,
386 STR_POOLCOLL_SEND_ADDRESS,
387 STR_POOLCOLL_ENDNOTE,
388 STR_POOLCOLL_LABEL_DRAWING
394 STR_POOLCOLL_REGISTER_BASE,
396 STR_POOLCOLL_TOX_IDXH,
397 STR_POOLCOLL_TOX_IDX1,
398 STR_POOLCOLL_TOX_IDX2,
399 STR_POOLCOLL_TOX_IDX3,
400 STR_POOLCOLL_TOX_IDXBREAK,
402 STR_POOLCOLL_TOX_CNTNTH,
403 STR_POOLCOLL_TOX_CNTNT1,
404 STR_POOLCOLL_TOX_CNTNT2,
405 STR_POOLCOLL_TOX_CNTNT3,
406 STR_POOLCOLL_TOX_CNTNT4,
407 STR_POOLCOLL_TOX_CNTNT5,
409 STR_POOLCOLL_TOX_USERH,
410 STR_POOLCOLL_TOX_USER1,
411 STR_POOLCOLL_TOX_USER2,
412 STR_POOLCOLL_TOX_USER3,
413 STR_POOLCOLL_TOX_USER4,
414 STR_POOLCOLL_TOX_USER5,
416 STR_POOLCOLL_TOX_CNTNT6,
417 STR_POOLCOLL_TOX_CNTNT7,
418 STR_POOLCOLL_TOX_CNTNT8,
419 STR_POOLCOLL_TOX_CNTNT9,
420 STR_POOLCOLL_TOX_CNTNT10,
422 STR_POOLCOLL_TOX_ILLUSH,
423 STR_POOLCOLL_TOX_ILLUS1,
425 STR_POOLCOLL_TOX_OBJECTH,
426 STR_POOLCOLL_TOX_OBJECT1,
428 STR_POOLCOLL_TOX_TABLESH,
429 STR_POOLCOLL_TOX_TABLES1,
431 STR_POOLCOLL_TOX_AUTHORITIESH,
432 STR_POOLCOLL_TOX_AUTHORITIES1,
434 STR_POOLCOLL_TOX_USER6,
435 STR_POOLCOLL_TOX_USER7,
436 STR_POOLCOLL_TOX_USER8,
437 STR_POOLCOLL_TOX_USER9,
438 STR_POOLCOLL_TOX_USER10
444 STR_POOLCOLL_DOC_TITLE,
445 STR_POOLCOLL_DOC_SUBTITLE,
446 STR_POOLCOLL_DOC_APPENDIX
452 STR_POOLCOLL_HTML_BLOCKQUOTE,
453 STR_POOLCOLL_HTML_PRE,
454 STR_POOLCOLL_HTML_HR,
455 STR_POOLCOLL_HTML_DD,
461 STR_POOLCHR_FOOTNOTE,
464 STR_POOLCHR_DROPCAPS,
465 STR_POOLCHR_NUM_LEVEL,
466 STR_POOLCHR_BULLET_LEVEL,
467 STR_POOLCHR_INET_NORMAL,
468 STR_POOLCHR_INET_VISIT,
469 STR_POOLCHR_JUMPEDIT,
473 STR_POOLCHR_IDX_MAIN_ENTRY,
474 STR_POOLCHR_FOOTNOTE_ANCHOR,
475 STR_POOLCHR_ENDNOTE_ANCHOR,
476 STR_POOLCHR_RUBYTEXT,
482 STR_POOLCHR_HTML_EMPHASIS,
483 STR_POOLCHR_HTML_CITATION,
484 STR_POOLCHR_HTML_STRONG,
485 STR_POOLCHR_HTML_CODE,
486 STR_POOLCHR_HTML_SAMPLE,
487 STR_POOLCHR_HTML_KEYBOARD,
488 STR_POOLCHR_HTML_VARIABLE,
489 STR_POOLCHR_HTML_DEFINSTANCE,
490 STR_POOLCHR_HTML_TELETYPE
499 STR_POOLFRM_MARGINAL,
500 STR_POOLFRM_WATERSIGN,
507 STR_POOLPAGE_STANDARD,
511 STR_POOLPAGE_ENVELOPE,
512 STR_POOLPAGE_REGISTER,
514 STR_POOLPAGE_FOOTNOTE,
515 STR_POOLPAGE_ENDNOTE,
516 STR_POOLPAGE_LANDSCAPE
522 STR_POOLNUMRULE_NOLIST,
523 STR_POOLNUMRULE_NUM1,
524 STR_POOLNUMRULE_NUM2,
525 STR_POOLNUMRULE_NUM3,
526 STR_POOLNUMRULE_NUM4,
527 STR_POOLNUMRULE_NUM5,
528 STR_POOLNUMRULE_BUL1,
529 STR_POOLNUMRULE_BUL2,
530 STR_POOLNUMRULE_BUL3,
531 STR_POOLNUMRULE_BUL4,
542 STR_TABSTYLE_DEFAULT,
544 RID_SVXSTR_TBLAFMT_3D,
545 RID_SVXSTR_TBLAFMT_BLACK1,
546 RID_SVXSTR_TBLAFMT_BLACK2,
547 RID_SVXSTR_TBLAFMT_BLUE,
548 RID_SVXSTR_TBLAFMT_BROWN,
549 RID_SVXSTR_TBLAFMT_CURRENCY,
550 RID_SVXSTR_TBLAFMT_CURRENCY_3D,
551 RID_SVXSTR_TBLAFMT_CURRENCY_GRAY,
552 RID_SVXSTR_TBLAFMT_CURRENCY_LAVENDER,
553 RID_SVXSTR_TBLAFMT_CURRENCY_TURQUOISE,
554 RID_SVXSTR_TBLAFMT_GRAY,
555 RID_SVXSTR_TBLAFMT_GREEN,
556 RID_SVXSTR_TBLAFMT_LAVENDER,
557 RID_SVXSTR_TBLAFMT_RED,
558 RID_SVXSTR_TBLAFMT_TURQUOISE,
559 RID_SVXSTR_TBLAFMT_YELLOW,
561 RID_SVXSTR_TBLAFMT_LO6_ACADEMIC,
562 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_BLUE,
563 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_GREEN,
564 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_RED,
565 RID_SVXSTR_TBLAFMT_LO6_BOX_LIST_YELLOW,
566 RID_SVXSTR_TBLAFMT_LO6_ELEGANT,
567 RID_SVXSTR_TBLAFMT_LO6_FINANCIAL,
568 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_GRID_COLUMNS,
569 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_GRID_ROWS,
570 RID_SVXSTR_TBLAFMT_LO6_SIMPLE_LIST_SHADED
589 "Wrong AutoFormat Id" );
592 sal_uInt16 nOutLvlBits = 0;
604 if (!aName.isEmpty())
648 OSL_ENSURE(pResId,
"Invalid Pool ID");
686 SvxFrameDirection::Horizontal_RL_TB)
694 aSet.Put(aScriptSpace);
759 static const sal_uInt16 aFontWhich[] =
764 static const sal_uInt16 aLangTypes[] =
778 DefaultFontType::LATIN_HEADING,
779 DefaultFontType::CJK_HEADING,
780 DefaultFontType::CTL_HEADING
783 for(
int i = 0;
i < 3; ++
i )
790 nLng, GetDefaultFontFlags::OnlyOne ) );
841 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 0,
false );
848 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 1,
false );
855 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 2,
false );
862 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 3,
true );
869 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 4,
false );
876 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 5,
true );
883 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 6,
false );
890 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 7,
true );
897 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 8,
false );
904 lcl_SetHeadline(
m_rDoc, pNewColl, aSet, nOutLvlBits, 9,
false );
1011 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1019 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1022 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
true );
1025 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
true );
1028 lcl_SetRegister(
m_rDoc, aSet, 3,
false,
true );
1031 lcl_SetRegister(
m_rDoc, aSet, 4,
false,
true );
1034 lcl_SetRegister(
m_rDoc, aSet, 5,
false,
true );
1037 lcl_SetRegister(
m_rDoc, aSet, 6,
false,
true );
1040 lcl_SetRegister(
m_rDoc, aSet, 7,
false,
true );
1043 lcl_SetRegister(
m_rDoc, aSet, 8,
false,
true );
1046 lcl_SetRegister(
m_rDoc, aSet, 9,
false,
true );
1051 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1059 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
false );
1062 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
false );
1065 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
false );
1068 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
false );
1073 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1081 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1084 lcl_SetRegister(
m_rDoc, aSet, 1,
false,
true );
1087 lcl_SetRegister(
m_rDoc, aSet, 2,
false,
true );
1090 lcl_SetRegister(
m_rDoc, aSet, 3,
false,
true );
1093 lcl_SetRegister(
m_rDoc, aSet, 4,
false,
true );
1096 lcl_SetRegister(
m_rDoc, aSet, 5,
false,
true );
1099 lcl_SetRegister(
m_rDoc, aSet, 6,
false,
true );
1102 lcl_SetRegister(
m_rDoc, aSet, 7,
false,
true );
1105 lcl_SetRegister(
m_rDoc, aSet, 8,
false,
true );
1108 lcl_SetRegister(
m_rDoc, aSet, 9,
false,
true );
1115 lcl_SetRegister(
m_rDoc, aSet, 0,
true,
false );
1126 lcl_SetRegister(
m_rDoc, aSet, 0,
false,
true );
1362 aUL->SetLower( HTML_PARSPACE );
1363 aSet.Put(std::move(aUL));
1369 ::lcl_SetDfltFont( DefaultFontType::FIXED, aSet );
1376 std::unique_ptr<SvxULSpaceItem> aULSpaceItem(pNewColl->
GetULSpace().
Clone());
1377 aULSpaceItem->SetLower( 0 );
1378 aSet.Put(std::move(aULSpaceItem));
1386 SvxBorderLine aNew(&aColor, 3, SvxBorderLineStyle::DOUBLE);
1387 aBox.
SetLine( &aNew, SvxBoxItemLine::BOTTOM );
1393 std::unique_ptr<SvxULSpaceItem> aUL;
1398 aUL->SetLower( HTML_PARSPACE );
1399 aSet.Put(std::move(aUL));
1411 aSet.Put(std::move(aLR));
1416 std::unique_ptr<SvxLRSpaceItem> aLR;
1423 aSet.Put( std::move(aLR) );
1442 sal_uInt16 nArrCnt = 1;
1461 OSL_ENSURE(
false,
"invalid Id" );
1462 pRCId = STR_POOLCHR_ARY[0];
1478 OSL_ENSURE(
false,
"invalid Id" );
1488 OSL_ENSURE( nId,
"invalid Id" );
1491 OSL_ENSURE(pRCId,
"invalid Id");
1494 for(
size_t n = 0;
n < (*pArray[nArrCnt]).GetFormatCount(); ++
n )
1496 pNewFormat = (*pArray[ nArrCnt ] ).
GetFormat(
n );
1614 ::lcl_SetDfltFont( DefaultFontType::FIXED, aSet );
1626 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::LINE_CENTER, text::RelOrientation::PRINT_AREA ) );
1633 aSet.Put(
SwFormatHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::PRINT_AREA ) );
1634 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::PRINT_AREA ) );
1638 aBox.
SetLine( &aLine, SvxBoxItemLine::TOP );
1639 aBox.
SetLine( &aLine, SvxBoxItemLine::BOTTOM );
1640 aBox.
SetLine( &aLine, SvxBoxItemLine::LEFT );
1641 aBox.
SetLine( &aLine, SvxBoxItemLine::RIGHT );
1656 aSet.Put(
SwFormatHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME ));
1657 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::FRAME ));
1664 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::CHAR_CENTER, text::RelOrientation::FRAME ) );
1671 aSet.Put(
SwFormatHoriOrient( 0, text::HoriOrientation::LEFT, text::RelOrientation::FRAME ));
1672 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::FRAME ));
1683 aSet.Put(
SwFormatHoriOrient( 0, text::HoriOrientation::CENTER, text::RelOrientation::FRAME ));
1684 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::CENTER, text::RelOrientation::FRAME ));
1692 aSet.Put(
SwFormatVertOrient( 0, text::VertOrientation::TOP, text::RelOrientation::FRAME ) );
1698 aSet.Put( aProtect );
1724 "Wrong AutoFormat Id" );
1737 OSL_ENSURE(
false,
"<SwDoc::GetPageDescFromPool(..)> - unknown page pool ID" );
1771 bool bSetLeft =
true;
1786 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1797 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1809 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1835 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1849 lcl_PutStdPageSizeIntoItemSet(
m_rDoc, aSet );
1855 aInf.SetTopDist( 0 );
1856 aInf.SetBottomDist( 0 );
1868 aFrameSz.SetHeight( aFrameSz.GetWidth() );
1869 aFrameSz.SetWidth( nTmp );
1871 aSet.Put( aFrameSz );
1897 "Wrong AutoFormat Id" );
1913 OSL_ENSURE(
false,
"invalid Id" );
1920 SwCharFormat *pNumCFormat =
nullptr, *pBullCFormat =
nullptr;
1927 sal_uInt16
n =
m_rDoc.
MakeNumRule( aNm,
nullptr,
false, eNumberFormatPositionAndSpaceMode );
1956 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
1959 397, 794, 1191, 1588, 1985, 2381, 2778, 3175, 3572, 3969
1961 const sal_uInt16* pArr = aAbsSpace;
1985 pNewRule->
Set(
n, aFormat );
1992 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
1999 const sal_uInt16* pArr = aAbsSpace;
2014 sal_uInt16 nSpace = 357;
2019 nSpace += pArr[
n ];
2025 nSpace += pArr[
n ];
2031 pNewRule->
Set(
n, aFormat );
2071 pNewRule->
Set(
n, aFormat );
2087 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2090 754, 1508, 1191, 2262, 3016, 3771, 4525, 5279, 6033, 6787
2092 const sal_uInt16* pArr = aAbsSpace;
2117 pNewRule->
Set(
n, aFormat );
2124 static const sal_uInt16 aAbsSpace0to2[] =
2131 const sal_uInt16* pArr0to2 = aAbsSpace0to2;
2159 pNewRule->
Set( 0, aFormat );
2176 pNewRule->
Set( 1, aFormat );
2195 pNewRule->
Set( 2, aFormat );
2229 pNewRule->
Set(
n, aFormat );
2246 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2249 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2251 const sal_uInt16* pArr = aAbsSpace;
2275 pNewRule->
Set(
n, aFormat );
2291 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2294 170, 340, 510, 680, 850, 1020, 1191, 1361, 1531, 1701
2296 const sal_uInt16* pArr = aAbsSpace;
2320 pNewRule->
Set(
n, aFormat );
2363 pNewRule->
Set(
n, aFormat );
2378 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2381 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2384 const sal_uInt16* pArr = aAbsSpace;
2415 pNewRule->
Set(
n, aFormat );
2431 static const sal_uInt16 aAbsSpace[
MAXLEVEL ] =
2434 227, 454, 680, 907, 1134, 1361, 1587, 1814, 2041, 2268
2436 const sal_uInt16* pArr = aAbsSpace;
2460 pNewRule->
Set(
n, aFormat );
2479 "Wrong AutoFormat Id" );
2494 return !pNewColl->
GetInfo( aGetHt );
2500 const SwFormat *pNewFormat =
nullptr;
2502 sal_uInt16 nArrCnt = 1;
2517 SAL_WARN(
"sw.core",
"Invalid Pool Id: " << nId <<
" should be within "
2526 while( nArrCnt-- && !bFnd )
2527 for(
size_t n = 0; !bFnd &&
n < (*pArray[nArrCnt]).GetFormatCount(); ++n )
2529 pNewFormat = (*pArray[ nArrCnt ] ).
GetFormat( n );
2541 bFnd = !pNewFormat->
GetInfo( aGetHt );
2553 "Wrong AutoFormat Id" );
2570 return !pNewPgDsc->
GetInfo( aGetHt );
2579 static std::vector<OUString>
2582 assert(nSvxIds <= nLen);
2583 const size_t nWriterIds = nLen - nSvxIds;
2584 std::vector<OUString> aNameArray;
2585 aNameArray.reserve(nLen);
2586 for (
size_t i = 0;
i < nWriterIds; ++
i)
2587 aNameArray.push_back(
SwResId(pIds[
i]));
2588 for (
size_t i = nWriterIds; i < nLen; ++i)
2589 aNameArray.push_back(
SvxResId(pIds[i]));
2597 static std::map<LanguageTag, std::vector<OUString>> s_aTextUINameArray;
2599 auto it = s_aTextUINameArray.find(rCurrentLanguage);
2600 if (it == s_aTextUINameArray.end())
2601 it = s_aTextUINameArray.emplace(rCurrentLanguage,
2611 static std::map<LanguageTag, std::vector<OUString>> s_aListsUINameArray;
2613 auto it = s_aListsUINameArray.find(rCurrentLanguage);
2614 if (it == s_aListsUINameArray.end())
2615 it = s_aListsUINameArray.emplace(rCurrentLanguage,
2625 static std::map<LanguageTag, std::vector<OUString>> s_aExtraUINameArray;
2627 auto it = s_aExtraUINameArray.find(rCurrentLanguage);
2628 if (it == s_aExtraUINameArray.end())
2629 it = s_aExtraUINameArray.emplace(rCurrentLanguage,
2639 static std::map<LanguageTag, std::vector<OUString>> s_aRegisterUINameArray;
2641 auto it = s_aRegisterUINameArray.find(rCurrentLanguage);
2642 if (it == s_aRegisterUINameArray.end())
2643 it = s_aRegisterUINameArray.emplace(rCurrentLanguage,
2653 static std::map<LanguageTag, std::vector<OUString>> s_aDocUINameArray;
2655 auto it = s_aDocUINameArray.find(rCurrentLanguage);
2656 if (it == s_aDocUINameArray.end())
2657 it = s_aDocUINameArray.emplace(rCurrentLanguage,
2667 static std::map<LanguageTag, std::vector<OUString>> s_aHTMLUINameArray;
2669 auto it = s_aHTMLUINameArray.find(rCurrentLanguage);
2670 if (it == s_aHTMLUINameArray.end())
2671 it = s_aHTMLUINameArray.emplace(rCurrentLanguage,
2681 static std::map<LanguageTag, std::vector<OUString>> s_aFrameFormatUINameArray;
2683 auto it = s_aFrameFormatUINameArray.find(rCurrentLanguage);
2684 if (it == s_aFrameFormatUINameArray.end())
2685 it = s_aFrameFormatUINameArray.emplace(rCurrentLanguage,
2695 static std::map<LanguageTag, std::vector<OUString>> s_aChrFormatUINameArray;
2697 auto it = s_aChrFormatUINameArray.find(rCurrentLanguage);
2698 if (it == s_aChrFormatUINameArray.end())
2699 it = s_aChrFormatUINameArray.emplace(rCurrentLanguage,
2709 static std::map<LanguageTag, std::vector<OUString>> s_aHTMLChrFormatUINameArray;
2711 auto it = s_aHTMLChrFormatUINameArray.find(rCurrentLanguage);
2712 if (it == s_aHTMLChrFormatUINameArray.end())
2713 it = s_aHTMLChrFormatUINameArray.emplace(rCurrentLanguage,
2723 static std::map<LanguageTag, std::vector<OUString>> s_aPageDescUINameArray;
2725 auto it = s_aPageDescUINameArray.find(rCurrentLanguage);
2726 if (it == s_aPageDescUINameArray.end())
2727 it = s_aPageDescUINameArray.emplace(rCurrentLanguage,
2737 static std::map<LanguageTag, std::vector<OUString>> s_aNumRuleUINameArray;
2739 auto it = s_aNumRuleUINameArray.find(rCurrentLanguage);
2740 if (it == s_aNumRuleUINameArray.end())
2741 it = s_aNumRuleUINameArray.emplace(rCurrentLanguage,
2751 static std::map<LanguageTag, std::vector<OUString>> s_aTableStyleUINameArray;
2753 auto it = s_aTableStyleUINameArray.find(rCurrentLanguage);
2754 if (it == s_aTableStyleUINameArray.end())
2755 it = s_aTableStyleUINameArray.emplace(rCurrentLanguage,
2758 static_cast<size_t>(
SAL_N_ELEMENTS(STR_TABSTYLE_ARY) - 1))).first;
constexpr TypedWhichId< SvxProtectItem > RES_PROTECT(100)
virtual bool IsPoolPageDescUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use in this Document.
tools::Long GetWidth() const
static vcl::Font GetDefaultFont(DefaultFontType nType, LanguageType eLang, GetDefaultFontFlags nFlags, const OutputDevice *pOutDev=nullptr)
bool Insert(const SvxTabStop &rTab)
virtual ~DocumentStylePoolManager() override
void SetUseOn(UseOnPage eNew)
Same as WriteUseOn(), but the >= HeaderShare part of the bitfield is not modified.
int GetAssignedOutlineStyleLevel() const
void SetRight(const tools::Long nR, const sal_uInt16 nProp=100)
Represents the style of a paragraph.
static sal_uInt16 GetBullIndent(sal_uInt8 nLvl)
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 >)
constexpr TypedWhichId< SvxTabStopItem > RES_PARATR_TABSTOP(68)
static const std::vector< OUString > & GetListsUINameArray()
Footnote at end of document.
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CTL_FONT(27)
const OUString & GetFamilyName() const
constexpr TypedWhichId< SvxEscapementItem > RES_CHRATR_ESCAPEMENT(6)
SwFrameFormat & GetLeft()
const TranslateId STR_POOLCOLL_REGISTER_ARY[]
#define LANGUAGE_ARABIC_SAUDI_ARABIA
#define LINE_SPACE_DEFAULT_HEIGHT
constexpr auto toTwips(N number, Length from)
constexpr short lNumberFirstLineOffset
static const std::vector< OUString > & GetTableStyleUINameArray()
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL2E
Group chapter / document.
#define LANGUAGE_ENGLISH_US
virtual bool get(DocumentSettingId id) const override
Return the specified document setting.
void SetAutoRule(bool bFlag)
const OUString & GetStyleName() const
static const std::vector< OUString > & GetFrameFormatUINameArray()
const LanguageTag & GetUILanguageTag() const
const sal_uInt16 COLL_GET_RANGE_BITS
virtual SwCharFormat * GetCharFormatFromPool(sal_uInt16 nId) override
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(110)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL3
constexpr::Color COL_RED(0x80, 0x00, 0x00)
const TranslateId STR_POOLCOLL_EXTRA_ARY[]
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_NONUM1
static const std::vector< OUString > & GetHTMLUINameArray()
End of text styles collection.
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
tools::Long GetRight() const
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< XFillStyleItem > XATTR_FILLSTYLE(XATTR_FILL_FIRST)
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
const TranslateId STR_POOLFRM_ARY[]
SVX_NUM_CHARS_UPPER_LETTER
sal_uInt16 GetPoolFormatId() const
Query and set PoolFormat IDs.
SwFrameFormat & GetFirstMaster()
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true) override
Return "Auto-Collection with ID.
Vertical numbering symbols.
const sal_Unicode cBulletChar
Character for lists.
constexpr sal_uInt8 MAXLEVEL
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_NONUM2
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL1E
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...
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
const OUString & GetName() const
constexpr TypedWhichId< SvxOpaqueItem > RES_OPAQUE(99)
Dialog to specify the properties of date form field.
IDocumentUndoRedo & GetIDocumentUndoRedo()
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL2
SwFormat * MakeFrameFormat_(const OUString &, SwFormat *, bool, bool)
virtual bool SetFormatAttr(const SfxPoolItem &rAttr) override
Override to recognize changes on the and register/unregister the paragragh style at t...
bool HasWriterListeners() const
virtual bool GetInfo(SfxPoolItem &) const override
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 >)
const TranslateId STR_POOLCOLL_DOC_ARY[]
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_NONUM4
const SwFrameFormats * GetSpzFrameFormats() const
static const std::vector< OUString > & GetPageDescUINameArray()
Value in Var-direction gives minimum (can be exceeded but not be less).
void SetFollow(const SwPageDesc *pNew)
FontFamily GetFamilyType()
const TranslateId STR_POOLCOLL_TEXT_ARY[]
OUString SwResId(TranslateId aId)
static const std::vector< OUString > & GetDocUINameArray()
constexpr tools::Long Width() const
constexpr TypedWhichId< SvxCaseMapItem > RES_CHRATR_CASEMAP(RES_CHRATR_BEGIN)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL3
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL4E
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_NONUM3
const SwPageFootnoteInfo & GetFootnoteInfo() const
const TranslateId STR_POOLNUMRULE_NUM_ARY[]
bool IsAssignedToListLevelOfOutlineStyle() const
void SetTextLeft(const tools::Long nL, const sal_uInt16 nProp=100)
const SwCharFormat * GetDfltCharFormat() const
void SetPropLineSpace(const sal_uInt16 nProp)
void SetFootnoteInfo(const SwPageFootnoteInfo &rNew)
sal_uInt16 GetPoolFormatId() const
Query and set PoolFormat-Id.
const TranslateId STR_POOLCHR_ARY[]
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CTL_LANGUAGE(29)
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
const SwTextFormatColl * GetDfltTextFormatColl() const
void SetLandscape(bool bNew)
constexpr::Color COL_CYAN(0x00, 0x80, 0x80)
void SetNextTextFormatColl(SwTextFormatColl &rNext)
Inline implementations.
SwFormat * MakeCharFormat_(const OUString &, SwFormat *, bool, bool)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL5E
void SetAllScriptItem(SfxItemSet &rSet, const SfxPoolItem &rItem)
const SfxPoolItem & GetDefault(sal_uInt16 nFormatHint) const
Get the default attribute in this document.
OUString SvxResId(TranslateId aId)
DocumentStylePoolManager(SwDoc &i_rSwdoc)
#define DFLT_ESC_AUTO_SUPER
const SfxPoolItem * GetDfltAttr(sal_uInt16 nWhich)
Get the default attribute from corresponding default attribute table.
virtual SwNumRule * GetNumRuleFromPool(sal_uInt16 nId) override
void SetAllDistances(sal_uInt16 nNew)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL1S
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL2E
const sal_uInt16 POOLGRP_NOCOLLID
POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+...
void SetPoolFormatId(sal_uInt16 nId)
const TranslateId STR_POOLPAGE_ARY[]
void SetLower(const sal_uInt16 nL, const sal_uInt16 nProp=100)
virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return required automatic page style.
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
#define SAL_N_ELEMENTS(arr)
Table of Contents - heading.
virtual SvxULSpaceItem * Clone(SfxItemPool *pPool=nullptr) const override
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL1E
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL2
SVX_NUM_CHARS_LOWER_LETTER
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL3S
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL5
virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId, bool bRegardLanguage=true) override
Return required automatic page style.
void SetTextFirstLineOffsetValue(const short nValue)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL4S
std::vector< SwTextFormatColl * >::size_type size_type
virtual bool IsModified() const =0
Changes of document?
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_NONUM4
const vcl::Font & GetDefBulletFont()
retrieve font used for the default bullet list characters
const SwPageDesc & GetPageDesc(const size_t i) const
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_NONUM1
bool GetLandscape() const
WhichRangesContainer const aCharFormatSetRange(svl::Items< RES_CHRATR_BEGIN, RES_CHRATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL5
const TranslateId STR_POOLCOLL_HTML_ARY[]
SwPageDesc * MakePageDesc(const OUString &rName, const SwPageDesc *pCpy=nullptr, bool bRegardLanguage=true, bool bBroadcast=false)
bool IsConditionalByPoolId(sal_uInt16 nId)
tools::Long GetLeft() const
void SetTextFirstLineOffset(const short nF, const sal_uInt16 nProp=100)
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_GRAY
size_t GetPageDescCnt() const
IDocumentState const & getIDocumentState() const
#define LANGUAGE_DONTKNOW
constexpr TypedWhichId< SvxLineSpacingItem > RES_PARATR_LINESPACING(RES_PARATR_BEGIN)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL2S
static Size GetPaperSize(Paper ePaper, MapUnit eUnit=MapUnit::MapTwip)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL3E
static sal_uInt16 GetNumIndent(sal_uInt8 nLvl)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL2S
void SetPoolFormatId(sal_uInt16 const nId)
constexpr TypedWhichId< SvxEmphasisMarkItem > RES_CHRATR_EMPHASIS_MARK(33)
const TranslateId STR_POOLCHR_HTML_ARY[]
tools::Long GetHeight() const
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
SfxItemPool * GetPool() const
Illustrations all levels.
Frame cannot be moved in Var-direction.
virtual SotClipboardFormatId GetFormat(const TransferableDataHelper &aHelper) override
Text body first line indent.
const sal_uInt16 POOLGRP_FRAMEFMT
void push_back(Value const &rVal)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL4E
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL5E
const SwFrameFormat * GetDfltFrameFormat() const
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL5S
void AssignToListLevelOfOutlineStyle(const int nAssignedListLevel)
Size & LandscapeSwap(Size &rSize)
static const std::vector< OUString > & GetNumRuleUINameArray()
constexpr TypedWhichId< SvxColorItem > RES_CHRATR_COLOR(3)
constexpr TypedWhichId< SvxScriptSpaceItem > RES_PARATR_SCRIPTSPACE(73)
const SwNumFormat & Get(sal_uInt16 i) const
virtual SwFrameFormat * GetFrameFormatFromPool(sal_uInt16 nId) override
Return required automatic format.
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUMBER_BULLET_BASE
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL4
SwFrameFormat & GetMaster()
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
static const std::vector< OUString > & GetHTMLChrFormatUINameArray()
void SetSizeProtect(bool bNew)
static const std::vector< OUString > & GetChrFormatUINameArray()
void Set(sal_uInt16 i, const SwNumFormat *)
static const sal_Int16 Hairline
static const std::vector< OUString > & GetExtraUINameArray()
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL1
constexpr TypedWhichId< SvxOrphansItem > RES_PARATR_ORPHANS(66)
const SwCharFormats * GetCharFormats() const
void SetPosProtect(bool bNew)
SvxNumberFormat::SvxNumPositionAndSpaceMode GetDefaultPositionAndSpaceMode()
static std::vector< OUString > lcl_NewUINameArray(const TranslateId *pIds, const size_t nLen, const size_t nSvxIds=0)
void SetLeft(const tools::Long nL, const sal_uInt16 nProp=100)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_NONUM5
const SwTextFormatColls * GetTextFormatColls() const
constexpr tools::Long Height() const
constexpr short lBulletFirstLineOffset
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL4
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL4S
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_NONUM2
virtual bool GetInfo(SfxPoolItem &) const override
Query information from Client.
SwFrameFormat & GetFirstLeft()
const SwNumRuleTable & GetNumRuleTable() const
const TranslateId STR_TABSTYLE_ARY[]
LanguageType GetAppLanguage()
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return "Auto-Collection with ID.
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL1S
virtual SvxLRSpaceItem * Clone(SfxItemPool *pPool=nullptr) const override
static const std::vector< OUString > & GetRegisterUINameArray()
::sw::DocumentSettingManager & GetDocumentSettingManager()
static const OUString & GetUIName(const OUString &rName, SwGetPoolIdFromName)
sal_uInt16 MakeNumRule(const OUString &rName, const SwNumRule *pCpy=nullptr, bool bBroadcast=false, const SvxNumberFormat::SvxNumPositionAndSpaceMode eDefaultNumberFormatPositionAndSpaceMode=SvxNumberFormat::LABEL_WIDTH_AND_POSITION)
const ::std::vector< Color > ImpSvNumberformatScan::StandardColor COL_BLACK
tools::Long const nRightMargin
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(91)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_NONUM3
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL3E
virtual bool IsPoolTextCollUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use in this Document.
constexpr TypedWhichId< SvxBoxItem > RES_BOX(106)
SvxFrameDirection GetDefaultFrameDirection(LanguageType nLanguage)
Return the AutoCollection by its Id.
virtual SwFormat * GetFormatFromPool(sal_uInt16 nId) override
Return the AutomaticFormat with the supplied Id.
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL3S
#define SAL_WARN(area, stream)
constexpr::Color COL_BLUE(0x00, 0x00, 0x80)
Text body hanging indent.
constexpr TypedWhichId< SvxCharRotateItem > RES_CHRATR_ROTATE(32)
Subgroup table of contents.
void SetNumberingType(SvxNumType nSet)
const SwFrameFormats * GetFrameFormats() const
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_NUM_LEVEL1
const sal_uInt16 POOLGRP_CHARFMT
Other groups:
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CJK_FONTSIZE(23)
static const std::vector< OUString > & GetTextUINameArray()
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(92)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SvxAdjustItem > RES_PARATR_ADJUST(64)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_NONUM5
constexpr TypedWhichId< SvxWidowsItem > RES_PARATR_WIDOWS(67)
rtl_TextEncoding GetCharSet() const
const SwAttrPool & GetAttrPool() const
const TranslateId STR_POOLCOLL_LISTS_ARY[] STR_POOLCOLL_BULLET_LEVEL5S
WhichRangesContainer const aPgFrameFormatSetRange(svl::Items< RES_FRMATR_BEGIN, RES_FRMATR_END-1, RES_UNKNOWNATR_BEGIN, RES_UNKNOWNATR_END-1 >)
SwNumRule * GetOutlineNumRule() const
virtual bool IsPoolFormatUsed(sal_uInt16 nId) const override
Check if this AutoCollection is already/still in use.
virtual void ResetModified()=0
void SetLine(const editeng::SvxBorderLine *pNew, SvxBoxItemLine nLine)