LibreOffice Module sw (master) 1
Macros | Functions | Variables
swhtml.cxx File Reference
#include <sal/config.h>
#include <algorithm>
#include <memory>
#include <config_java.h>
#include <com/sun/star/document/XDocumentPropertiesSupplier.hpp>
#include <com/sun/star/document/XDocumentProperties.hpp>
#include <com/sun/star/i18n/ScriptType.hpp>
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <comphelper/string.hxx>
#include <o3tl/safeint.hxx>
#include <rtl/ustrbuf.hxx>
#include <svx/svxids.hrc>
#include <stdlib.h>
#include <hintids.hxx>
#include <utility>
#include <vcl/errinf.hxx>
#include <svl/stritem.hxx>
#include <vcl/imap.hxx>
#include <svtools/htmltokn.h>
#include <svtools/htmlkywd.hxx>
#include <svtools/ctrltool.hxx>
#include <unotools/pathoptions.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/event.hxx>
#include <sfx2/docfile.hxx>
#include <sfx2/linkmgr.hxx>
#include <editeng/kernitem.hxx>
#include <editeng/boxitem.hxx>
#include <editeng/fhgtitem.hxx>
#include <editeng/formatbreakitem.hxx>
#include <editeng/postitem.hxx>
#include <editeng/wghtitem.hxx>
#include <editeng/crossedoutitem.hxx>
#include <editeng/udlnitem.hxx>
#include <editeng/escapementitem.hxx>
#include <editeng/blinkitem.hxx>
#include <editeng/ulspitem.hxx>
#include <editeng/colritem.hxx>
#include <editeng/fontitem.hxx>
#include <editeng/adjustitem.hxx>
#include <editeng/lrspitem.hxx>
#include <editeng/protitem.hxx>
#include <editeng/flstitem.hxx>
#include <svx/unobrushitemhelper.hxx>
#include <frmatr.hxx>
#include <charatr.hxx>
#include <fmtfld.hxx>
#include <fmtpdsc.hxx>
#include <fmtanchr.hxx>
#include <fmtsrnd.hxx>
#include <fmtfsize.hxx>
#include <fmtclds.hxx>
#include <fchrfmt.hxx>
#include <fmtinfmt.hxx>
#include <fmtfollowtextflow.hxx>
#include <fmtornt.hxx>
#include <doc.hxx>
#include <IDocumentUndoRedo.hxx>
#include <IDocumentSettingAccess.hxx>
#include <IDocumentLayoutAccess.hxx>
#include <IDocumentLinksAdministration.hxx>
#include <IDocumentRedlineAccess.hxx>
#include <IDocumentFieldsAccess.hxx>
#include <IDocumentStylePoolAccess.hxx>
#include <IDocumentStatistics.hxx>
#include <IDocumentState.hxx>
#include <pam.hxx>
#include <ndtxt.hxx>
#include <mdiexp.hxx>
#include <poolfmt.hxx>
#include <pagedesc.hxx>
#include <IMark.hxx>
#include <docsh.hxx>
#include <editsh.hxx>
#include <docufld.hxx>
#include "swcss1.hxx"
#include <fltini.hxx>
#include <htmltbl.hxx>
#include "htmlnum.hxx"
#include "swhtml.hxx"
#include "wrthtml.hxx"
#include <linkenum.hxx>
#include <breakit.hxx>
#include <SwAppletImpl.hxx>
#include <swdll.hxx>
#include <txatbase.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/svdobj.hxx>
#include <officecfg/Office/Writer.hxx>
#include <comphelper/sequenceashashmap.hxx>
#include <comphelper/sequence.hxx>
#include <officecfg/Office/Common.hxx>
#include <swerror.h>
#include <ndole.hxx>
#include <unoframe.hxx>
#include "css1atr.hxx"
#include <frameformats.hxx>
Include dependency graph for swhtml.cxx:

Go to the source code of this file.

Macros

#define FONTSIZE_MASK   7
 
#define HTML_ESC_PROP   80
 
#define HTML_ESC_SUPER   DFLT_ESC_SUPER
 
#define HTML_ESC_SUB   DFLT_ESC_SUB
 
#define HTML_SPTYPE_BLOCK   1
 
#define HTML_SPTYPE_HORI   2
 
#define HTML_SPTYPE_VERT   3
 

Functions

 IMPL_LINK_NOARG (SwHTMLParser, AsyncCallback, void *, void)
 
static void lcl_swhtml_getItemInfo (const HTMLAttr &rAttr, bool &rScriptDependent, sal_uInt16 &rScriptType)
 
bool TestImportHTML (SvStream &rStream)
 

Variables

HTMLOptionEnum< SvxAdjust > const aHTMLPAlignTable []
 
HTMLOptionEnum< sal_uInt16 > const aHTMLSpacerTypeTable []
 

Macro Definition Documentation

◆ FONTSIZE_MASK

#define FONTSIZE_MASK   7

Definition at line 127 of file swhtml.cxx.

◆ HTML_ESC_PROP

#define HTML_ESC_PROP   80

Definition at line 129 of file swhtml.cxx.

◆ HTML_ESC_SUB

#define HTML_ESC_SUB   DFLT_ESC_SUB

Definition at line 131 of file swhtml.cxx.

◆ HTML_ESC_SUPER

#define HTML_ESC_SUPER   DFLT_ESC_SUPER

Definition at line 130 of file swhtml.cxx.

◆ HTML_SPTYPE_BLOCK

#define HTML_SPTYPE_BLOCK   1

Definition at line 133 of file swhtml.cxx.

◆ HTML_SPTYPE_HORI

#define HTML_SPTYPE_HORI   2

Definition at line 134 of file swhtml.cxx.

◆ HTML_SPTYPE_VERT

#define HTML_SPTYPE_VERT   3

Definition at line 135 of file swhtml.cxx.

Function Documentation

◆ IMPL_LINK_NOARG()

IMPL_LINK_NOARG ( SwHTMLParser  ,
AsyncCallback  ,
void *  ,
void   
)

Definition at line 538 of file swhtml.cxx.

◆ lcl_swhtml_getItemInfo()

static void lcl_swhtml_getItemInfo ( const HTMLAttr rAttr,
bool &  rScriptDependent,
sal_uInt16 &  rScriptType 
)
static

◆ TestImportHTML()

bool TestImportHTML ( SvStream rStream)

Definition at line 5624 of file swhtml.cxx.

Variable Documentation

◆ aHTMLPAlignTable

HTMLOptionEnum<SvxAdjust> const aHTMLPAlignTable[]
Initial value:
=
{
{ OOO_STRING_SVTOOLS_HTML_AL_left, SvxAdjust::Left },
{ OOO_STRING_SVTOOLS_HTML_AL_center, SvxAdjust::Center },
{ OOO_STRING_SVTOOLS_HTML_AL_middle, SvxAdjust::Center },
{ OOO_STRING_SVTOOLS_HTML_AL_right, SvxAdjust::Right },
{ OOO_STRING_SVTOOLS_HTML_AL_justify, SvxAdjust::Block },
{ OOO_STRING_SVTOOLS_HTML_AL_char, SvxAdjust::Left },
{ nullptr, SvxAdjust(0) }
}
#define OOO_STRING_SVTOOLS_HTML_AL_left
#define OOO_STRING_SVTOOLS_HTML_AL_char
#define OOO_STRING_SVTOOLS_HTML_AL_center
#define OOO_STRING_SVTOOLS_HTML_AL_right
#define OOO_STRING_SVTOOLS_HTML_AL_justify
#define OOO_STRING_SVTOOLS_HTML_AL_middle
SvxAdjust

Definition at line 141 of file swhtml.cxx.

Referenced by SwHTMLParser::BuildTableCell(), SwHTMLParser::BuildTableColGroup(), SwHTMLParser::BuildTableRow(), SwHTMLParser::BuildTableSection(), CellSaveStruct::CellSaveStruct(), SwHTMLParser::InsertHorzRule(), SwHTMLParser::NewDivision(), SwHTMLParser::NewHeading(), and SwHTMLParser::NewPara().

◆ aHTMLSpacerTypeTable

HTMLOptionEnum<sal_uInt16> const aHTMLSpacerTypeTable[]
Initial value:
=
{
{ nullptr, 0 }
}
#define OOO_STRING_SVTOOLS_HTML_SPTYPE_vertical
#define OOO_STRING_SVTOOLS_HTML_SPTYPE_block
#define OOO_STRING_SVTOOLS_HTML_SPTYPE_horizontal
#define HTML_SPTYPE_BLOCK
Definition: swhtml.cxx:133
#define HTML_SPTYPE_HORI
Definition: swhtml.cxx:134
#define HTML_SPTYPE_VERT
Definition: swhtml.cxx:135

Definition at line 153 of file swhtml.cxx.

Referenced by SwHTMLParser::InsertSpacer().