97#include <rtl/strbuf.hxx>
98#include <osl/diagnose.h>
103#define HTML_HEADSPACE (12*20)
107enum class Css1FrameSize {
121#define DOT_LEADERS_MAX_WIDTH 18
127 sal_uInt16 nRefPoolId,
bool bExtRef,
130 SwDoc *pDoc,
bool bHasNotes,
bool bEndNote );
133 const SfxItemSet *pCharFormatItemSet=
nullptr );
153 const OUString *pGraphicName );
156 Css1FrameSize nMode );
165const char sCSS1_rule_end[] =
" }";
166const char sCSS1_span_tag_end[] =
"\">";
167const char cCSS1_style_opt_end =
'\"';
169const char*
const sHTML_FTN_fontheight =
"57%";
171OString lclConvToHex(sal_uInt16 nHex)
173 char aNToABuf[] =
"00";
176 char *pStr = aNToABuf + (
sizeof(aNToABuf)-1);
179 *(--pStr) =
static_cast<char>(nHex & 0xf ) + 48;
185 return OString(aNToABuf, 2);
190 std::optional<sw::Css1Background> oMode)
211 if (rValue ==
"underline" || rValue ==
"line-through")
227 return "#" + lclConvToHex(rColor.
GetRed()) + lclConvToHex(rColor.
GetGreen()) + lclConvToHex(rColor.
GetBlue());
240 const OUString *pSelector ) :
242 nOldMode( rHWrt.m_nCSS1OutMode )
259 std::string_view sVal,
260 const OUString *pSVal,
261 std::optional<sw::Css1Background> oMode )
263 OString aPropertyValue(sVal);
264 if (aPropertyValue.isEmpty() && pSVal)
312 "cm;padding:0;overflow-x:hidden;line-height:120%}"
314 for (
int i = 0;
i < 100;
i++ )
319 "background:white;position:relative;z-index:1}");
363 sOut.append(pProp + OString::Concat(
": "));
377 sOut.append(aPropertyValue);
396 std::string_view pUnit;
399 case FieldUnit::MM_100TH:
400 OSL_ENSURE( FieldUnit::MM == eUnit,
"Measuring unit not supported" );
410 OSL_ENSURE( FieldUnit::CM == eUnit,
"Measuring unit not supported" );
418 case FieldUnit::TWIP:
419 OSL_ENSURE( FieldUnit::POINT == eUnit,
"Measuring unit not supported" );
421 case FieldUnit::POINT:
427 case FieldUnit::PICA:
433 case FieldUnit::NONE:
434 case FieldUnit::FOOT:
435 case FieldUnit::MILE:
436 case FieldUnit::CUSTOM:
437 case FieldUnit::PERCENT:
438 case FieldUnit::INCH:
440 OSL_ENSURE( FieldUnit::INCH == eUnit,
"Measuring unit not supported" );
448 rOut.append(nResult/nFac);
449 if ((nResult % nFac) != 0)
452 while (nFac > 1 && (nResult % nFac) != 0)
455 rOut.append((nResult / nFac) % 10);
495 pFollow != pPageDesc &&
499 pFirstPageDesc = pPageDesc;
505 if( pPageDesc == pFollow )
530 nFirstRefPoolId,
false );
541 for(
size_t i = 1;
i < nTextFormats; ++
i )
551 for(
size_t i = 1;
i < nCharFormats; ++
i )
561 bool bHasEndNotes {
false};
562 bool bHasFootNotes {
false};
564 for(
auto pIdx : rIdxs )
566 if( pIdx->GetFootnote().IsEndNote() )
574 bHasFootNotes =
true;
601 OUString& rClass, sal_uInt16& rRefPoolId,
604 sal_uInt16 nDeep = 0;
615 while( pPFormat && !pPFormat->
IsDefault() )
622 const OUString& aNm(pPFormat->
GetName());
653 if (pPseudo && (nDeep || (nDefListLvl & 0x0fff) > 1))
725 OSL_ENSURE( (rRefPoolId != 0) == (!rToken.isEmpty()),
851 *pPseudo = OStringToOUString(
sCSS1_link, RTL_TEXTENCODING_ASCII_US );
858 *pPseudo = OStringToOUString(
sCSS1_visited, RTL_TEXTENCODING_ASCII_US );
864 if( !rToken.isEmpty() && !rRefPoolId )
865 rRefPoolId = nPoolId;
868 if( !rToken.isEmpty() || bStop )
881 if( !rToken.isEmpty() )
899 sal_Int32
nPos = rClass.indexOf(
'.' );
900 if(
nPos >= 0 && rClass.getLength() >
nPos+1 )
902 rClass = rClass.replaceAt( 0,
nPos+1,
u"" );
906 rClass = rClass.replaceAll(
".",
"-" );
907 rClass = rClass.replaceAll(
" ",
"-" );
908 rClass = rClass.replaceAll(
"_",
"-" );
915 sal_uInt16& rRefPoolId )
922 rRefPoolId, &aPseudo );
925 if( !aToken.isEmpty() )
926 rSelector = OStringToOUString(aToken, RTL_TEXTENCODING_ASCII_US);
930 if( !aClass.isEmpty() )
931 rSelector +=
"." + aClass;
932 if( !aPseudo.isEmpty() )
933 rSelector +=
":" + aPseudo;
942 const SwFormat *pRefFormat =
nullptr;
946 OSL_ENSURE( !(
USER_FMT & nPoolFormatId),
947 "No user templates found" );
959 OSL_ENSURE( nDeep != USHRT_MAX,
"Called GetParent for HTML-template!" );
960 const SwFormat *pRefFormat =
nullptr;
965 pRefFormat = &rFormat;
966 for( sal_uInt16
i=nDeep;
i>0;
i-- )
969 if( pRefFormat && pRefFormat->
IsDefault() )
970 pRefFormat =
nullptr;
978 return static_cast<const SvxFontItem &
>(r1).GetFamilyName() ==
979 static_cast<const SvxFontItem &
>(r2).GetFamilyName() &&
980 static_cast<const SvxFontItem &
>(r1).GetFamily() ==
990 OSL_ENSURE( bSetDefaults || bClearSame,
991 "SwHTMLWriter::SubtractItemSet: No action for this Flag" );
993 aRefItemSet.
Set( rRefItemSet );
1001 bool bItemSet = ( SfxItemState::SET ==
1005 if( pRefScriptItemSet )
1024 bRefItemSet = ( SfxItemState::SET ==
1025 pRefScriptItemSet->
GetItemState( nWhich,
true, &pRefItem) );
1028 bRefItemSet = ( SfxItemState::SET ==
1035 bRefItemSet = ( SfxItemState::SET ==
1041 if( (bClearSame || pRefScriptItemSet) && bRefItemSet &&
1042 ( *pItem == *pRefItem ||
1055 if( (bSetDefaults || pRefScriptItemSet) && bRefItemSet )
1073 bool bContainsKeyword =
false;
1074 if( !rName.isEmpty() )
1076 sal_Int32 nStrPos = 0;
1077 while( nStrPos != -1 )
1079 OUString
aName = rName.getToken( 0,
';', nStrPos );
1081 if(
aName.isEmpty() )
1084 bool bIsKeyword =
false;
1110 bContainsKeyword |= bIsKeyword;
1112 if( !rNames.isEmpty() )
1114 if( cQuote && !bIsKeyword )
1115 rNames += OUStringChar( cQuote );
1117 if( cQuote && !bIsKeyword )
1118 rNames += OUStringChar( cQuote );
1122 if( bContainsKeyword || !bGeneric )
1125 std::string_view pStr;
1139 if( !rNames.isEmpty() )
1141 rNames += OStringToOUString( pStr, RTL_TEXTENCODING_ASCII_US );
1146 bool bCheckDropCap )
1148 static const sal_uInt16 aWhichIds[] =
1158 for(
int i=0; aWhichIds[
i];
i += 3 )
1160 const SfxPoolItem *pItem =
nullptr, *pItemCJK =
nullptr, *pItemCTL =
nullptr, *pTmp;
1162 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i],
false,
1168 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i+1],
false,
1174 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i+2],
false,
1183 if( nItemCount > 0 && nItemCount < 3 )
1186 if( 3 == nItemCount )
1200 if( *pItem != *pItemCJK ||
1201 *pItem != *pItemCTL ||
1202 *pItemCJK != *pItemCTL )
1209 if( bCheckDropCap &&
1225 aTstItemSet.Set( pDCCharFormat->
GetAttrSet() );
1235 bool bCheckForPseudo )
1237 bool bScriptDependent =
false;
1240 bScriptDependent =
true;
1241 std::u16string_view aSelector( rSelector );
1243 std::u16string_view aPseudo;
1244 if( bCheckForPseudo )
1246 size_t nPos = aSelector.rfind(
':' );
1247 if(
nPos != std::u16string_view::npos )
1249 aPseudo = aSelector.substr(
nPos );
1250 aSelector =aSelector.substr( 0,
nPos );
1271 aScriptItemSet( *rItemSet.
GetPool() );
1272 aScriptItemSet.Put( rItemSet );
1274 OUString aNewSelector = OUString::Concat(aSelector) +
".western" + aPseudo;
1281 aNewSelector = OUString::Concat(aSelector) +
".cjk" + aPseudo;
1288 aNewSelector = OUString::Concat(aSelector) +
".ctl" + aPseudo;
1300 OUString aNewSelector = OUString::Concat(aSelector) +
"-western" + aPseudo;
1307 aNewSelector = OUString::Concat(aSelector) +
"-cjk" + aPseudo;
1314 aNewSelector = OUString::Concat(aSelector) +
"-ctl" + aPseudo;
1328 SwCSS1OutMode aMode( rWrt,
1334 return bScriptDependent;
1340 bool bHasScriptDependencies )
1343 if( (bHasScriptDependencies && bHasClass) ||
1346 std::u16string_view aSelector( rSelector );
1348 std::u16string_view aPseudo;
1349 size_t nPos = aSelector.rfind(
':' );
1350 if(
nPos != std::u16string_view::npos )
1352 aPseudo = aSelector.substr(
nPos );
1353 aSelector = aSelector.substr( 0,
nPos );
1373 aScriptItemSet.Set( pDCCharFormat->
GetAttrSet() );
1375 OUString aNewSelector = OUString::Concat(aSelector) +
".western" + aPseudo;
1382 aNewSelector = OUString::Concat(aSelector) +
".cjk" + aPseudo;
1389 aNewSelector = OUString::Concat(aSelector) +
".ctl" + aPseudo;
1401 OUString aNewSelector = OUString::Concat(aSelector) +
"-western" + aPseudo;
1408 aNewSelector = OUString::Concat(aSelector) +
"-cjk" + aPseudo;
1415 aNewSelector = OUString::Concat(aSelector) +
"-ctl" + aPseudo;
1429 SwCSS1OutMode aMode( rWrt,
1439 bool bCharFormat =
false;
1440 switch( rFormat.
Which() )
1458 sal_uInt16 nRefPoolId = 0;
1459 sal_uInt16 nDeep =
GetCSS1Selector( &rFormat, aSelector, nRefPoolId );
1481 aItemSet.
Set( rFormatItemSet );
1485 bool bSetDefaults =
true, bClearSame =
true;
1486 const SwFormat *pRefFormat =
nullptr;
1487 const SwFormat *pRefFormatScript =
nullptr;
1501 bSetDefaults =
false;
1509 bSetDefaults, bClearSame,
1530 const OUString& aNm(rFormat.
GetName());
1532 if (aNm ==
"DD 1" || aNm ==
"DT 1")
1544 switch( nPoolFormatId )
1565 if( !aItemSet.
Count() )
1569 bool bCheckForPseudo =
false;
1573 bCheckForPseudo =
true;
1576 bool bHasScriptDependencies =
false;
1588 bHasScriptDependencies =
true;
1594 OUString sOut = aSelector +
1604 sal_uInt16 nRefPoolId,
bool bExtRef,
1610 else if( pTemplate )
1613 OUString aSelector =
"@" + OStringToOUString(
sCSS1_page, RTL_TEXTENCODING_ASCII_US );
1617 std::string_view pPseudo;
1624 if( !pPseudo.empty() )
1625 aSelector +=
":" + OStringToOUString( pPseudo, RTL_TEXTENCODING_ASCII_US );
1633 bool bRefLandscape = pRefPageDesc && pRefPageDesc->
GetLandscape();
1704 SwDoc *pDoc,
bool bHasNotes,
bool bEndNote )
1716 sHTML_FTN_fontheight );
1721 if( pSymCharFormat )
1725 aItemSet.
Set( rFormatItemSet );
1733 SwFormat *pRefFormat = rWrt.
m_xTemplate->getIDocumentStylePoolAccess().GetCharFormatFromPool(
1739 if( aItemSet.
Count() )
1743 : std::u16string_view(
1745 if(
OutCSS1Rule( rWrt, aSelector, aItemSet,
true,
false ))
1766 OUString rEmbeddedGraphicName;
1857 case RndStdIds::FLY_AT_PARA:
1858 case RndStdIds::FLY_AT_CHAR:
1865 std::string_view pStr = text::HoriOrientation::RIGHT==rHoriOri.
GetHoriOrient()
1874 case RndStdIds::FLY_AT_PAGE:
1875 case RndStdIds::FLY_AT_FLY:
1888 bool bOutXPos =
false, bOutYPos =
false;
1891 OSL_ENSURE( pSdrObj,
"Do not pass a SdrObject. Inefficient" );
1894 OSL_ENSURE( pSdrObj,
"Where is the SdrObject" );
1901 bOutXPos = bOutYPos =
true;
1922 aULItem.
SetUpper( o3tl::narrowing<sal_uInt16>(aULItem.
GetUpper() + nYPos) );
1938 aLRItem.
SetLeft( o3tl::narrowing<sal_uInt16>(aLRItem.
GetLeft() + nXPos) );
1958 OSL_ENSURE( pSdrObj,
"Do not pass a SdrObject. Inefficient" );
1961 OSL_ENSURE( pSdrObj,
"Where is the SdrObject" );
1986 "Export absolute size" );
1988 "Export every size" );
1991 nMode |= Css1FrameSize::Width;
1993 nMode |= Css1FrameSize::MinHeight|Css1FrameSize::FixHeight;
1995 nMode |= Css1FrameSize::Pixel;
2012 if( pLRItem || pULItem )
2057 if (eTabHoriOri == text::HoriOrientation::CENTER)
2071 SwCSS1OutMode
const aMode( *
this,
2095 if (!sConvertedDirection.isEmpty())
2104 OString sColumnCount(OString::number(
static_cast<sal_Int32
>(pCol->
GetNumCols())));
2115 bool bWritten =
false;
2138 if (RndStdIds::FLY_AT_PAGE != eAnchorId && pAnchorNode)
2169 pLine = pBox ? pBox->
GetUpper() :
nullptr;
2237 "write underline as Hint?" );
2259 "write overline as Hint?" );
2260 if (!sOut.isEmpty())
2283 "write crossedOut as Hint?" );
2284 if (!sOut.isEmpty())
2294 if( !pBItem->GetValue() )
2303 "write blink as Hint?" );
2304 if (!sOut.isEmpty())
2310 if (!sOut.isEmpty())
2322 case SvxCaseMap::NotMapped:
2325 case SvxCaseMap::SmallCaps:
2328 case SvxCaseMap::Uppercase:
2331 case SvxCaseMap::Lowercase:
2334 case SvxCaseMap::Capitalize:
2351 "write color as Hint?" );
2381 switch( rHt.
Which() )
2390 "write Font as Hint?" );
2413 switch( rHt.
Which() )
2422 OString sHeight(OString::number(nHeight/20) +
sCSS1_UNIT_pt);
2431 switch( rHt.
Which() )
2439 std::string_view pStr;
2450 "write italic as Hint?" );
2478 sOut.append(OString::number(
nValue / 10) +
"." + OString::number(
nValue % 10) +
2500 switch( rHt.
Which() )
2509 "write Language as Hint?" );
2541 nullptr,
static_cast<const SvxOverlineItem *
>(&rHt),
nullptr,
nullptr );
2557 switch( rHt.
Which() )
2565 std::string_view pStr;
2566 switch(
static_cast<const SvxWeightItem&
>(rHt).GetWeight() )
2579 "write bold as Hint?" );
2601 nullptr,
nullptr,
nullptr,
static_cast<const SvxBlinkItem *
>(&rHt) );
2616 sal_uInt16 nHeight = 0;
2617 sal_uInt16 nPercentHeight = 0;
2621 case SvxInterLineSpaceRule::Off:
2622 case SvxInterLineSpaceRule::Fix:
2624 switch( eLineSpace )
2626 case SvxLineSpaceRule::Min:
2627 case SvxLineSpaceRule::Fix:
2630 case SvxLineSpaceRule::Auto:
2631 nPercentHeight = 100;
2638 case SvxInterLineSpaceRule::Prop:
2648 else if( nPercentHeight &&
2651 OString sHeight(OString::number(nPercentHeight) +
"%");
2665 std::string_view pStr;
2666 switch(
static_cast<const SvxAdjustItem&
>(rHt).GetAdjust() )
2726 OString sOut(OString::number(rDrop.
GetLines()*100) +
"%");
2735 if( pCharFormatItemSet )
2737 else if( pDCCharFormat )
2752 SwCSS1OutMode aMode( rWrt,
2768 Css1FrameSize nMode )
2772 if( nMode & Css1FrameSize::Width )
2777 OString sOut(OString::number(nPercentWidth) +
"%");
2780 else if( nMode & Css1FrameSize::Pixel )
2909 if( pLRItem && pULItem &&
2937 if( pLRSpace || pULSpace )
2951 std::string_view pBreakBefore;
2952 std::string_view pBreakAfter;
2962 case SvxBreak::NONE:
2964 if( pBreakAfter.empty() )
2968 case SvxBreak::PageBefore:
2972 case SvxBreak::PageAfter:
2992 else if( pBreakBefore.empty() )
3002 if( !pBreakBefore.empty() )
3005 if( !pBreakAfter.empty() )
3027 if( pBreakItem || pPDescItem || pKeepItem )
3029 pPDescItem, pKeepItem );
3043 const OUString* pGraphicName)
3054 OUString aLink = pGraphicName ? *pGraphicName
3055 :
static_cast<const SvxBrushItem &
>(rHt).GetGraphicLink();
3065 bool bColor =
false;
3076 OUString aGraphicInBase64;
3079 const Graphic* pGrf =
nullptr;
3082 pGrf =
static_cast<const SvxBrushItem &
>(rHt).GetGraphic();
3094 OUString aGraphicAsLink = aLink;
3096 aLink = aGraphicAsLink;
3103 std::string_view pRepeat, pHori, pVert;
3104 if( pGrf || !aLink.isEmpty() )
3160 if( !pHori.empty() || !pVert.empty() )
3167 if( !pGrf && aLink.isEmpty() && !bColor )
3178 sOut += OStringToOUString(sTmp, RTL_TEXTENCODING_ASCII_US);
3181 if( pGrf || !aLink.isEmpty() )
3188 sOut += OStringToOUString(
sCSS1_url, RTL_TEXTENCODING_ASCII_US) +
3193 sOut += OStringToOUString(
sCSS1_url, RTL_TEXTENCODING_ASCII_US)+
3198 if( !pRepeat.empty() )
3200 sOut +=
" " + OStringToOUString(pRepeat, RTL_TEXTENCODING_ASCII_US);
3203 if( !pHori.empty() )
3205 sOut +=
" " + OStringToOUString(pHori, RTL_TEXTENCODING_ASCII_US);
3207 if( !pVert.empty() )
3209 sOut +=
" " + OStringToOUString(pVert, RTL_TEXTENCODING_ASCII_US);
3212 sOut +=
" " + OStringToOUString(
sCSS1_PV_scroll, RTL_TEXTENCODING_ASCII_US) +
" ";
3216 if( !sOut.isEmpty() )
3226 std::string_view pProperty,
3229 if( !pLine || pLine->
isEmpty() )
3235 sal_Int32 nWidth = pLine->
GetWidth();
3251 sOut.append(OString::number(nWidth / 100) +
"." + OString::number((nWidth/10) % 10) +
3259 case SvxBorderLineStyle::SOLID:
3262 case SvxBorderLineStyle::DOTTED:
3265 case SvxBorderLineStyle::DASHED:
3268 case SvxBorderLineStyle::DOUBLE:
3269 case SvxBorderLineStyle::THINTHICK_SMALLGAP:
3270 case SvxBorderLineStyle::THINTHICK_MEDIUMGAP:
3271 case SvxBorderLineStyle::THINTHICK_LARGEGAP:
3272 case SvxBorderLineStyle::THICKTHIN_SMALLGAP:
3273 case SvxBorderLineStyle::THICKTHIN_MEDIUMGAP:
3274 case SvxBorderLineStyle::THICKTHIN_LARGEGAP:
3277 case SvxBorderLineStyle::EMBOSSED:
3280 case SvxBorderLineStyle::ENGRAVED:
3283 case SvxBorderLineStyle::INSET:
3286 case SvxBorderLineStyle::OUTSET:
3327 if( (pTop && pBottom && pLeft && pRight &&
3328 *pTop == *pBottom && *pTop == *pLeft && *pTop == *pRight) ||
3329 (!pTop && !pBottom && !pLeft && !pRight) )
3349 if( nTopDist == nBottomDist && nLeftDist == nRightDist )
3353 if( nTopDist != nLeftDist )
3379 std::string_view pStr;
3382 case SvxFrameDirection::Horizontal_LR_TB:
3383 case SvxFrameDirection::Vertical_LR_TB:
3386 case SvxFrameDirection::Horizontal_RL_TB:
3387 case SvxFrameDirection::Vertical_RL_TB:
3390 case SvxFrameDirection::Environment:
3602 if( pUnderlineItem || pOverlineItem || pCrossedOutItem || pBlinkItem )
3620 sOut.append(sCSS1_span_tag_end);
3624 sOut.append(cCSS1_style_opt_end);
3628 sOut.append(sCSS1_rule_end);
3631 if (!sOut.isEmpty())
css::chart::ChartAxisLabelPosition ePos
static OutputDevice * GetDefaultDevice()
OUString lowercase(const OUString &rStr, sal_Int32 nPos, sal_Int32 nCount) const
sal_uInt8 GetBlue() const
sal_uInt8 GetGreen() const
virtual const SwViewShell * GetCurrentViewShell() const =0
Returns the layout set at the document.
virtual bool get(DocumentSettingId id) const =0
Return the specified document setting.
Access to the style pool.
virtual SwPageDesc * GetPageDescFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return required automatic page style.
virtual SwCharFormat * GetCharFormatFromPool(sal_uInt16 nId)=0
virtual SwTextFormatColl * GetTextCollFromPool(sal_uInt16 nId, bool bRegardLanguage=true)=0
Return "Auto-Collection with ID.
static OUString convertToBcp47(LanguageType nLangID)
constexpr tools::Long Y() const
constexpr tools::Long X() const
virtual Point GetRelativePos() const
virtual const tools::Rectangle & GetLogicRect() const
const SfxPoolItem & GetDefaultItem(sal_uInt16 nWhich) const
const WhichRangesContainer & GetRanges() const
SfxItemPool * GetPool() const
const T * GetItemIfSet(TypedWhichId< T > nWhich, bool bSrchInParent=true) const
sal_uInt16 ClearItem(sal_uInt16 nWhich=0)
SfxItemState GetItemState(sal_uInt16 nWhich, bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
const SfxPoolItem * Put(const SfxPoolItem &rItem, sal_uInt16 nWhich)
bool Set(const SfxItemSet &, bool bDeep=true)
SfxItemState GetItemState(bool bSrchInParent=true, const SfxPoolItem **ppItem=nullptr) const
constexpr tools::Long Height() const
void setWidth(tools::Long nWidth)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
SvStream & WriteOString(std::string_view rStr)
SvStream & WriteChar(char nChar)
const editeng::SvxBorderLine * GetTop() const
const editeng::SvxBorderLine * GetRight() const
const editeng::SvxBorderLine * GetLeft() const
sal_Int16 GetDistance(SvxBoxItemLine nLine, bool bAllowNegative=false) const
const editeng::SvxBorderLine * GetBottom() const
const Color & GetColor() const
const OUString & GetGraphicLink() const
SvxGraphicPosition GetGraphicPos() const
FontStrikeout GetStrikeout() const
short GetTextFirstLineOffset() const
FontFamily GetFamily() const
const OUString & GetFamilyName() const
short GetTextFirstLineOffset() const
tools::Long GetRight() const
tools::Long GetTextLeft() const
tools::Long GetLeft() const
void SetLeft(const tools::Long nL, const sal_uInt16 nProp=100)
sal_uInt16 GetPropLineSpace() const
SvxInterLineSpaceRule GetInterLineSpaceRule() const
SvxLineSpaceRule GetLineSpaceRule() const
sal_uInt16 GetLineHeight() const
tools::Long GetRight() const
const Size & GetSize() const
tools::Long GetTextLeft() const
FontLineStyle GetLineStyle() const
sal_uInt16 GetUpper() const
void SetUpper(const sal_uInt16 nU, const sal_uInt16 nProp=100)
sal_uInt16 GetLower() const
SwAttrPool * GetPool() const
const SvxBrushItem & GetBackground(bool=true) const
const SwAttrSet & GetSwAttrSet() const
Does node has already its own auto-attributes? Access to SwAttrSet.
const SwFootnoteInfo & GetFootnoteInfo() const
bool IsUsed(const sw::BroadcastingModify &) const
const SwCharFormats * GetCharFormats() const
IDocumentLayoutAccess const & getIDocumentLayoutAccess() const
SwFootnoteIdxs & GetFootnoteIdxs()
IDocumentSettingAccess const & getIDocumentSettingAccess() const
const SwTextFormatColls * GetTextFormatColls() const
const SwEndNoteInfo & GetEndNoteInfo() const
IDocumentStylePoolAccess const & getIDocumentStylePoolAccess() const
const SwAttrPool & GetAttrPool() const
SwCharFormat * GetCharFormat(SwDoc &rDoc) const
Pagedescriptor Client of SwPageDesc that is "described" by the attribute.
SwPageDesc * GetPageDesc()
bool mbXHTML
If XHTML markup should be written instead of HTML.
void OutCSS1_PropertyAscii(std::string_view pProp, std::string_view rVal)
static OString convertDirection(SvxFrameDirection nDirection)
void OutCSS1_Property(std::string_view pProp, const OUString &rVal)
bool mbSkipHeaderFooter
If HTML header and footer should be written as well, or just the content itself.
static bool HasScriptDependentItems(const SfxItemSet &rItemSet, bool bCheckDropCap)
bool IsCSS1Source(sal_uInt16 n) const
void OutStyleSheet(const SwPageDesc &rPageDesc)
bool m_bFirstCSS1Property
std::set< OUString > m_aScriptTextStyles
const SwPageDesc * m_pCurrPageDesc
static sal_uInt16 GetDefListLvl(std::u16string_view rNm, sal_uInt16 nPoolId)
void OutCSS1_TableFrameFormatOptions(const SwFrameFormat &rFrameFormat)
Writes the formatting for tables.
static void SubtractItemSet(SfxItemSet &rItemSet, const SfxItemSet &rRefItemSet, bool bSetDefaults, bool bClearSame=true, const SfxItemSet *pRefScriptItemSet=nullptr)
static const SwFormat * GetTemplateFormat(sal_uInt16 nPoolId, IDocumentStylePoolAccess *pTemplate)
bool IsCSS1Script(sal_uInt16 n) const
static const SwFormat * GetParentFormat(const SwFormat &rFormat, sal_uInt16 nDeep)
sal_Int32 m_nDfltRightMargin
OString GetNamespace() const
Determines the prefix string needed to respect the requested namespace alias.
sal_Int32 m_nDfltLeftMargin
bool mbReqIF
If the ReqIF subset of XHTML should be written.
sal_uInt16 m_nCSS1OutMode
bool m_bCSS1IgnoreFirstPageDesc
static sal_uInt16 GetCSS1Selector(const SwFormat *pFormat, OString &rToken, OUString &rClass, sal_uInt16 &rRefPoolId, OUString *pPseudo=nullptr)
void OutCSS1_FrameFormatOptions(const SwFrameFormat &rFrameFormat, HtmlFrmOpts nFrameOpts, const SdrObject *pSdrObj=nullptr, const SfxItemSet *pItemSet=nullptr)
void OutCSS1_UnitProperty(std::string_view pProp, tools::Long nVal)
sal_uInt16 m_nDfltTopMargin
FieldUnit GetCSS1Unit() const
sal_uInt16 m_nDfltBottomMargin
void OutCSS1_SfxItemSet(const SfxItemSet &rItemSet, bool bDeep=true)
short m_nDfltFirstLineIndent
void OutNewLine(bool bCheck=false)
static sal_uInt32 ToPixel(sal_uInt32 nVal, const bool bVert)
static void PrepareFontList(const SvxFontItem &rFontItem, OUString &rNames, sal_Unicode cQuote, bool bGeneric)
rtl::Reference< SwDoc > m_xTemplate
bool IsHTMLMode(sal_uInt32 nMode) const
SvxFrameDirection GetHTMLDirection(SvxFrameDirection nDir) const
void OutCSS1_FrameFormatBackground(const SwFrameFormat &rFrameFormat)
SwNodeIndex * m_pStartNdIdx
void OutCSS1_PixelProperty(std::string_view pProp, tools::Long nVal, bool bVert)
void OutCSS1_TableCellBordersAndBG(const SwFrameFormat &rFrameFormat, const SvxBrushItem *pBrushItem)
Writes the borders and background for table cells.
void OutCSS1_SectionFormatOptions(const SwFrameFormat &rFrameFormat, const SwFormatCol *pCol)
std::set< OUString > m_aScriptParaStyles
SwNodeOffset GetIndex() const
Base class of the Writer document model elements.
SwFrameFormat * GetFlyFormat() const
If node is in a fly return the respective format.
SwNodeOffset GetIndex() const
const SwStartNode * FindTableBoxStartNode() const
bool IsContentNode() const
SwTableNode * FindTableNode()
Search table node, in which it is.
SwContentNode * GetContentNode()
const SwNumFormat & Get(sal_uInt16 i) const
sal_uInt16 GetPoolFormatId() const
Query and set PoolFormat-Id.
SwFrameFormat & GetMaster()
bool GetLandscape() const
const SwPageDesc * GetFollow() const
Starts a section of nodes in the document model.
SwTableBox is one table cell in the document model.
SwFrameFormat * GetFrameFormat()
SwTableLine is one table row in the document model.
SwFrameFormat * GetFrameFormat()
const SwTable & GetTable() const
SwTableFormat * GetFrameFormat()
const SwTableBox * GetTableBox(const OUString &rName, const bool bPerformValidCheck=false) const
Represents the style of a paragraph.
const Color & GetRetoucheColor() const
const SwViewOption * GetViewOptions() const
std::shared_ptr< SwUnoCursor > m_pCurrentPam
const OUString & GetBaseURL() const
IDocumentStylePoolAccess & getIDocumentStylePoolAccess()
bool CopyLocalFileToINet(OUString &rFileNm)
static bool GraphicToBase64(const Graphic &rGraphic, OUString &rOUString, bool bAddPrefix=true, ConvertDataFormat aTargetFormat=ConvertDataFormat::Unknown)
const Color & GetColor() const
tools::Long GetWidth() const
SvxBorderLineStyle GetBorderLineStyle() const
constexpr ::Color COL_WHITE(0xFF, 0xFF, 0xFF)
constexpr ::Color COL_AUTO(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
constexpr ::Color COL_BLACK(0x00, 0x00, 0x00)
constexpr ::Color COL_TRANSPARENT(ColorTransparency, 0xFF, 0xFF, 0xFF, 0xFF)
static SwHTMLWriter & OutCSS1_SvxKerning(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
SwHTMLWriter & OutCSS1_HintSpanTag(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxTextLn_SvxCrOut_SvxBlink(SwHTMLWriter &rWrt, const SvxUnderlineItem *pUItem, const SvxOverlineItem *pOItem, const SvxCrossedOutItem *pCOItem, const SvxBlinkItem *pBItem)
SwAttrFnTab const aCSS1AttrFnTab
bool IgnorePropertyForReqIF(bool bReqIF, std::string_view rProperty, std::string_view rValue, std::optional< sw::Css1Background > oMode)
Determines if rProperty with a given rValue has to be suppressed due to ReqIF mode.
static SwHTMLWriter & OutCSS1_SvxHidden(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxFrameDirection(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
SwHTMLWriter & OutCSS1_BodyTagStyleOpt(SwHTMLWriter &rWrt, const SfxItemSet &rItemSet)
static SwHTMLWriter & OutCSS1_SvxOverline(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
SwHTMLWriter & OutCSS1_SvxBox(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SwPageDesc(SwHTMLWriter &rWrt, const SwPageDesc &rFormat, IDocumentStylePoolAccess *pDoc, SwDoc *pTemplate, sal_uInt16 nRefPoolId, bool bExtRef, bool bPseudo=true)
#define DOT_LEADERS_MAX_WIDTH
static SwHTMLWriter & OutCSS1_SvxFont(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxAdjust(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
SwHTMLWriter & OutCSS1_ParaTagStyleOpt(SwHTMLWriter &rWrt, const SfxItemSet &rItemSet)
static SwHTMLWriter & OutCSS1_SvxRightMargin(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxColor(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static sal_uInt16 GetCSS1Selector(const SwFormat *pFormat, OUString &rSelector, sal_uInt16 &rRefPoolId)
static SwHTMLWriter & OutCSS1_SvxFormatSplit(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static void OutCSS1_SwFormatDropAttrs(SwHTMLWriter &rHWrt, const SwFormatDrop &rDrop, const SfxItemSet *pCharFormatItemSet=nullptr)
SwHTMLWriter & OutCSS1_NumberBulletListStyleOpt(SwHTMLWriter &rWrt, const SwNumRule &rNumRule, sal_uInt8 nLevel)
static SwHTMLWriter & OutCSS1_SvxLRSpace(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxLanguage(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxFontHeight(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SwFootnoteInfo(SwHTMLWriter &rWrt, const SwEndNoteInfo &rInfo, SwDoc *pDoc, bool bHasNotes, bool bEndNote)
static SwHTMLWriter & OutCSS1_SvxCrossedOut(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxWidows(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxUnderline(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SwFormatFrameSize(SwHTMLWriter &rWrt, const SfxPoolItem &rHt, Css1FrameSize nMode)
static SwHTMLWriter & OutCSS1_SvxBlink(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxFirstLineIndent(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(SwHTMLWriter &rWrt, const SfxItemSet &rItemSet, bool bDeep)
static SwHTMLWriter & OutCSS1_SwFormat(SwHTMLWriter &rWrt, const SwFormat &rFormat, IDocumentStylePoolAccess *pDoc, SwDoc *pTemplate)
OString GetCSS1_Color(const Color &rColor)
static SwHTMLWriter & OutCSS1_SvxBrush(SwHTMLWriter &rWrt, const SfxPoolItem &rHt, sw::Css1Background nMode, const OUString *pGraphicName)
static SwHTMLWriter & OutCSS1_SvxLineSpacing(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxCaseMap(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxPosture(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static bool OutCSS1Rule(SwHTMLWriter &rWrt, const OUString &rSelector, const SfxItemSet &rItemSet, bool bHasClass, bool bCheckForPseudo)
bool swhtml_css1atr_equalFontItems(const SfxPoolItem &r1, const SfxPoolItem &r2)
static SwHTMLWriter & OutCSS1_SvxULSpace_SvxLRSpace(SwHTMLWriter &rWrt, const SvxULSpaceItem *pULSpace, const SvxLRSpaceItem *pLRSpace)
static SwHTMLWriter & OutCSS1_SvxFontWeight(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
SwHTMLWriter & OutCSS1_TableBGStyleOpt(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
Writes the background of table rows.
static SwHTMLWriter & OutCSS1_SvxTextLeftMargin(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static void AddUnitPropertyValue(OStringBuffer &rOut, tools::Long nVal, FieldUnit eUnit)
static SwHTMLWriter & OutCSS1_SvxULSpace(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static bool OutCSS1_FrameFormatBrush(SwHTMLWriter &rWrt, const SvxBrushItem &rBrushItem)
static void OutCSS1DropCapRule(SwHTMLWriter &rWrt, const OUString &rSelector, const SwFormatDrop &rDrop, bool bHasClass, bool bHasScriptDependencies)
static void OutCSS1_SvxBorderLine(SwHTMLWriter &rWrt, std::string_view pProperty, const SvxBorderLine *pLine)
SwHTMLWriter & OutCSS1_HintStyleOpt(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SwFormatLayoutSplit(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SwFormatDrop(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
static SwHTMLWriter & OutCSS1_SvxOrphans(SwHTMLWriter &rWrt, const SfxPoolItem &rHt)
constexpr std::string_view sCSS1_PV_center
constexpr std::string_view sCSS1_P_font_weight
constexpr std::string_view sCSS1_P_left
constexpr std::string_view sCSS1_PV_dotted
constexpr std::string_view sCSS1_PV_double
constexpr std::string_view sCSS1_P_font_family
constexpr std::string_view sCSS1_P_width
constexpr std::string_view sCSS1_P_border_right
constexpr std::string_view sCSS1_P_column_count
constexpr std::string_view sCSS1_PV_extra_light
constexpr std::string_view sCSS1_P_margin_top
constexpr std::string_view sCSS1_PV_normal
constexpr std::string_view sCSS1_visited
constexpr std::string_view sCSS1_P_max_width
constexpr std::string_view sCSS1_UNIT_pt
constexpr std::string_view sCSS1_P_text_indent
constexpr std::string_view sCSS1_P_float
constexpr std::string_view sCSS1_PV_groove
constexpr std::string_view sCSS1_first_letter
constexpr std::string_view sCSS1_P_font_variant
constexpr std::string_view sCSS1_PV_overline
constexpr std::string_view sCSS1_UNIT_pc
constexpr std::string_view sCSS1_PV_bottom
constexpr std::string_view sCSS1_link
constexpr std::string_view sCSS1_UNIT_inch
constexpr std::string_view sCSS1_P_height
constexpr std::string_view sCSS1_P_letter_spacing
constexpr std::string_view sCSS1_UNIT_px
constexpr std::string_view sCSS1_P_text_decoration
constexpr std::string_view sCSS1_P_size
constexpr std::string_view sCSS1_UNIT_mm
constexpr std::string_view sCSS1_PV_left
constexpr std::string_view sCSS1_P_font_size
constexpr std::string_view sCSS1_PV_sans_serif
constexpr std::string_view sCSS1_PV_blink
constexpr std::string_view sCSS1_PV_cursive
constexpr std::string_view sCSS1_P_padding
constexpr std::string_view sCSS1_PV_extra_bold
constexpr std::string_view sCSS1_PV_justify
constexpr std::string_view sCSS1_PV_serif
constexpr std::string_view sCSS1_PV_solid
constexpr std::string_view sCSS1_P_display
constexpr std::string_view sCSS1_PV_no_repeat
constexpr std::string_view sCSS1_P_orphans
constexpr std::string_view sCSS1_P_background
constexpr std::string_view sCSS1_P_dir
constexpr std::string_view sCSS1_P_page_break_before
constexpr std::string_view sCSS1_left
constexpr std::string_view sCSS1_PV_uppercase
constexpr std::string_view sCSS1_P_border_bottom
constexpr std::string_view sCSS1_P_padding_left
constexpr std::string_view sCSS1_P_text_align
constexpr std::string_view sCSS1_PV_light
constexpr std::string_view sCSS1_P_page_break_inside
constexpr std::string_view sCSS1_PV_middle
constexpr std::string_view sCSS1_PV_lowercase
constexpr std::string_view sCSS1_first
constexpr std::string_view sCSS1_PV_ltr
constexpr std::string_view sCSS1_P_border_left
constexpr std::string_view sCSS1_P_widows
constexpr std::string_view sCSS1_P_direction
constexpr std::string_view sCSS1_PV_landscape
constexpr std::string_view sCSS1_PV_small_caps
constexpr std::string_view sCSS1_PV_none
constexpr std::string_view sCSS1_P_line_height
constexpr std::string_view sCSS1_PV_bold
constexpr std::string_view sCSS1_PV_portrait
constexpr std::string_view sCSS1_P_font_style
constexpr std::string_view sCSS1_UNIT_cm
constexpr std::string_view sCSS1_PV_underline
constexpr std::string_view sCSS1_PV_ridge
constexpr std::string_view sCSS1_P_position
constexpr std::string_view sCSS1_url
constexpr std::string_view sCSS1_P_border
constexpr std::string_view sCSS1_P_so_language
constexpr std::string_view sCSS1_PV_rtl
constexpr std::string_view sCSS1_P_border_top
constexpr std::string_view sCSS1_PV_absolute
constexpr std::string_view sCSS1_PV_monospace
constexpr std::string_view sCSS1_P_padding_bottom
constexpr std::string_view sCSS1_PV_demi_light
constexpr std::string_view sCSS1_PV_transparent
constexpr std::string_view sCSS1_PV_outset
constexpr std::string_view sCSS1_P_page_break_after
constexpr std::string_view sCSS1_PV_inset
constexpr std::string_view sCSS1_P_padding_right
constexpr std::string_view sCSS1_PV_demi_bold
constexpr std::string_view sCSS1_P_margin_left
constexpr std::string_view sCSS1_PV_top
constexpr std::string_view sCSS1_P_text_transform
constexpr std::string_view sCSS1_PV_line_through
constexpr std::string_view sCSS1_right
constexpr std::string_view sCSS1_PV_italic
constexpr std::string_view sCSS1_PV_inherit
constexpr std::string_view sCSS1_PV_oblique
constexpr std::string_view sCSS1_PV_right
constexpr std::string_view sCSS1_P_color
constexpr std::string_view sCSS1_P_margin_right
constexpr std::string_view sCSS1_PV_avoid
constexpr std::string_view sCSS1_PV_scroll
constexpr std::string_view sCSS1_PV_capitalize
constexpr std::string_view sCSS1_P_top
constexpr std::string_view sCSS1_P_padding_top
constexpr std::string_view sCSS1_P_margin_bottom
constexpr std::string_view sCSS1_PV_dashed
constexpr std::string_view sCSS1_P_margin
constexpr std::string_view sCSS1_page
constexpr std::string_view sCSS1_PV_auto
constexpr std::string_view sCSS1_PV_fantasy
constexpr std::string_view sCSS1_PV_repeat
constexpr std::string_view sCSS1_PV_always
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_CTL_FONTSIZE(28)
constexpr TypedWhichId< SvxCrossedOutItem > RES_CHRATR_CROSSEDOUT(5)
constexpr TypedWhichId< SvxFormatKeepItem > RES_KEEP(116)
constexpr sal_uInt16 RES_BOXATR_END(159)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_CJK_FONT(22)
constexpr TypedWhichId< SvxUnderlineItem > RES_CHRATR_UNDERLINE(14)
constexpr sal_uInt16 RES_CHRATR_END(46)
constexpr TypedWhichId< SvxFontHeightItem > RES_CHRATR_FONTSIZE(8)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_LANGUAGE(10)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_WEIGHT(15)
constexpr TypedWhichId< SwConditionTextFormatColl > RES_CONDTXTFMTCOLL(166)
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< SwFormatLayoutSplit > RES_LAYOUT_SPLIT(119)
constexpr TypedWhichId< SwFormatPageDesc > RES_PAGEDESC(99)
constexpr TypedWhichId< SvxBrushItem > RES_BACKGROUND(111)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CTL_WEIGHT(31)
constexpr TypedWhichId< SvxLanguageItem > RES_CHRATR_CJK_LANGUAGE(24)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CTL_POSTURE(30)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_POSTURE(11)
constexpr TypedWhichId< SwCharFormat > RES_CHRFMT(RES_FMT_BEGIN)
constexpr TypedWhichId< SvxBlinkItem > RES_CHRATR_BLINK(18)
constexpr TypedWhichId< SvxOverlineItem > RES_CHRATR_OVERLINE(38)
constexpr TypedWhichId< SwDrawFrameFormat > RES_DRAWFRMFMT(165)
constexpr TypedWhichId< SvxBoxItem > RES_BOX(112)
constexpr TypedWhichId< SvxFormatBreakItem > RES_BREAK(100)
constexpr TypedWhichId< SwFormatDrop > RES_PARATR_DROP(70)
constexpr TypedWhichId< SwTextFormatColl > RES_TXTFMTCOLL(163)
constexpr TypedWhichId< SvxWeightItem > RES_CHRATR_CJK_WEIGHT(26)
constexpr TypedWhichId< SvxFontItem > RES_CHRATR_FONT(7)
constexpr TypedWhichId< SvxPostureItem > RES_CHRATR_CJK_POSTURE(25)
constexpr TypedWhichId< SvxBoxItem > RES_CHRATR_BOX(40)
constexpr TypedWhichId< SvxLRSpaceItem > RES_LR_SPACE(97)
constexpr TypedWhichId< SvxULSpaceItem > RES_UL_SPACE(98)
#define OOO_STRING_SVTOOLS_HTML_parabreak
#define OOO_STRING_SVTOOLS_HTML_O_data
#define OOO_STRING_SVTOOLS_HTML_head6
#define OOO_STRING_SVTOOLS_HTML_emphasis
#define OOO_STRING_SVTOOLS_HTML_head1
#define OOO_STRING_SVTOOLS_HTML_tabledata
#define OOO_STRING_SVTOOLS_HTML_dd
#define OOO_STRING_SVTOOLS_HTML_sample
#define OOO_STRING_SVTOOLS_HTML_head4
#define OOO_STRING_SVTOOLS_HTML_tableheader
#define OOO_STRING_SVTOOLS_HTML_style
#define OOO_STRING_SVTOOLS_HTML_xmp
#define OOO_STRING_SVTOOLS_HTML_sdendnote_sym
#define OOO_STRING_SVTOOLS_HTML_code
#define OOO_STRING_SVTOOLS_HTML_anchor
#define OOO_STRING_SVTOOLS_HTML_span
#define OOO_STRING_SVTOOLS_HTML_definstance
#define OOO_STRING_SVTOOLS_HTML_sdendnote
#define OOO_STRING_SVTOOLS_HTML_sdendnote_anc
#define OOO_STRING_SVTOOLS_HTML_address
#define OOO_STRING_SVTOOLS_HTML_teletype
#define OOO_STRING_SVTOOLS_HTML_sdfootnote_anc
#define OOO_STRING_SVTOOLS_HTML_horzrule
#define OOO_STRING_SVTOOLS_HTML_preformtxt
#define OOO_STRING_SVTOOLS_HTML_citation
#define OOO_STRING_SVTOOLS_HTML_dt
#define OOO_STRING_SVTOOLS_HTML_O_type
#define OOO_STRING_SVTOOLS_HTML_listing
#define OOO_STRING_SVTOOLS_HTML_sdfootnote_sym
#define OOO_STRING_SVTOOLS_HTML_sdfootnote
#define OOO_STRING_SVTOOLS_HTML_strong
#define OOO_STRING_SVTOOLS_HTML_variable
#define OOO_STRING_SVTOOLS_HTML_head3
#define OOO_STRING_SVTOOLS_HTML_keyboard
#define OOO_STRING_SVTOOLS_HTML_blockquote
#define OOO_STRING_SVTOOLS_HTML_head5
#define OOO_STRING_SVTOOLS_HTML_head2
#define OOO_STRING_SVTOOLS_HTML_O_style
#define HTML_NUMBER_BULLET_MARGINLEFT
#define HTML_NUMBER_BULLET_INDENT
CharClass & GetAppCharClass()
#define LANGUAGE_DONTKNOW
sal_Int32 nFirstLineOffset
#define SAL_N_ELEMENTS(arr)
if(aStr !=aBuf) UpdateName_Impl(m_xFollowLb.get()
LanguageType GetLanguage(SfxItemSet const &aSet, sal_uInt16 nLangWhichId)
SVL_DLLPUBLIC OUString simpleNormalizedMakeRelative(OUString const &baseUriReference, OUString const &uriReference)
tools::Long const nLeftMargin
OString strip(const OString &rIn, char c)
OUString encodeForXml(std::u16string_view rStr)
constexpr Point convert(const Point &rPoint, o3tl::Length eFrom, o3tl::Length eTo)
sal_Int16 GetCaseMap(sal_Int32 nToken)
OString OUStringToOString(std::u16string_view str, ConnectionSettings const *settings)
SwNodeOffset abs(const SwNodeOffset &a)
@ RES_POOLCOLL_HEADLINE5
Heading 5.
@ RES_POOLCOLL_TEXT
Text body.
@ RES_POOLCOLL_STANDARD
Standard.
@ RES_POOLCOLL_HEADLINE6
Heading 6.
@ RES_POOLCOLL_HTML_BLOCKQUOTE
@ RES_POOLCOLL_TABLE
Subgroup table.
@ RES_POOLCOLL_HEADLINE_BASE
Subgroup headings.
@ RES_POOLCOLL_SEND_ADDRESS
Sender.
@ RES_POOLCOLL_HEADLINE2
Heading 2.
@ RES_POOLCOLL_HEADLINE4
Heading 4.
@ RES_POOLCOLL_FOOTNOTE
Footnotes.
@ RES_POOLCOLL_HEADLINE1
Heading 1.
@ RES_POOLCOLL_TABLE_HDLN
Table of Contents - heading.
@ RES_POOLCOLL_HEADLINE3
Heading 3.
@ RES_POOLCOLL_ENDNOTE
Endnotes.
@ RES_POOLPAGE_LEFT
Left page.
@ RES_POOLPAGE_FIRST
First page.
@ RES_POOLPAGE_RIGHT
Right page.
@ RES_POOLCHR_HTML_TELETYPE
@ RES_POOLCHR_INET_VISIT
Internet visited.
@ RES_POOLCHR_HTML_SAMPLE
@ RES_POOLCHR_HTML_CITATION
@ RES_POOLCHR_FOOTNOTE
Footnote.
@ RES_POOLCHR_HTML_EMPHASIS
@ RES_POOLCHR_ENDNOTE
Endnote.
@ RES_POOLCHR_INET_NORMAL
Internet normal.
@ RES_POOLCHR_HTML_KEYBOARD
@ RES_POOLCHR_HTML_STRONG
@ RES_POOLCHR_HTML_DEFINSTANCE
@ RES_POOLCHR_HTML_VARIABLE
const sal_uInt16 POOLGRP_NOCOLLID
POOLCOLL-IDs: +-—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+ !User! Range ! 0 ! Offset ! +-—+—+—+—+—+—+—+—+—+—+—+...
const sal_uInt16 USER_FMT
POLLCOLL-groups:
bool IsPoolUserFormat(sal_uInt16 nId)
static SVT_DLLPUBLIC SvStream & Out_AsciiTag(SvStream &, std::string_view rStr, bool bOn=true)
static SVT_DLLPUBLIC SvStream & Out_String(SvStream &, const OUString &, OUString *pNonConvertableChars=nullptr)
#define WARN_SWG_POOR_LOAD
SwHTMLWriter & Out(const SwAttrFnTab, const SfxPoolItem &, SwHTMLWriter &)
FnAttrOut SwAttrFnTab[POOLATTR_END - POOLATTR_BEGIN]
SwHTMLWriter & Out_SfxItemSet(const SwAttrFnTab, SwHTMLWriter &, const SfxItemSet &, bool bDeep)
#define CSS1_OUTMODE_SPAN_TAG
#define CSS1_OUTMODE_ENCODE
#define CSS1_OUTMODE_RULE_ON
#define CSS1_OUTMODE_STYLE_OPT_OFF
#define CSS1_OUTMODE_DROPCAP
#define CSS1_OUTMODE_PARA
#define CSS1_OUTMODE_SPAN_TAG_OFF
#define CSS1_OUTMODE_SPAN_TAG1_ON
#define HTMLMODE_FRSTLINE_IN_NUMBER_BULLET
#define CSS1_OUTMODE_RULE
#define CSS1_OUTMODE_SECTION
#define CSS1_OUTMODE_BODY
#define CSS1_OUTMODE_ANY_ON
#define sCSS2_P_CLASS_leaders
#define HTMLMODE_PRINT_EXT
#define CSS1_OUTMODE_SPAN_TAG_ON
#define HTMLMODE_FLY_MARGINS
#define CSS1_OUTMODE_RULE_OFF
#define CSS1_OUTMODE_NO_SCRIPT
#define CSS1_OUTMODE_TABLEBOX
#define HTMLMODE_LSPACE_IN_NUMBER_BULLET
#define CSS1_OUTMODE_TEMPLATE
#define CSS1_OUTMODE_FRAME
#define CSS1_OUTMODE_WESTERN
#define CSS1_OUTMODE_TABLE
#define CSS1_OUTMODE_STYLE_OPT_ON
#define CSS1_OUTMODE_HINT
#define CSS1_OUTMODE_ANY_OFF
#define CSS1_OUTMODE_STYLE_OPT