LibreOffice Module sw (master) 1
Macros | Functions | Variables
wrthtml.cxx File Reference
#include <stdlib.h>
#include <hintids.hxx>
#include <comphelper/string.hxx>
#include <svl/urihelper.hxx>
#include <svl/languageoptions.hxx>
#include <rtl/tencinfo.h>
#include <sfx2/linkmgr.hxx>
#include <sfx2/docfile.hxx>
#include <svtools/htmlcfg.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <vcl/svapp.hxx>
#include <i18nlangtag/languagetag.hxx>
#include <sfx2/frmhtmlw.hxx>
#include <svx/xoutbmp.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <sfx2/htmlmode.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/brushitem.hxx>
#include <editeng/langitem.hxx>
#include <svl/stritem.hxx>
#include <editeng/frmdiritem.hxx>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/frame/XModel.hpp>
#include <fmthdft.hxx>
#include <fmtfld.hxx>
#include <fmtpdsc.hxx>
#include <txatbase.hxx>
#include <frmatr.hxx>
#include <charfmt.hxx>
#include <docary.hxx>
#include <pam.hxx>
#include <doc.hxx>
#include <ndtxt.hxx>
#include <mdiexp.hxx>
#include <fltini.hxx>
#include <viewopt.hxx>
#include <IMark.hxx>
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <section.hxx>
#include <swtable.hxx>
#include <fldbas.hxx>
#include <fmtclds.hxx>
#include <docsh.hxx>
#include "wrthtml.hxx"
#include "htmlnum.hxx"
#include "htmlfly.hxx"
#include <swmodule.hxx>
#include <strings.hrc>
#include <swerror.h>
#include <rtl/strbuf.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentMarkAccess.hxx>
#include <xmloff/odffields.hxx>
#include <tools/urlobj.hxx>
#include <osl/file.hxx>
#include <comphelper/scopeguard.hxx>
#include <unotools/tempfile.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <officecfg/Office/Common.hxx>
#include <officecfg/Office/Writer.hxx>
#include <comphelper/propertysequence.hxx>
#include <comphelper/sequence.hxx>
Include dependency graph for wrthtml.cxx:

Go to the source code of this file.

Macros

#define MAX_INDENT_LEVEL   20
 

Functions

static const SwFormatCollcl_html_GetFormatCol (const SwSection &rSection, const SwSectionFormat &rFormat)
 
static bool lcl_html_IsMultiColStart (const SwHTMLWriter &rHTMLWrt, SwNodeOffset nIndex)
 
static bool lcl_html_IsMultiColEnd (const SwHTMLWriter &rHTMLWrt, SwNodeOffset nIndex)
 
static void lcl_html_OutSectionStartTag (SwHTMLWriter &rHTMLWrt, const SwSection &rSection, const SwSectionFormat &rFormat, const SwFormatCol *pCol, bool bContinued=false)
 
static void lcl_html_OutSectionEndTag (SwHTMLWriter &rHTMLWrt)
 
static SwHTMLWriterOutHTML_Section (SwHTMLWriter &rWrt, const SwSectionNode &rSectNd)
 
static void OutBodyColor (const char *pTag, const SwFormat *pFormat, SwHTMLWriter &rHWrt)
 
void GetHTMLWriter (std::u16string_view rFilterOptions, const OUString &rBaseURL, WriterRef &xRet)
 

Variables

static char sIndentTabs [MAX_INDENT_LEVEL+2]
 

Macro Definition Documentation

◆ MAX_INDENT_LEVEL

#define MAX_INDENT_LEVEL   20

Definition at line 90 of file wrthtml.cxx.

Function Documentation

◆ GetHTMLWriter()

void GetHTMLWriter ( std::u16string_view  rFilterOptions,
const OUString &  rBaseURL,
WriterRef xRet 
)

◆ lcl_html_GetFormatCol()

static const SwFormatCol * lcl_html_GetFormatCol ( const SwSection rSection,
const SwSectionFormat rFormat 
)
static

◆ lcl_html_IsMultiColEnd()

static bool lcl_html_IsMultiColEnd ( const SwHTMLWriter rHTMLWrt,
SwNodeOffset  nIndex 
)
static

◆ lcl_html_IsMultiColStart()

static bool lcl_html_IsMultiColStart ( const SwHTMLWriter rHTMLWrt,
SwNodeOffset  nIndex 
)
static

◆ lcl_html_OutSectionEndTag()

static void lcl_html_OutSectionEndTag ( SwHTMLWriter rHTMLWrt)
static

◆ lcl_html_OutSectionStartTag()

static void lcl_html_OutSectionStartTag ( SwHTMLWriter rHTMLWrt,
const SwSection rSection,
const SwSectionFormat rFormat,
const SwFormatCol pCol,
bool  bContinued = false 
)
static

◆ OutBodyColor()

static void OutBodyColor ( const char *  pTag,
const SwFormat pFormat,
SwHTMLWriter rHWrt 
)
static

◆ OutHTML_Section()

static SwHTMLWriter & OutHTML_Section ( SwHTMLWriter rWrt,
const SwSectionNode rSectNd 
)
static

Variable Documentation

◆ sIndentTabs

char sIndentTabs[MAX_INDENT_LEVEL+2]
static
Initial value:
=
"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t"

Definition at line 94 of file wrthtml.cxx.

Referenced by SwHTMLWriter::GetIndentString(), and SwHTMLWriter::OutNewLine().