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 <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/configmgr.hxx>
#include <unotools/pathoptions.hxx>
#include <vcl/svapp.hxx>
#include <vcl/wrkwin.hxx>
#include <sfx2/event.hxx>
#include <sfx2/fcontnr.hxx>
#include <sfx2/docfile.hxx>
#include <svtools/htmlcfg.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 <txtfld.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 <docary.hxx>
#include <docstat.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 <expfld.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 <linkenum.hxx>
#include <breakit.hxx>
#include <SwAppletImpl.hxx>
#include <swdll.hxx>
#include <sfx2/viewfrm.hxx>
#include <svx/svdobj.hxx>
#include <officecfg/Office/Writer.hxx>
#include <swerror.h>
#include <hints.hxx>
#include <ndole.hxx>
#include <unoframe.hxx>
#include "css1atr.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 []
 
static HTMLOptionEnum< sal_uInt16 > const aHTMLSpacerTypeTable []
 

Macro Definition Documentation

#define FONTSIZE_MASK   7

Definition at line 129 of file swhtml.cxx.

Referenced by SwHTMLParser::NewFontAttr().

#define HTML_ESC_PROP   80

Definition at line 131 of file swhtml.cxx.

Referenced by SwHTMLParser::NextToken().

#define HTML_ESC_SUB   DFLT_ESC_SUB

Definition at line 133 of file swhtml.cxx.

Referenced by SwHTMLParser::NextToken().

#define HTML_ESC_SUPER   DFLT_ESC_SUPER

Definition at line 132 of file swhtml.cxx.

Referenced by SwHTMLParser::NextToken().

#define HTML_SPTYPE_BLOCK   1

Definition at line 135 of file swhtml.cxx.

Referenced by SwHTMLParser::InsertSpacer().

#define HTML_SPTYPE_HORI   2

Definition at line 136 of file swhtml.cxx.

Referenced by SwHTMLParser::InsertSpacer().

#define HTML_SPTYPE_VERT   3

Definition at line 137 of file swhtml.cxx.

Referenced by SwHTMLParser::InsertSpacer().

Function Documentation

IMPL_LINK_NOARG ( SwHTMLParser  ,
AsyncCallback  ,
void ,
void   
)

Definition at line 511 of file swhtml.cxx.

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

Variable Documentation

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_center
#define OOO_STRING_SVTOOLS_HTML_AL_char
#define OOO_STRING_SVTOOLS_HTML_AL_justify
SvxAdjust
#define OOO_STRING_SVTOOLS_HTML_AL_left
#define OOO_STRING_SVTOOLS_HTML_AL_right
#define OOO_STRING_SVTOOLS_HTML_AL_middle

Definition at line 143 of file swhtml.cxx.

Referenced by SwHTMLParser::BuildTableCell(), SwHTMLParser::BuildTableColGroup(), SwHTMLParser::BuildTableRow(), SwHTMLParser::BuildTableSection(), CellSaveStruct::CellSaveStruct(), HTMLTableOptions::HTMLTableOptions(), and SwHTMLParser::NewDivision().

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

Definition at line 155 of file swhtml.cxx.