LibreOffice Module sw (master)  1
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions | Variables
wrthtml.hxx File Reference
#include <memory>
#include <vector>
#include <set>
#include <map>
#include <com/sun/star/container/XIndexContainer.hpp>
#include <com/sun/star/form/XForm.hpp>
#include <i18nlangtag/lang.h>
#include <comphelper/stl_types.hxx>
#include <o3tl/sorted_vector.hxx>
#include <o3tl/typed_flags_set.hxx>
#include <rtl/ref.hxx>
#include <svtools/htmlout.hxx>
#include <tools/fldunit.hxx>
#include <shellio.hxx>
#include <wrt_fn.hxx>
#include "htmlfly.hxx"
Include dependency graph for wrthtml.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  o3tl::typed_flags< HtmlFrmOpts >
 
struct  HTMLControl
 
class  HTMLControls
 
struct  SwHTMLFormatInfo
 
class  SwHTMLWriter
 
struct  HTMLSaveData
 

Namespaces

 utl
 
 o3tl
 

Macros

#define HTML_PARSPACE   (MM50)
 
#define HTMLMODE_BLOCK_SPACER   0x00010000
 
#define HTMLMODE_FLOAT_FRAME   0x00020000
 
#define HTMLMODE_VERT_SPACER   0x00040000
 
#define HTMLMODE_NBSP_IN_TABLES   0x00080000
 
#define HTMLMODE_LSPACE_IN_NUMBUL   0x00100000
 
#define HTMLMODE_PRINT_EXT   0x00400000
 
#define HTMLMODE_ABS_POS_FLY   0x00800000
 
#define HTMLMODE_ABS_POS_DRAW   0x01000000
 
#define HTMLMODE_FLY_MARGINS   0x02000000
 
#define HTMLMODE_BORDER_NONE   0x04000000
 
#define HTMLMODE_FONT_GENERIC   0x08000000
 
#define HTMLMODE_FRSTLINE_IN_NUMBUL   0x10000000
 
#define HTMLMODE_NO_CONTROL_CENTERING   0x20000000
 
#define HTML_DLCOLL_DD   0x4000
 
#define HTML_DLCOLL_DT   0x8000
 
#define CSS1_FMT_ISTAG   (USHRT_MAX)
 
#define CSS1_FMT_CMPREF   (USHRT_MAX-1)
 
#define CSS1_FMT_SPECIAL   (USHRT_MAX-1)
 
#define CSS1_OUTMODE_SPAN_NO_ON   0x0000U
 
#define CSS1_OUTMODE_SPAN_TAG_ON   0x0001U
 
#define CSS1_OUTMODE_STYLE_OPT_ON   0x0002U
 
#define CSS1_OUTMODE_RULE_ON   0x0003U
 
#define CSS1_OUTMODE_SPAN_TAG1_ON   0x0004U
 
#define CSS1_OUTMODE_ANY_ON   0x0007U
 
#define CSS1_OUTMODE_SPAN_NO_OFF   0x0000U
 
#define CSS1_OUTMODE_SPAN_TAG_OFF   (sal_uInt16(0x0001U << 3))
 
#define CSS1_OUTMODE_STYLE_OPT_OFF   (sal_uInt16(0x0002U << 3))
 
#define CSS1_OUTMODE_RULE_OFF   (sal_uInt16(0x0003U << 3))
 
#define CSS1_OUTMODE_ANY_OFF   (sal_uInt16(0x0007U << 3))
 
#define CSS1_OUTMODE_ONOFF(a)   (CSS1_OUTMODE_##a##_ON|CSS1_OUTMODE_##a##_OFF)
 
#define CSS1_OUTMODE_SPAN_TAG   CSS1_OUTMODE_ONOFF(SPAN_TAG)
 
#define CSS1_OUTMODE_STYLE_OPT   CSS1_OUTMODE_ONOFF(STYLE_OPT)
 
#define CSS1_OUTMODE_RULE   CSS1_OUTMODE_ONOFF(RULE)
 
#define CSS1_OUTMODE_TEMPLATE   0x0000U
 
#define CSS1_OUTMODE_BODY   (sal_uInt16(0x0001U << 6))
 
#define CSS1_OUTMODE_PARA   (sal_uInt16(0x0002U << 6))
 
#define CSS1_OUTMODE_HINT   (sal_uInt16(0x0003U << 6))
 
#define CSS1_OUTMODE_FRAME   (sal_uInt16(0x0004U << 6))
 
#define CSS1_OUTMODE_TABLE   (sal_uInt16(0x0005U << 6))
 
#define CSS1_OUTMODE_TABLEBOX   (sal_uInt16(0x0006U << 6))
 
#define CSS1_OUTMODE_DROPCAP   (sal_uInt16(0x0007U << 6))
 
#define CSS1_OUTMODE_SECTION   (sal_uInt16(0x0008U << 6))
 
#define CSS1_OUTMODE_SOURCE   (sal_uInt16(0x000fU << 6))
 
#define CSS1_OUTMODE_ENCODE   (sal_uInt16(0x0001U << 10))
 
#define CSS1_OUTMODE_ANY_SCRIPT   0x0000U
 
#define CSS1_OUTMODE_WESTERN   (sal_uInt16(0x0001U << 11))
 
#define CSS1_OUTMODE_CJK   (sal_uInt16(0x0002U << 11))
 
#define CSS1_OUTMODE_CTL   (sal_uInt16(0x0003U << 11))
 
#define CSS1_OUTMODE_NO_SCRIPT   (sal_uInt16(0x0004U << 11))
 
#define CSS1_OUTMODE_SCRIPT   (sal_uInt16(0x0007U << 11))
 
#define sCSS2_P_CLASS_leaders   "leaders"
 

Typedefs

typedef std::set< std::unique_ptr< SwHTMLFormatInfo >, comphelper::UniquePtrValueLess< SwHTMLFormatInfo > > SwHTMLFormatInfos
 

Enumerations

enum  HtmlFrmOpts {
  HtmlFrmOpts::NONE = 0,
  HtmlFrmOpts::Align = 1<<0,
  HtmlFrmOpts::SAlign = 1<<1,
  HtmlFrmOpts::Width = 1<<2,
  HtmlFrmOpts::Height = 1<<3,
  HtmlFrmOpts::Size = Width | Height,
  HtmlFrmOpts::SWidth = 1<<4,
  HtmlFrmOpts::SHeight = 1<<5,
  HtmlFrmOpts::SSize = SWidth | SHeight,
  HtmlFrmOpts::AnySize = 1<<6,
  HtmlFrmOpts::AbsSize = 1<<7,
  HtmlFrmOpts::MarginSize = 1<<8,
  HtmlFrmOpts::Space = 1<<9,
  HtmlFrmOpts::SSpace = 1<<10,
  HtmlFrmOpts::Border = 1<<11,
  HtmlFrmOpts::SBorder = 1<<12,
  HtmlFrmOpts::SNoBorder = 1<<13,
  HtmlFrmOpts::SBackground = 1<<14,
  HtmlFrmOpts::Name = 1<<15,
  HtmlFrmOpts::Alt = 1<<16,
  HtmlFrmOpts::BrClear = 1<<17,
  HtmlFrmOpts::SPixSize = 1<<18,
  HtmlFrmOpts::Id = 1<<19,
  HtmlFrmOpts::Dir = 1<<20,
  HtmlFrmOpts::Replacement = 1<<21,
  HtmlFrmOpts::GenImgAllMask = Alt | Size | AbsSize | Name,
  HtmlFrmOpts::GenImgMask = GenImgAllMask | Align | Space | BrClear
}
 

Functions

WriterOutHTML_FrameFormatOLENode (Writer &rWrt, const SwFrameFormat &rFormat, bool bInCntnr)
 
WriterOutHTML_FrameFormatOLENodeGrf (Writer &rWrt, const SwFrameFormat &rFormat, bool bInCntnr)
 
WriterOutHTML_SwTextNode (Writer &, const SwContentNode &)
 
WriterOutHTML_SwTableNode (Writer &, SwTableNode &, const SwFrameFormat *, const OUString *pCaption=nullptr, bool bTopCaption=false)
 
WriterOutHTML_DrawFrameFormatAsControl (Writer &rWrt, const SwDrawFrameFormat &rFormat, const SdrUnoObj &rSdrObj, bool bInCntnr)
 
WriterOutHTML_DrawFrameFormatAsMarquee (Writer &rWrt, const SwDrawFrameFormat &rFormat, const SdrObject &rSdrObj)
 
WriterOutHTML_HeaderFooter (Writer &rWrt, const SwFrameFormat &rFrameFormat, bool bHeader)
 
WriterOutHTML_Image (Writer &, const SwFrameFormat &rFormat, const OUString &rGraphicURL, Graphic const &rGraphic, const OUString &rAlternateText, const Size &rRealSize, HtmlFrmOpts nFrameOpts, const sal_Char *pMarkType, const ImageMap *pGenImgMap, const OUString &rMimeType=OUString())
 
WriterOutHTML_BulletImage (Writer &rWrt, const sal_Char *pTag, const SvxBrushItem *pBrush, const OUString &rGraphicURL)
 
WriterOutHTML_SwFormatField (Writer &rWrt, const SfxPoolItem &rHt)
 
WriterOutHTML_SwFormatFootnote (Writer &rWrt, const SfxPoolItem &rHt)
 
WriterOutHTML_INetFormat (Writer &, const SwFormatINetFormat &rINetFormat, bool bOn)
 
WriterOutCSS1_BodyTagStyleOpt (Writer &rWrt, const SfxItemSet &rItemSet)
 
WriterOutCSS1_ParaTagStyleOpt (Writer &rWrt, const SfxItemSet &rItemSet)
 
WriterOutCSS1_HintSpanTag (Writer &rWrt, const SfxPoolItem &rHt)
 
WriterOutCSS1_HintStyleOpt (Writer &rWrt, const SfxPoolItem &rHt)
 
WriterOutCSS1_TableBGStyleOpt (Writer &rWrt, const SfxPoolItem &rHt)
 
WriterOutCSS1_NumBulListStyleOpt (Writer &rWrt, const SwNumRule &rNumRule, sal_uInt8 nLevel)
 
WriterOutHTML_NumBulListStart (SwHTMLWriter &rWrt, const SwHTMLNumRuleInfo &rInfo)
 
WriterOutHTML_NumBulListEnd (SwHTMLWriter &rWrt, const SwHTMLNumRuleInfo &rNextInfo)
 
WriterOutCSS1_SvxBox (Writer &rWrt, const SfxPoolItem &rHt)
 
OString GetCSS1_Color (const Color &rColor)
 

Variables

SwAttrFnTab aHTMLAttrFnTab
 

Macro Definition Documentation

#define CSS1_FMT_CMPREF   (USHRT_MAX-1)
#define CSS1_FMT_ISTAG   (USHRT_MAX)
#define CSS1_FMT_SPECIAL   (USHRT_MAX-1)

Definition at line 134 of file wrthtml.hxx.

Referenced by SwHTMLWriter::GetCSS1Selector().

#define CSS1_OUTMODE_ANY_OFF   (sal_uInt16(0x0007U << 3))

Definition at line 151 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_SfxItemSet(), and OutCSS1_SwFormatDropAttrs().

#define CSS1_OUTMODE_ANY_ON   0x0007U

Definition at line 144 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_Property(), and OutCSS1_SvxFont().

#define CSS1_OUTMODE_ANY_SCRIPT   0x0000U
#define CSS1_OUTMODE_BODY   (sal_uInt16(0x0001U << 6))

Definition at line 161 of file wrthtml.hxx.

Referenced by OutCSS1_BodyTagStyleOpt().

#define CSS1_OUTMODE_CJK   (sal_uInt16(0x0002U << 11))
#define CSS1_OUTMODE_CTL   (sal_uInt16(0x0003U << 11))
#define CSS1_OUTMODE_DROPCAP   (sal_uInt16(0x0007U << 6))

Definition at line 167 of file wrthtml.hxx.

Referenced by OutCSS1_SvxFontHeight(), OutCSS1_SwFormatDrop(), and OutCSS1DropCapRule().

#define CSS1_OUTMODE_ENCODE   (sal_uInt16(0x0001U << 10))
#define CSS1_OUTMODE_FRAME   (sal_uInt16(0x0004U << 6))

Definition at line 164 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_FrameFormatOptions().

#define CSS1_OUTMODE_HINT   (sal_uInt16(0x0003U << 6))
#define CSS1_OUTMODE_NO_SCRIPT   (sal_uInt16(0x0004U << 11))

Definition at line 184 of file wrthtml.hxx.

Referenced by OutCSS1DropCapRule(), and OutCSS1Rule().

#define CSS1_OUTMODE_ONOFF (   a)    (CSS1_OUTMODE_##a##_ON|CSS1_OUTMODE_##a##_OFF)

Definition at line 153 of file wrthtml.hxx.

#define CSS1_OUTMODE_PARA   (sal_uInt16(0x0002U << 6))
#define CSS1_OUTMODE_RULE   CSS1_OUTMODE_ONOFF(RULE)

Definition at line 156 of file wrthtml.hxx.

Referenced by OutCSS1_SwFootnoteInfo(), OutCSS1DropCapRule(), and OutCSS1Rule().

#define CSS1_OUTMODE_RULE_OFF   (sal_uInt16(0x0003U << 3))

Definition at line 150 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_SfxItemSet(), and OutCSS1_SwFormatDropAttrs().

#define CSS1_OUTMODE_RULE_ON   0x0003U
#define CSS1_OUTMODE_SCRIPT   (sal_uInt16(0x0007U << 11))

Definition at line 185 of file wrthtml.hxx.

#define CSS1_OUTMODE_SECTION   (sal_uInt16(0x0008U << 6))

Definition at line 168 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_SectionFormatOptions().

#define CSS1_OUTMODE_SOURCE   (sal_uInt16(0x000fU << 6))

Definition at line 169 of file wrthtml.hxx.

#define CSS1_OUTMODE_SPAN_NO_OFF   0x0000U

Definition at line 147 of file wrthtml.hxx.

#define CSS1_OUTMODE_SPAN_NO_ON   0x0000U

Definition at line 139 of file wrthtml.hxx.

#define CSS1_OUTMODE_SPAN_TAG   CSS1_OUTMODE_ONOFF(SPAN_TAG)

Definition at line 154 of file wrthtml.hxx.

Referenced by OutCSS1_HintSpanTag().

#define CSS1_OUTMODE_SPAN_TAG1_ON   0x0004U

Definition at line 143 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_Property(), and OutCSS1_SwFormatDrop().

#define CSS1_OUTMODE_SPAN_TAG_OFF   (sal_uInt16(0x0001U << 3))

Definition at line 148 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_SfxItemSet().

#define CSS1_OUTMODE_SPAN_TAG_ON   0x0001U

Definition at line 140 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_Property().

#define CSS1_OUTMODE_STYLE_OPT   CSS1_OUTMODE_ONOFF(STYLE_OPT)

Definition at line 155 of file wrthtml.hxx.

Referenced by OutCSS1_NumBulListStyleOpt(), and OutCSS1_ParaTagStyleOpt().

#define CSS1_OUTMODE_STYLE_OPT_OFF   (sal_uInt16(0x0002U << 3))

Definition at line 149 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_SfxItemSet().

#define CSS1_OUTMODE_STYLE_OPT_ON   0x0002U
#define CSS1_OUTMODE_TABLE   (sal_uInt16(0x0005U << 6))

Definition at line 165 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_TableFrameFormatOptions().

#define CSS1_OUTMODE_TABLEBOX   (sal_uInt16(0x0006U << 6))
#define CSS1_OUTMODE_TEMPLATE   0x0000U
#define CSS1_OUTMODE_WESTERN   (sal_uInt16(0x0001U << 11))
#define HTML_DLCOLL_DD   0x4000

Definition at line 129 of file wrthtml.hxx.

Referenced by SwHTMLWriter::GetCSS1Selector(), and SwHTMLWriter::GetDefListLvl().

#define HTML_DLCOLL_DT   0x8000

Definition at line 130 of file wrthtml.hxx.

Referenced by SwHTMLWriter::GetDefListLvl().

#define HTML_PARSPACE   (MM50)

Definition at line 68 of file wrthtml.hxx.

#define HTMLMODE_ABS_POS_DRAW   0x01000000
#define HTMLMODE_ABS_POS_FLY   0x00800000
#define HTMLMODE_BLOCK_SPACER   0x00010000

Definition at line 114 of file wrthtml.hxx.

Referenced by SwHTMLWriter::WriteStream().

#define HTMLMODE_BORDER_NONE   0x04000000
#define HTMLMODE_FLOAT_FRAME   0x00020000

Definition at line 115 of file wrthtml.hxx.

Referenced by SwHTMLWriter::WriteStream().

#define HTMLMODE_FLY_MARGINS   0x02000000
#define HTMLMODE_FONT_GENERIC   0x08000000

Definition at line 125 of file wrthtml.hxx.

Referenced by OutHTML_SvxFont(), and SwHTMLWriter::WriteStream().

#define HTMLMODE_FRSTLINE_IN_NUMBUL   0x10000000

Definition at line 126 of file wrthtml.hxx.

Referenced by OutCSS1_NumBulListStyleOpt().

#define HTMLMODE_LSPACE_IN_NUMBUL   0x00100000
#define HTMLMODE_NBSP_IN_TABLES   0x00080000

Definition at line 117 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and SwHTMLWriter::WriteStream().

#define HTMLMODE_NO_CONTROL_CENTERING   0x20000000

Definition at line 127 of file wrthtml.hxx.

Referenced by OutHTML_SwFormat(), and SwHTMLWriter::WriteStream().

#define HTMLMODE_PRINT_EXT   0x00400000
#define HTMLMODE_VERT_SPACER   0x00040000

Definition at line 116 of file wrthtml.hxx.

Referenced by OutHTML_HeaderFooter().

#define sCSS2_P_CLASS_leaders   "leaders"

Definition at line 400 of file wrthtml.hxx.

Referenced by SwHTMLWriter::OutCSS1_Property(), and OutHTML_SwFormat().

Typedef Documentation

Definition at line 252 of file wrthtml.hxx.

Enumeration Type Documentation

enum HtmlFrmOpts
strong
Enumerator
NONE 
Align 
SAlign 
Width 
Height 
Size 
SWidth 
SHeight 
SSize 
AnySize 
AbsSize 
MarginSize 
Space 
SSpace 
Border 
SBorder 
SNoBorder 
SBackground 
Name 
Alt 
BrClear 
SPixSize 
Id 
Dir 
Replacement 

The graphic frame is a replacement image of an OLE object.

GenImgAllMask 
GenImgMask 

Definition at line 74 of file wrthtml.hxx.

Function Documentation

OString GetCSS1_Color ( const Color rColor)
Writer& OutCSS1_BodyTagStyleOpt ( Writer rWrt,
const SfxItemSet rItemSet 
)
Writer& OutCSS1_HintSpanTag ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutCSS1_HintStyleOpt ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutCSS1_NumBulListStyleOpt ( Writer rWrt,
const SwNumRule rNumRule,
sal_uInt8  nLevel 
)
Writer& OutCSS1_ParaTagStyleOpt ( Writer rWrt,
const SfxItemSet rItemSet 
)
Writer& OutCSS1_SvxBox ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutCSS1_TableBGStyleOpt ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutHTML_BulletImage ( Writer rWrt,
const sal_Char pTag,
const SvxBrushItem pBrush,
const OUString &  rGraphicURL 
)
Writer& OutHTML_DrawFrameFormatAsControl ( Writer rWrt,
const SwDrawFrameFormat rFormat,
const SdrUnoObj rSdrObj,
bool  bInCntnr 
)

Definition at line 685 of file htmlforw.cxx.

References vcl::unohelper::ConvertFontWeight(), convertLineEnd(), SwHTMLWriter::DecIndentLevel(), eType, FAMILY_DONTKNOW, cppu::UnoType< class >::get(), SwDoc::GetAttrPool(), Writer::GetBaseURL(), GetControlSize(), Application::GetDefaultDevice(), OutputDevice::GetDefaultFont(), vcl::Font::GetFamilyName(), SdrTextObj::GetLogicRect(), SwHTMLWriter::GetNamespace(), tools::Rectangle::GetSize(), SdrUnoObj::GetUnoControlModel(), Size::Height(), HTML_FRMOPTS_CONTROL, HTML_FRMOPTS_CONTROL_CSS1, HTML_FRMOPTS_IMG_CONTROL, HTML_FRMOPTS_IMG_CONTROL_CSS1, HTMLMODE_ABS_POS_DRAW, i, SwHTMLWriter::IncIndentLevel(), SwHTMLWriter::IsHTMLMode(), ITALIC_DONTKNOW, ITALIC_NONE, LANGUAGE_ENGLISH_US, lcl_html_outEvents(), LINEEND_LF, LINESTYLE_DONTKNOW, LINESTYLE_NONE, OutputDevice::LogicToPixel(), SwHTMLWriter::m_aNonConvertableCharacters, SwHTMLWriter::m_bCfgOutStyles, SwHTMLWriter::m_bCfgStarBasic, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_eDestEnc, SwHTMLWriter::m_nFormCntrlCnt, Writer::m_pDoc, SwHTMLWriter::mxFormComps, NONE, nPos, OOO_STRING_SVTOOLS_HTML_input, OOO_STRING_SVTOOLS_HTML_IT_button, OOO_STRING_SVTOOLS_HTML_IT_checkbox, OOO_STRING_SVTOOLS_HTML_IT_file, OOO_STRING_SVTOOLS_HTML_IT_image, OOO_STRING_SVTOOLS_HTML_IT_password, OOO_STRING_SVTOOLS_HTML_IT_radio, OOO_STRING_SVTOOLS_HTML_IT_reset, OOO_STRING_SVTOOLS_HTML_IT_submit, OOO_STRING_SVTOOLS_HTML_IT_text, OOO_STRING_SVTOOLS_HTML_O_checked, OOO_STRING_SVTOOLS_HTML_O_cols, OOO_STRING_SVTOOLS_HTML_O_disabled, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_maxlength, OOO_STRING_SVTOOLS_HTML_O_multiple, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_rows, OOO_STRING_SVTOOLS_HTML_O_selected, OOO_STRING_SVTOOLS_HTML_O_size, OOO_STRING_SVTOOLS_HTML_O_src, OOO_STRING_SVTOOLS_HTML_O_tabindex, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_O_wrap, OOO_STRING_SVTOOLS_HTML_on, OOO_STRING_SVTOOLS_HTML_option, OOO_STRING_SVTOOLS_HTML_select, OOO_STRING_SVTOOLS_HTML_textarea, OOO_STRING_SVTOOLS_HTML_WW_hard, OOO_STRING_SVTOOLS_HTML_WW_soft, HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), SwHTMLWriter::OutHiddenControls(), SwHTMLWriter::OutNewLine(), PITCH_DONTKNOW, RES_CHRATR_BACKGROUND, RES_CHRATR_BEGIN, RES_CHRATR_COLOR, RES_CHRATR_CROSSEDOUT, RES_CHRATR_END, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_CHRATR_POSTURE, RES_CHRATR_UNDERLINE, RES_CHRATR_WEIGHT, SAL_NEWLINE_STRING, URIHelper::simpleNormalizedMakeRelative(), STRIKEOUT_DONTKNOW, STRIKEOUT_NONE, Writer::Strm(), t, TRISTATE_FALSE, o3tl::tryAccess(), o3tl::tryAccess< bool >(), o3tl::tryAccess< float >(), o3tl::tryAccess< sal_Int16 >(), o3tl::tryAccess< sal_Int32 >(), TYPE_CHECKBOX, TYPE_IMAGE, TYPE_NONE, TYPE_TEXT, WEIGHT_DONTKNOW, WEIGHT_NORMAL, Size::Width(), SvStream::WriteChar(), SvStream::WriteCharPtr(), SvStream::WriteOString(), and x.

Referenced by SwHTMLWriter::OutFrameFormat().

Writer& OutHTML_DrawFrameFormatAsMarquee ( Writer rWrt,
const SwDrawFrameFormat rFormat,
const SdrObject rSdrObj 
)

Definition at line 128 of file htmldrawwriter.cxx.

References SfxItemSet::Get(), Application::GetDefaultDevice(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), SwHTMLWriter::GetNamespace(), Outliner::GetParagraph(), Outliner::GetParagraphCount(), Outliner::GetText(), Size::Height(), HTML_FRMOPTS_MARQUEE, HTML_FRMOPTS_MARQUEE_CSS1, HTMLMODE_ABS_POS_DRAW, SwHTMLWriter::IsHTMLMode(), OutputDevice::LogicToPixel(), SwHTMLWriter::m_aNonConvertableCharacters, SwHTMLWriter::m_eDestEnc, Writer::m_pDoc, MINFLY, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_BEHAV_alternate, OOO_STRING_SVTOOLS_HTML_BEHAV_scroll, OOO_STRING_SVTOOLS_HTML_BEHAV_slide, OOO_STRING_SVTOOLS_HTML_marquee, OOO_STRING_SVTOOLS_HTML_O_behavior, OOO_STRING_SVTOOLS_HTML_O_bgcolor, OOO_STRING_SVTOOLS_HTML_O_direction, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_loop, OOO_STRING_SVTOOLS_HTML_O_scrollamount, OOO_STRING_SVTOOLS_HTML_O_scrolldelay, OOO_STRING_SVTOOLS_HTML_O_width, HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_Color(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), SDRATTR_TEXT_ANIAMOUNT, SDRATTR_TEXT_ANICOUNT, SDRATTR_TEXT_ANIDELAY, Size::setHeight(), Outliner::SetText(), Outliner::SetUpdateMode(), Size::setWidth(), Writer::Strm(), Size::Width(), SvStream::WriteChar(), SvStream::WriteCharPtr(), XATTR_FILLCOLOR, and XATTR_FILLSTYLE.

Referenced by SwHTMLWriter::OutFrameFormat(), and OutHTML_FrameFormatAsMarquee().

Writer& OutHTML_FrameFormatOLENode ( Writer rWrt,
const SwFrameFormat rFormat,
bool  bInCntnr 
)

Definition at line 1181 of file htmlplug.cxx.

References aStr, SwHTMLWriter::DecIndentLevel(), SvCommandList::FillFromSequence(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SvCommand::GetArgument(), Writer::GetBaseURL(), SvCommand::GetCommand(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwNodeIndex::GetIndex(), SwFormat::GetName(), SwHTMLWriter::GetNamespace(), SwDoc::GetNodes(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), SwApplet_Impl::GetOptionType(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwNoTextNode::GetTitle(), HTML_FRMOPTS_APPLET, HTML_FRMOPTS_APPLET_CNTNR, HTML_FRMOPTS_EMBED, HTML_FRMOPTS_EMBED_CNTNR, HTML_FRMOPTS_HIDDEN_EMBED, HTML_FRMOPTS_IFRAME, HTML_FRMOPTS_IFRAME_CNTNR, HTML_FRMOPTS_OLE_CSS1, HTMLMODE_ABS_POS_FLY, i, SwHTMLWriter::IncIndentLevel(), SwHTMLWriter::IsHTMLMode(), SwHTMLWriter::m_aNonConvertableCharacters, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_eDestEnc, Writer::m_pDoc, nType, OOO_STRING_SVTOOLS_HTML_applet, OOO_STRING_SVTOOLS_HTML_embed, OOO_STRING_SVTOOLS_HTML_iframe, OOO_STRING_SVTOOLS_HTML_O_code, OOO_STRING_SVTOOLS_HTML_O_codebase, OOO_STRING_SVTOOLS_HTML_O_mayscript, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_src, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, OOO_STRING_SVTOOLS_HTML_param, OOO_STRING_SW_HTML_O_Hidden, HTMLOutFuncs::Out_AsciiTag(), SfxFrameHTMLWriter::Out_FrameDescriptor(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), SwHTMLWriter::OutFrameFormatOptions(), SwHTMLWriter::OutImplicitMark(), SwHTMLWriter::OutNewLine(), PARAM, URIHelper::simpleNormalizedMakeRelative(), SvCommandList::size(), SO3_APPLET_CLASSID, SO3_PLUGIN_CLASSID, Writer::Strm(), TAG, svt::EmbeddedObjectRef::TryRunningState(), SvStream::WriteChar(), and SvStream::WriteCharPtr().

Referenced by SwHTMLWriter::OutFrameFormat().

Writer& OutHTML_FrameFormatOLENodeGrf ( Writer rWrt,
const SwFrameFormat rFormat,
bool  bInCntnr 
)
Writer& OutHTML_HeaderFooter ( Writer rWrt,
const SwFrameFormat rFrameFormat,
bool  bHeader 
)
Writer& OutHTML_Image ( Writer ,
const SwFrameFormat rFormat,
const OUString &  rGraphicURL,
Graphic const &  rGraphic,
const OUString &  rAlternateText,
const Size rRealSize,
HtmlFrmOpts  nFrameOpts,
const sal_Char pMarkType,
const ImageMap pGenImgMap,
const OUString &  rMimeType = OUString() 
)

Definition at line 1204 of file htmlflywriter.cxx.

References aAnchorEventTable, Size::AdjustHeight(), Size::AdjustWidth(), aName, HtmlWriterHelper::applyColor(), HtmlWriterHelper::applyEvents(), Border, SwHTMLWriter::convertHyperlinkHRefValue(), SvxMacroTableDtor::empty(), SwFormat::GetAttrSet(), Writer::GetBaseURL(), SvxBoxItem::GetBottom(), Application::GetDefaultDevice(), SfxItemSet::GetItemState(), SvxBoxItem::GetLeft(), SvxMacroItem::GetMacroTable(), SwFormatURL::GetName(), SwFormat::GetName(), SvxBoxItem::GetRight(), SwFormatURL::GetTargetFrameName(), SvxBoxItem::GetTop(), SwFormatURL::GetURL(), XOutBitmap::GraphicToBase64(), Size::Height(), HTMLMODE_ABS_POS_FLY, if(), SwHTMLWriter::IsHTMLMode(), SwFormatURL::IsServerMap(), OutputDevice::LogicToPixel(), SwHTMLWriter::m_aINetFormats, SwHTMLWriter::m_bCfgStarBasic, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_nWarn, SwHTMLWriter::maNamespace, SwHTMLWriter::mbEmbedImages, SwHTMLWriter::mbReqIF, SwHTMLWriter::mbSkipImages, SwHTMLWriter::mpTempBaseURL, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_font, OOO_STRING_SVTOOLS_HTML_image, OOO_STRING_SVTOOLS_HTML_O_border, OOO_STRING_SVTOOLS_HTML_O_color, OOO_STRING_SVTOOLS_HTML_O_data, OOO_STRING_SVTOOLS_HTML_O_href, OOO_STRING_SVTOOLS_HTML_O_ismap, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_src, OOO_STRING_SVTOOLS_HTML_O_target, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_usemap, OOO_STRING_SVTOOLS_HTML_object, OUStringToOString(), SwHTMLWriter::OutCSS1_FrameFormatOptions(), OutHTML_INetFormat(), SwHTMLWriter::OutImplicitMark(), SwHTMLWriter::OutNewLine(), HTMLOutFuncs::PrivateURLToInternalImg(), Replacement, RES_BOX, RES_FRMMACRO, Size::setHeight(), Size::setWidth(), URIHelper::simpleNormalizedMakeRelative(), Writer::Strm(), WARN_SWG_POOR_LOAD, Size::Width(), and SwHTMLWriter::writeFrameFormatOptions().

Referenced by OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), and OutHTML_FrameFormatOLENodeGrf().

Writer& OutHTML_INetFormat ( Writer ,
const SwFormatINetFormat rINetFormat,
bool  bOn 
)
Writer& OutHTML_NumBulListEnd ( SwHTMLWriter rWrt,
const SwHTMLNumRuleInfo rNextInfo 
)
Writer& OutHTML_NumBulListStart ( SwHTMLWriter rWrt,
const SwHTMLNumRuleInfo rInfo 
)

Definition at line 98 of file htmlnumwriter.cxx.

References aName, SwNode::EndOfSectionIndex(), eType, SwNumRule::Get(), SwTextNode::GetActualListLevel(), SvxNumberFormat::GetBrush(), SvxNumberFormat::GetBulletChar(), SwHTMLNumRuleInfo::GetDepth(), SwNumRule::GetName(), SwHTMLWriter::GetNamespace(), SwDoc::GetNodes(), SvxNumberType::GetNumberingType(), SwHTMLWriter::GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), SwTextNode::GetNumRule(), SvxNumberFormat::GetStart(), SwNode::GetTextNode(), HTML_BULLETCHAR_CIRCLE, HTML_BULLETCHAR_DISC, HTML_BULLETCHAR_SQUARE, i, SwHTMLWriter::IncIndentLevel(), SwTextNode::IsOutline(), SwHTMLNumRuleInfo::IsRestart(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwHTMLWriter::m_aBulletGrfs, SwHTMLWriter::m_aNumRuleNames, SwHTMLWriter::m_bCfgOutStyles, SwHTMLWriter::m_nLastParaToken, Writer::m_pCurrentPam, Writer::m_pDoc, nPos, OOO_STRING_SVTOOLS_HTML_O_start, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_orderlist, OOO_STRING_SVTOOLS_HTML_ULTYPE_circle, OOO_STRING_SVTOOLS_HTML_ULTYPE_disc, OOO_STRING_SVTOOLS_HTML_ULTYPE_square, OOO_STRING_SVTOOLS_HTML_unorderlist, OutCSS1_NumBulListStyleOpt(), OutHTML_BulletImage(), SwHTMLWriter::OutNewLine(), Writer::Strm(), SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, SvStream::WriteChar(), and SvStream::WriteOString().

Referenced by OutHTML_SwFormat().

Writer& OutHTML_SwFormatField ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutHTML_SwFormatFootnote ( Writer rWrt,
const SfxPoolItem rHt 
)
Writer& OutHTML_SwTableNode ( Writer ,
SwTableNode ,
const SwFrameFormat ,
const OUString *  pCaption = nullptr,
bool  bTopCaption = false 
)

Definition at line 861 of file htmltabw.cxx.

References SwHTMLWriter::ClearNextNumInfo(), SwHTMLWriter::DecIndentLevel(), SwNode::EndOfSectionNode(), SwHTMLWriter::FillNextNumInfo(), SwFrameFormat::FindLayoutRect(), IDocumentLayoutAccess::GetCurrentViewShell(), SwTable::GetFrameFormat(), SwFormat::GetFrameSize(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwTable::GetHTMLTableLayout(), SwDoc::getIDocumentLayoutAccess(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwFormat::GetName(), SwHTMLWriter::GetNamespace(), SwHTMLWriter::GetNextNumInfo(), SwHTMLWriter::GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), SvxLRSpaceItem::GetRight(), SwTable::GetRowsToRepeat(), SvxSizeItem::GetSize(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), SwTableNode::GetTable(), SwTable::GetTabLines(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), SwViewShell::GetViewOptions(), SwFormatFrameSize::GetWidthPercent(), SwHTMLWriter::IncIndentLevel(), SwHTMLTableLayout::IsExportable(), SwHTMLNumRuleInfo::IsRestart(), SwViewOption::IsTest1(), LEFT, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_bOutTable, SwHTMLWriter::m_bPreserveForm, SwHTMLWriter::m_nDefListLvl, SwHTMLWriter::m_nDefListMargin, Writer::m_pCurrentPam, Writer::m_pDoc, SwHTMLWriter::mxFormComps, sw::sidebar::NONE, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_center, OOO_STRING_SVTOOLS_HTML_dd, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_O_align, HTMLOutFuncs::Out_AsciiTag(), SwHTMLWriter::OutAndSetDefList(), SwHTMLWriter::OutForm(), OutHTML_NumBulListEnd(), SwHTMLWriter::OutImplicitMark(), SwHTMLWriter::OutNewLine(), RIGHT, Writer::Strm(), Size::Width(), SwRect::Width(), and SwHTMLWrtTable::Write().

Referenced by SwHTMLWriter::Out_SwDoc(), and OutHTML_FrameFormatTableNode().

Writer& OutHTML_SwTextNode ( Writer ,
const SwContentNode  
)

Definition at line 2006 of file htmlatr.cxx.

References aHTMLAttrFnTab, Any, HtmlWriterHelper::applyColor(), Before, CH_TXT_ATR_FORMELEMENT, SwHTMLWriter::ChangeParaToken(), COL_GRAY(), SfxItemSet::Count(), SwpHints::Count(), SwTextAttr::End(), SwNode::FindTableNode(), HTMLOutFuncs::FlushToAscii(), SfxItemSet::Get(), SwpHints::Get(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SvxBoxItem::GetBottom(), SwFormat::GetCol(), editeng::SvxBorderLine::GetColor(), SwNode::GetDoc(), SwHTMLWriter::GetFootEndNoteSym(), SwTableBox::GetFrameFormat(), SwFormat::GetFrameSize(), SwHTMLWriter::GetHTMLMode(), SwDoc::getIDocumentStylePoolAccess(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), editeng::SvxBorderLine::GetInWidth(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SwHTMLWriter::GetLineLen(), SvxULSpaceItem::GetLower(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), SwFormat::GetName(), SwDoc::GetNodes(), SwFormatCol::GetNumCols(), SwTextNode::GetNumRule(), SwTextNode::GetNumString(), SwDoc::GetOutlineNumRule(), IDocumentStylePoolAccess::GetPageDescFromPool(), SwFormat::GetPoolFormatId(), SwContentNode::GetpSwAttrSet(), SvxLRSpaceItem::GetRight(), editeng::SvxBorderLine::GetScaledWidth(), SwTextAttr::GetStart(), SwNode::GetStartNode(), SwStartNode::GetStartNodeType(), SwContentNode::GetSwAttrSet(), SwTextNode::GetSwpHints(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTextNode::GetText(), SvxSizeItem::GetWidth(), SwTextAttr::HasDummyChar(), SwTextNode::HasHints(), HTMLMODE_NBSP_IN_TABLES, SwHTMLWriter::indexOfDotLeaders(), HTMLEndPosLst::Insert(), Inside, SwNode::IsEndNode(), SwHTMLWriter::IsHTMLMode(), SwTextNode::IsOutline(), Color::IsRGBEqual(), SwNode::IsSectionNode(), SwNode::IsStartNode(), SwNode::IsTableNode(), SwHTMLWriter::m_aNonConvertableCharacters, SwHTMLWriter::m_aScriptTextStyles, SwHTMLWriter::m_bCfgFormFeed, SwHTMLWriter::m_bCfgOutStyles, SwHTMLWriter::m_bClearLeft, SwHTMLWriter::m_bClearRight, SwHTMLWriter::m_bLFPossible, SwHTMLWriter::m_bOutFlyFrame, SwHTMLWriter::m_bOutOpts, SwHTMLWriter::m_bOutTable, SwHTMLWriter::m_bTagOn, SwHTMLWriter::m_bTextAttr, Writer::m_bWriteAll, SwHTMLWriter::m_CharFormatInfos, SwHTMLWriter::m_eDestEnc, SwHTMLWriter::m_nCSS1Script, SwHTMLWriter::m_nLastParaToken, SwHTMLWriter::m_nTextAttrsToIgnore, SwHTMLWriter::m_nWhishLineLen, Writer::m_pCurrentPam, Writer::m_pDoc, SwHTMLWriter::m_pFormatFootnote, SwHTMLWriter::m_pStartNdIdx, SwHTMLWriter::m_xDfltColor, SwHTMLWriter::m_xTemplate, SwHTMLWriter::maNamespace, SwPosition::nContent, OOO_STRING_SVTOOLS_HTML_AL_all, OOO_STRING_SVTOOLS_HTML_AL_center, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_horzrule, OOO_STRING_SVTOOLS_HTML_linebreak, OOO_STRING_SVTOOLS_HTML_O_align, OOO_STRING_SVTOOLS_HTML_O_clear, OOO_STRING_SVTOOLS_HTML_O_color, OOO_STRING_SVTOOLS_HTML_O_noshade, OOO_STRING_SVTOOLS_HTML_O_size, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_S_nbsp, OUStringToOString(), Out(), HTMLOutFuncs::Out_Char(), HTMLOutFuncs::Out_String(), SwHTMLWriter::OutBookmarks(), SwHTMLWriter::OutFlyFrame(), SwHTMLWriter::OutFootEndNoteSym(), SwHTMLWriter::OutForm(), OutHTML_SwFormat(), OutHTML_SwFormatOff(), SwHTMLWriter::OutNewLine(), SwHTMLWriter::OutPointFieldmarks(), SwHTMLTextCollOutputInfo::pItemSet, Postit, Prefix, RES_BOX, RES_BREAK, RES_CHRATR_FONTSIZE, RES_DRAWFRMFMT, RES_LR_SPACE, RES_PAGEDESC, RES_POOLCOLL_HTML_HR, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLPAGE_HTML, RES_TXTATR_ANNOTATION, RES_TXTATR_FIELD, RES_TXTATR_FLYCNT, RES_UL_SPACE, SAL_MAX_INT32, Script, HtmlWriter::single(), HtmlWriter::start(), SwNode::StartOfSectionIndex(), Writer::Strm(), SwTableBoxStartNode, SwHTMLWriter::ToPixel(), SfxPoolItem::Which(), SwFormat::Which(), SwTextAttr::Which(), SvStream::WriteChar(), SvStream::WriteCharPtr(), and SvStream::WriteOString().

Referenced by SwHTMLWriter::Out_SwDoc().

Variable Documentation

SwAttrFnTab aHTMLAttrFnTab