96#include <rtl/strbuf.hxx>
97#include <osl/diagnose.h>
102#define HTML_HEADSPACE (12*20)
106enum class Css1FrameSize {
120#define DOT_LEADERS_MAX_WIDTH 18
126 sal_uInt16 nRefPoolId,
bool bExtRef,
129 SwDoc *pDoc,
bool bHasNotes,
bool bEndNote );
132 const SfxItemSet *pCharFormatItemSet=
nullptr );
152 const OUString *pGraphicName );
155 Css1FrameSize nMode );
164const char sCSS1_rule_end[] =
" }";
165const char sCSS1_span_tag_end[] =
"\">";
166const char cCSS1_style_opt_end =
'\"';
168const char*
const sHTML_FTN_fontheight =
"57%";
170OString lclConvToHex(sal_uInt16 nHex)
172 char aNToABuf[] =
"00";
175 char *pStr = aNToABuf + (
sizeof(aNToABuf)-1);
178 *(--pStr) =
static_cast<char>(nHex & 0xf ) + 48;
184 return OString(aNToABuf, 2);
189 std::optional<sw::Css1Background> oMode)
210 if (rValue ==
"underline" || rValue ==
"line-through")
226 return "#" + lclConvToHex(rColor.
GetRed()) + lclConvToHex(rColor.
GetGreen()) + lclConvToHex(rColor.
GetBlue());
239 const OUString *pSelector ) :
241 nOldMode( rHWrt.m_nCSS1OutMode )
258 std::string_view sVal,
259 const OUString *pSVal,
260 std::optional<sw::Css1Background> oMode )
262 OString aPropertyValue(sVal);
263 if (aPropertyValue.isEmpty() && pSVal)
311 "cm;padding:0;overflow-x:hidden;line-height:120%}"
313 for (
int i = 0;
i < 100;
i++ )
318 "background:white;position:relative;z-index:1}");
362 sOut.append(pProp + OString::Concat(
": "));
376 sOut.append(aPropertyValue);
395 std::string_view pUnit;
398 case FieldUnit::MM_100TH:
399 OSL_ENSURE( FieldUnit::MM == eUnit,
"Measuring unit not supported" );
409 OSL_ENSURE( FieldUnit::CM == eUnit,
"Measuring unit not supported" );
417 case FieldUnit::TWIP:
418 OSL_ENSURE( FieldUnit::POINT == eUnit,
"Measuring unit not supported" );
420 case FieldUnit::POINT:
426 case FieldUnit::PICA:
432 case FieldUnit::NONE:
433 case FieldUnit::FOOT:
434 case FieldUnit::MILE:
435 case FieldUnit::CUSTOM:
436 case FieldUnit::PERCENT:
437 case FieldUnit::INCH:
439 OSL_ENSURE( FieldUnit::INCH == eUnit,
"Measuring unit not supported" );
447 rOut.append(nResult/nFac);
448 if ((nResult % nFac) != 0)
451 while (nFac > 1 && (nResult % nFac) != 0)
454 rOut.append((nResult / nFac) % 10);
494 pFollow != pPageDesc &&
498 pFirstPageDesc = pPageDesc;
504 if( pPageDesc == pFollow )
529 nFirstRefPoolId,
false );
540 for(
size_t i = 1;
i < nTextFormats; ++
i )
550 for(
size_t i = 1;
i < nCharFormats; ++
i )
560 bool bHasEndNotes {
false};
561 bool bHasFootNotes {
false};
563 for(
auto pIdx : rIdxs )
565 if( pIdx->GetFootnote().IsEndNote() )
573 bHasFootNotes =
true;
600 OUString& rClass, sal_uInt16& rRefPoolId,
603 sal_uInt16 nDeep = 0;
614 while( pPFormat && !pPFormat->
IsDefault() )
621 const OUString& aNm(pPFormat->
GetName());
652 if (pPseudo && (nDeep || (nDefListLvl & 0x0fff) > 1))
724 OSL_ENSURE( (rRefPoolId != 0) == (!rToken.isEmpty()),
850 *pPseudo = OStringToOUString(
sCSS1_link, RTL_TEXTENCODING_ASCII_US );
857 *pPseudo = OStringToOUString(
sCSS1_visited, RTL_TEXTENCODING_ASCII_US );
863 if( !rToken.isEmpty() && !rRefPoolId )
864 rRefPoolId = nPoolId;
867 if( !rToken.isEmpty() || bStop )
880 if( !rToken.isEmpty() )
898 sal_Int32
nPos = rClass.indexOf(
'.' );
899 if(
nPos >= 0 && rClass.getLength() >
nPos+1 )
901 rClass = rClass.replaceAt( 0,
nPos+1,
u"" );
905 rClass = rClass.replaceAll(
".",
"-" );
906 rClass = rClass.replaceAll(
" ",
"-" );
907 rClass = rClass.replaceAll(
"_",
"-" );
914 sal_uInt16& rRefPoolId )
921 rRefPoolId, &aPseudo );
924 if( !aToken.isEmpty() )
925 rSelector = OStringToOUString(aToken, RTL_TEXTENCODING_ASCII_US);
929 if( !aClass.isEmpty() )
930 rSelector +=
"." + aClass;
931 if( !aPseudo.isEmpty() )
932 rSelector +=
":" + aPseudo;
941 const SwFormat *pRefFormat =
nullptr;
945 OSL_ENSURE( !(
USER_FMT & nPoolFormatId),
946 "No user templates found" );
958 OSL_ENSURE( nDeep != USHRT_MAX,
"Called GetParent for HTML-template!" );
959 const SwFormat *pRefFormat =
nullptr;
964 pRefFormat = &rFormat;
965 for( sal_uInt16
i=nDeep;
i>0;
i-- )
968 if( pRefFormat && pRefFormat->
IsDefault() )
969 pRefFormat =
nullptr;
977 return static_cast<const SvxFontItem &
>(r1).GetFamilyName() ==
978 static_cast<const SvxFontItem &
>(r2).GetFamilyName() &&
979 static_cast<const SvxFontItem &
>(r1).GetFamily() ==
989 OSL_ENSURE( bSetDefaults || bClearSame,
990 "SwHTMLWriter::SubtractItemSet: No action for this Flag" );
992 aRefItemSet.
Set( rRefItemSet );
1000 bool bItemSet = ( SfxItemState::SET ==
1004 if( pRefScriptItemSet )
1023 bRefItemSet = ( SfxItemState::SET ==
1024 pRefScriptItemSet->
GetItemState( nWhich,
true, &pRefItem) );
1027 bRefItemSet = ( SfxItemState::SET ==
1034 bRefItemSet = ( SfxItemState::SET ==
1040 if( (bClearSame || pRefScriptItemSet) && bRefItemSet &&
1041 ( *pItem == *pRefItem ||
1054 if( (bSetDefaults || pRefScriptItemSet) && bRefItemSet )
1072 bool bContainsKeyword =
false;
1073 if( !rName.isEmpty() )
1075 sal_Int32 nStrPos = 0;
1076 while( nStrPos != -1 )
1078 OUString
aName = rName.getToken( 0,
';', nStrPos );
1080 if(
aName.isEmpty() )
1083 bool bIsKeyword =
false;
1109 bContainsKeyword |= bIsKeyword;
1111 if( !rNames.isEmpty() )
1113 if( cQuote && !bIsKeyword )
1114 rNames += OUStringChar( cQuote );
1116 if( cQuote && !bIsKeyword )
1117 rNames += OUStringChar( cQuote );
1121 if( bContainsKeyword || !bGeneric )
1124 std::string_view pStr;
1138 if( !rNames.isEmpty() )
1140 rNames += OStringToOUString( pStr, RTL_TEXTENCODING_ASCII_US );
1145 bool bCheckDropCap )
1147 static const sal_uInt16 aWhichIds[] =
1157 for(
int i=0; aWhichIds[
i];
i += 3 )
1159 const SfxPoolItem *pItem =
nullptr, *pItemCJK =
nullptr, *pItemCTL =
nullptr, *pTmp;
1161 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i],
false,
1167 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i+1],
false,
1173 if( SfxItemState::SET == rItemSet.
GetItemState( aWhichIds[
i+2],
false,
1182 if( nItemCount > 0 && nItemCount < 3 )
1185 if( 3 == nItemCount )
1199 if( *pItem != *pItemCJK ||
1200 *pItem != *pItemCTL ||
1201 *pItemCJK != *pItemCTL )
1208 if( bCheckDropCap &&
1224 aTstItemSet.Set( pDCCharFormat->
GetAttrSet() );
1234 bool bCheckForPseudo )
1236 bool bScriptDependent =
false;
1239 bScriptDependent =
true;
1240 std::u16string_view aSelector( rSelector );
1242 std::u16string_view aPseudo;
1243 if( bCheckForPseudo )
1245 size_t nPos = aSelector.rfind(
':' );
1246 if(
nPos != std::u16string_view::npos )
1248 aPseudo = aSelector.substr(
nPos );
1249 aSelector =aSelector.substr( 0,
nPos );
1270 aScriptItemSet( *rItemSet.
GetPool() );
1271 aScriptItemSet.Put( rItemSet );
1273 OUString aNewSelector = OUString::Concat(aSelector) +
".western" + aPseudo;
1280 aNewSelector = OUString::Concat(aSelector) +
".cjk" + aPseudo;
1287 aNewSelector = OUString::Concat(aSelector) +
".ctl" + aPseudo;
1299 OUString aNewSelector = OUString::Concat(aSelector) +
"-western" + aPseudo;
1306 aNewSelector = OUString::Concat(aSelector) +
"-cjk" + aPseudo;
1313 aNewSelector = OUString::Concat(aSelector) +
"-ctl" + aPseudo;
1327 SwCSS1OutMode aMode( rWrt,
1333 return bScriptDependent;
1339 bool bHasScriptDependencies )
1342 if( (bHasScriptDependencies && bHasClass) ||
1345 std::u16string_view aSelector( rSelector );
1347 std::u16string_view aPseudo;
1348 size_t nPos = aSelector.rfind(
':' );
1349 if(
nPos != std::u16string_view::npos )
1351 aPseudo = aSelector.substr(
nPos );
1352 aSelector = aSelector.substr( 0,
nPos );
1372 aScriptItemSet.Set( pDCCharFormat->
GetAttrSet() );
1374 OUString aNewSelector = OUString::Concat(aSelector) +
".western" + aPseudo;
1381 aNewSelector = OUString::Concat(aSelector) +
".cjk" + aPseudo;
1388 aNewSelector = OUString::Concat(aSelector) +
".ctl" + aPseudo;
1400 OUString aNewSelector = OUString::Concat(aSelector) +
"-western" + aPseudo;
1407 aNewSelector = OUString::Concat(aSelector) +
"-cjk" + aPseudo;
1414 aNewSelector = OUString::Concat(aSelector) +
"-ctl" + aPseudo;
1428 SwCSS1OutMode aMode( rWrt,
1438 bool bCharFormat =
false;
1439 switch( rFormat.
Which() )
1457 sal_uInt16 nRefPoolId = 0;
1458 sal_uInt16 nDeep =
GetCSS1Selector( &rFormat, aSelector, nRefPoolId );
1480 aItemSet.
Set( rFormatItemSet );
1484 bool bSetDefaults =
true, bClearSame =
true;
1485 const SwFormat *pRefFormat =
nullptr;
1486 const SwFormat *pRefFormatScript =
nullptr;
1500 bSetDefaults =
false;
1508 bSetDefaults, bClearSame,
1529 const OUString& aNm(rFormat.
GetName());
1531 if (aNm ==
"DD 1" || aNm ==
"DT 1")
1543 switch( nPoolFormatId )
1564 if( !aItemSet.
Count() )
1568 bool bCheckForPseudo =
false;
1572 bCheckForPseudo =
true;
1575 bool bHasScriptDependencies =
false;
1587 bHasScriptDependencies =
true;
1593 OUString sOut = aSelector +
1603 sal_uInt16 nRefPoolId,
bool bExtRef,
1609 else if( pTemplate )
1612 OUString aSelector =
"@" + OStringToOUString(
sCSS1_page, RTL_TEXTENCODING_ASCII_US );
1616 std::string_view pPseudo;
1623 if( !pPseudo.empty() )
1624 aSelector +=
":" + OStringToOUString( pPseudo, RTL_TEXTENCODING_ASCII_US );
1632 bool bRefLandscape = pRefPageDesc && pRefPageDesc->
GetLandscape();
1703 SwDoc *pDoc,
bool bHasNotes,
bool bEndNote )
1715 sHTML_FTN_fontheight );
1720 if( pSymCharFormat )
1724 aItemSet.
Set( rFormatItemSet );
1732 SwFormat *pRefFormat = rWrt.
m_xTemplate->getIDocumentStylePoolAccess().GetCharFormatFromPool(
1738 if( aItemSet.
Count() )
1742 : std::u16string_view(
1744 if(
OutCSS1Rule( rWrt, aSelector, aItemSet,
true,
false ))
1765 OUString rEmbeddedGraphicName;
1856 case RndStdIds::FLY_AT_PARA:
1857 case RndStdIds::FLY_AT_CHAR:
1864 std::string_view pStr = text::HoriOrientation::RIGHT==rHoriOri.
GetHoriOrient()
1873 case RndStdIds::FLY_AT_PAGE:
1874 case RndStdIds::FLY_AT_FLY:
1887 bool bOutXPos =
false, bOutYPos =
false;
1890 OSL_ENSURE( pSdrObj,
"Do not pass a SdrObject. Inefficient" );
1893 OSL_ENSURE( pSdrObj,
"Where is the SdrObject" );
1900 bOutXPos = bOutYPos =
true;
1921 aULItem.
SetUpper( o3tl::narrowing<sal_uInt16>(aULItem.
GetUpper() + nYPos) );
1937 aLRItem.
SetLeft( o3tl::narrowing<sal_uInt16>(aLRItem.
GetLeft() + nXPos) );
1957 OSL_ENSURE( pSdrObj,
"Do not pass a SdrObject. Inefficient" );
1960 OSL_ENSURE( pSdrObj,
"Where is the SdrObject" );
1985 "Export absolute size" );
1987 "Export every size" );
1990 nMode |= Css1FrameSize::Width;
1992 nMode |= Css1FrameSize::MinHeight|Css1FrameSize::FixHeight;
1994 nMode |= Css1FrameSize::Pixel;
2011 if( pLRItem || pULItem )
2056 if (eTabHoriOri == text::HoriOrientation::CENTER)
2070 SwCSS1OutMode
const aMode( *
this,
2094 if (!sConvertedDirection.isEmpty())
2103 OString sColumnCount(OString::number(
static_cast<sal_Int32
>(pCol->
GetNumCols())));
2114 bool bWritten =
false;
2137 if (RndStdIds::FLY_AT_PAGE != eAnchorId && pAnchorNode)
2168 pLine = pBox ? pBox->
GetUpper() :
nullptr;
2236 "write underline as Hint?" );
2258 "write overline as Hint?" );
2259 if (!sOut.isEmpty())
2282 "write crossedOut as Hint?" );
2283 if (!sOut.isEmpty())
2293 if( !pBItem->GetValue() )
2302 "write blink as Hint?" );
2303 if (!sOut.isEmpty())
2309 if (!sOut.isEmpty())
2321 case SvxCaseMap::NotMapped:
2324 case SvxCaseMap::SmallCaps:
2327 case SvxCaseMap::Uppercase:
2330 case SvxCaseMap::Lowercase:
2333 case SvxCaseMap::Capitalize:
2350 "write color as Hint?" );
2380 switch( rHt.
Which() )
2389 "write Font as Hint?" );
2412 switch( rHt.
Which() )
2421 OString sHeight(OString::number(nHeight/20) +
sCSS1_UNIT_pt);
2430 switch( rHt.
Which() )
2438 std::string_view pStr;
2449 "write italic as Hint?" );
2477 sOut.append(OString::number(
nValue / 10) +
"." + OString::number(
nValue % 10) +
2499 switch( rHt.
Which() )
2508 "write Language as Hint?" );
2540 nullptr,
static_cast<const SvxOverlineItem *
>(&rHt),
nullptr,
nullptr );
2556 switch( rHt.
Which() )
2564 std::string_view pStr;
2565 switch(
static_cast<const SvxWeightItem&
>(rHt).GetWeight() )
2578 "write bold as Hint?" );
2600 nullptr,
nullptr,
nullptr,
static_cast<const SvxBlinkItem *
>(&rHt) );
2615 sal_uInt16 nHeight = 0;
2616 sal_uInt16 nPercentHeight = 0;
2620 case SvxInterLineSpaceRule::Off:
2621 case SvxInterLineSpaceRule::Fix:
2623 switch( eLineSpace )
2625 case SvxLineSpaceRule::Min:
2626 case SvxLineSpaceRule::Fix:
2629 case SvxLineSpaceRule::Auto:
2630 nPercentHeight = 100;
2637 case SvxInterLineSpaceRule::Prop:
2647 else if( nPercentHeight &&
2650 OString sHeight(OString::number(nPercentHeight) +
"%");
2664 std::string_view pStr;
2665 switch(
static_cast<const SvxAdjustItem&
>(rHt).GetAdjust() )
2725 OString sOut(OString::number(rDrop.
GetLines()*100) +
"%");
2734 if( pCharFormatItemSet )
2736 else if( pDCCharFormat )
2751 SwCSS1OutMode aMode( rWrt,
2767 Css1FrameSize nMode )
2771 if( nMode & Css1FrameSize::Width )
2776 OString sOut(OString::number(nPercentWidth) +
"%");
2779 else if( nMode & Css1FrameSize::Pixel )
2908 if( pLRItem && pULItem &&
2936 if( pLRSpace || pULSpace )
2950 std::string_view pBreakBefore;
2951 std::string_view pBreakAfter;
2961 case SvxBreak::NONE:
2963 if( pBreakAfter.empty() )
2967 case SvxBreak::PageBefore:
2971 case SvxBreak::PageAfter:
2991 else if( pBreakBefore.empty() )
3001 if( !pBreakBefore.empty() )
3004 if( !pBreakAfter.empty() )
3026 if( pBreakItem || pPDescItem || pKeepItem )
3028 pPDescItem, pKeepItem );
3042 const OUString* pGraphicName)
3053 OUString aLink = pGraphicName ? *pGraphicName
3054 :
static_cast<const SvxBrushItem &
>(rHt).GetGraphicLink();
3064 bool bColor =
false;
3075 OUString aGraphicInBase64;
3078 const Graphic* pGrf =
nullptr;
3081 pGrf =
static_cast<const SvxBrushItem &
>(rHt).GetGraphic();
3093 OUString aGraphicAsLink = aLink;
3095 aLink = aGraphicAsLink;
3102 std::string_view pRepeat, pHori, pVert;
3103 if( pGrf || !aLink.isEmpty() )
3159 if( !pHori.empty() || !pVert.empty() )
3166 if( !pGrf && aLink.isEmpty() && !bColor )
3177 sOut += OStringToOUString(sTmp, RTL_TEXTENCODING_ASCII_US);
3180 if( pGrf || !aLink.isEmpty() )
3187 sOut += OStringToOUString(
sCSS1_url, RTL_TEXTENCODING_ASCII_US) +
3192 sOut += OStringToOUString(
sCSS1_url, RTL_TEXTENCODING_ASCII_US)+
3197 if( !pRepeat.empty() )
3199 sOut +=
" " + OStringToOUString(pRepeat, RTL_TEXTENCODING_ASCII_US);
3202 if( !pHori.empty() )
3204 sOut +=
" " + OStringToOUString(pHori, RTL_TEXTENCODING_ASCII_US);
3206 if( !pVert.empty() )
3208 sOut +=
" " + OStringToOUString(pVert, RTL_TEXTENCODING_ASCII_US);
3211 sOut +=
" " + OStringToOUString(
sCSS1_PV_scroll, RTL_TEXTENCODING_ASCII_US) +
" ";
3215 if( !sOut.isEmpty() )
3225 std::string_view pProperty,
3228 if( !pLine || pLine->
isEmpty() )
3234 sal_Int32 nWidth = pLine->
GetWidth();
3250 sOut.append(OString::number(nWidth / 100) +
"." + OString::number((nWidth/10) % 10) +
3258 case SvxBorderLineStyle::SOLID:
3261 case SvxBorderLineStyle::DOTTED:
3264 case SvxBorderLineStyle::DASHED:
3267 case SvxBorderLineStyle::DOUBLE:
3268 case SvxBorderLineStyle::THINTHICK_SMALLGAP:
3269 case SvxBorderLineStyle::THINTHICK_MEDIUMGAP:
3270 case SvxBorderLineStyle::THINTHICK_LARGEGAP:
3271 case SvxBorderLineStyle::THICKTHIN_SMALLGAP:
3272 case SvxBorderLineStyle::THICKTHIN_MEDIUMGAP:
3273 case SvxBorderLineStyle::THICKTHIN_LARGEGAP:
3276 case SvxBorderLineStyle::EMBOSSED:
3279 case SvxBorderLineStyle::ENGRAVED:
3282 case SvxBorderLineStyle::INSET:
3285 case SvxBorderLineStyle::OUTSET:
3326 if( (pTop && pBottom && pLeft && pRight &&
3327 *pTop == *pBottom && *pTop == *pLeft && *pTop == *pRight) ||
3328 (!pTop && !pBottom && !pLeft && !pRight) )
3348 if( nTopDist == nBottomDist && nLeftDist == nRightDist )
3352 if( nTopDist != nLeftDist )
3378 std::string_view pStr;
3381 case SvxFrameDirection::Horizontal_LR_TB:
3382 case SvxFrameDirection::Vertical_LR_TB:
3385 case SvxFrameDirection::Horizontal_RL_TB:
3386 case SvxFrameDirection::Vertical_RL_TB:
3389 case SvxFrameDirection::Environment:
3601 if( pUnderlineItem || pOverlineItem || pCrossedOutItem || pBlinkItem )
3619 sOut.append(sCSS1_span_tag_end);
3623 sOut.append(cCSS1_style_opt_end);
3627 sOut.append(sCSS1_rule_end);
3630 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)
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)
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