LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
SwHTMLWriter Class Reference

#include <wrthtml.hxx>

Inheritance diagram for SwHTMLWriter:
[legend]
Collaboration diagram for SwHTMLWriter:
[legend]

Public Member Functions

 SwHTMLWriter (const OUString &rBaseURL, const OUString &rFilterOptions="")
 Construct an instance of SwHTMLWriter and optionally give it the filter options directly, which can also be set via SetupFilterOptions(). More...
 
virtual ~SwHTMLWriter () override
 
void Out_SwDoc (SwPaM *)
 
void OutAnchor (const OUString &rName)
 
void OutBookmarks ()
 
void OutPointFieldmarks (const SwPosition &rPos)
 
void OutImplicitMark (const OUString &rMark, const sal_Char *pMarkType)
 
OUString convertHyperlinkHRefValue (const OUString &rURL)
 
void OutHyperlinkHRefValue (const OUString &rURL)
 
bool OutFlyFrame (sal_uLong nNdIdx, sal_Int32 nContentIdx, HtmlPosition nPos, HTMLOutContext *pContext=nullptr)
 
void OutFrameFormat (AllHtmlFlags nType, const SwFrameFormat &rFormat, const SdrObject *pSdrObj)
 
void OutForm (bool bTagOn=true, const SwStartNode *pStNd=nullptr)
 
void OutHiddenForms ()
 
void OutHiddenForm (const css::uno::Reference< css::form::XForm > &rForm)
 
void OutForm (bool bOn, const css::uno::Reference< css::container::XIndexContainer > &rFormComps)
 
void OutHiddenControls (const css::uno::Reference< css::container::XIndexContainer > &rFormComps, const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
 
bool HasControls () const
 
void OutFootEndNoteInfo ()
 
void OutFootEndNotes ()
 
OUString GetFootEndNoteSym (const SwFormatFootnote &rFormatFootnote)
 
void OutFootEndNoteSym (const SwFormatFootnote &rFormatFootnote, const OUString &rNum, sal_uInt16 nScript)
 
void OutBasic ()
 
void OutAndSetDefList (sal_uInt16 nNewLvl)
 
void OutStyleSheet (const SwPageDesc &rPageDesc)
 
void OutCSS1_PropertyAscii (const sal_Char *pProp, const sal_Char *pVal)
 
void OutCSS1_PropertyAscii (const sal_Char *pProp, const OString &rVal)
 
void OutCSS1_Property (const sal_Char *pProp, const OUString &rVal)
 
void OutCSS1_Property (const sal_Char *pProp, const sal_Char *pVal, const OUString *pSVal)
 
void OutCSS1_UnitProperty (const sal_Char *pProp, long nVal)
 
void OutCSS1_PixelProperty (const sal_Char *pProp, long nVal, bool bVert)
 
void OutCSS1_SfxItemSet (const SfxItemSet &rItemSet, bool bDeep=true)
 
void OutBasicBodyEvents ()
 
void OutBackground (const SvxBrushItem *pBrushItem, bool bGraphic)
 
void OutBackground (const SfxItemSet &rItemSet, bool bGraphic)
 
void OutLanguage (LanguageType eLang)
 
SvxFrameDirection GetHTMLDirection (SvxFrameDirection nDir) const
 
SvxFrameDirection GetHTMLDirection (const SfxItemSet &rItemSet) const
 
void OutDirection (SvxFrameDirection nDir)
 
OString OutFrameFormatOptions (const SwFrameFormat &rFrameFormat, const OUString &rAltText, HtmlFrmOpts nFrameOpts)
 
void writeFrameFormatOptions (HtmlWriter &aHtml, const SwFrameFormat &rFrameFormat, const OUString &rAltText, HtmlFrmOpts nFrameOpts)
 
void OutCSS1_TableFrameFormatOptions (const SwFrameFormat &rFrameFormat)
 
void OutCSS1_TableCellBorderHack (const SwFrameFormat &rFrameFormat)
 
void OutCSS1_SectionFormatOptions (const SwFrameFormat &rFrameFormat, const SwFormatCol *pCol)
 
void OutCSS1_FrameFormatOptions (const SwFrameFormat &rFrameFormat, HtmlFrmOpts nFrameOpts, const SdrObject *pSdrObj=nullptr, const SfxItemSet *pItemSet=nullptr)
 
void OutCSS1_FrameFormatBackground (const SwFrameFormat &rFrameFormat)
 
void ChangeParaToken (HtmlTokenId nNew)
 
void IncIndentLevel ()
 
void DecIndentLevel ()
 
OString GetIndentString (sal_uInt16 nIncLvl=0)
 
sal_Int32 GetLineLen ()
 
void OutNewLine (bool bCheck=false)
 
SwPaMGetEndPaM ()
 
void SetEndPaM (SwPaM *pPam)
 
sal_uInt16 GuessFrameType (const SwFrameFormat &rFrameFormat, const SdrObject *&rpStrObj)
 
void CollectFlyFrames ()
 
sal_uInt16 GetHTMLFontSize (sal_uInt32 nFontHeight) const
 
SwHTMLNumRuleInfoGetNumInfo ()
 
SwHTMLNumRuleInfoGetNextNumInfo ()
 
std::unique_ptr< SwHTMLNumRuleInfoReleaseNextNumInfo ()
 
void SetNextNumInfo (std::unique_ptr< SwHTMLNumRuleInfo > pNxt)
 
void FillNextNumInfo ()
 
void ClearNextNumInfo ()
 
sal_uInt32 GetHTMLMode () const
 
bool IsHTMLMode (sal_uInt32 nMode) const
 
bool IsCSS1Source (sal_uInt16 n) const
 
bool IsCSS1Script (sal_uInt16 n) const
 
FieldUnit GetCSS1Unit () const
 
sal_Int32 indexOfDotLeaders (sal_uInt16 nPoolId, const OUString &rText)
 
OString GetNamespace () const
 Determines the prefix string needed to respect the requested namespace alias. More...
 
- Public Member Functions inherited from Writer
 Writer ()
 
virtual ~Writer () override
 
virtual ErrCode Write (SwPaM &, SfxMedium &, const OUString *)
 
ErrCode Write (SwPaM &, SvStream &, const OUString *)
 
virtual ErrCode Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr)
 
virtual ErrCode Write (SwPaM &, SotStorage &, const OUString *)
 
virtual bool IsStgWriter () const
 
void SetShowProgress (bool bFlag)
 
const OUString * GetOrigFileName () const
 
const SwAsciiOptionsGetAsciiOptions () const
 
void SetAsciiOptions (const SwAsciiOptions &rOpt)
 
const OUString & GetBaseURL () const
 
sal_Int32 FindPos_Bkmk (const SwPosition &rPos) const
 
void CreateBookmarkTable ()
 
bool GetBookmarks (const SwContentNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, std::vector< const ::sw::mark::IMark * > &rArr)
 
bool CopyLocalFileToINet (OUString &rFileNm)
 
void SetStream (SvStream *const pStream)
 
SvStreamStrm ()
 
void SetOrganizerMode (bool bSet)
 
- Public Member Functions inherited from SvRefBase
 SvRefBase ()
 
 SvRefBase (const SvRefBase &)
 
SvRefBaseoperator= (const SvRefBase &)
 
void RestoreNoDelete ()
 
void AddNextRef ()
 
void AddFirstRef ()
 
void ReleaseRef ()
 
unsigned int GetRefCount () const
 

Static Public Member Functions

static OString convertDirection (SvxFrameDirection nDirection)
 
static sal_uInt32 ToPixel (sal_uInt32 nVal, const bool bVert)
 
static sal_uInt16 GuessOLENodeFrameType (const SwNode &rNd)
 
static const SdrObjectGetHTMLControl (const SwDrawFrameFormat &rFormat)
 
static const SdrObjectGetMarqueeTextObj (const SwDrawFrameFormat &rFormat)
 
static sal_uInt16 GetCSS1Selector (const SwFormat *pFormat, OString &rToken, OUString &rClass, sal_uInt16 &rRefPoolId, OUString *pPseudo=nullptr)
 
static const SwFormatGetTemplateFormat (sal_uInt16 nPoolId, IDocumentStylePoolAccess *pTemplate)
 
static const SwFormatGetParentFormat (const SwFormat &rFormat, sal_uInt16 nDeep)
 
static void SubtractItemSet (SfxItemSet &rItemSet, const SfxItemSet &rRefItemSet, bool bSetDefaults, bool bClearSame=true, const SfxItemSet *pRefScriptItemSet=nullptr)
 
static bool HasScriptDependentItems (const SfxItemSet &rItemSet, bool bCheckDropCap)
 
static void GetEEAttrsFromDrwObj (SfxItemSet &rItemSet, const SdrObject *pObj)
 
static sal_uInt16 GetDefListLvl (const OUString &rNm, sal_uInt16 nPoolId)
 
static const sal_CharGetNumFormat (sal_uInt16 nFormat)
 
static void PrepareFontList (const SvxFontItem &rFontItem, OUString &rNames, sal_Unicode cQuote, bool bGeneric)
 
static sal_uInt16 GetCSS1ScriptForScriptType (sal_uInt16 nScriptType)
 
static sal_uInt16 GetLangWhichIdFromScript (sal_uInt16 nScript)
 
- Static Public Member Functions inherited from Writer
static std::shared_ptr< SwUnoCursorNewUnoCursor (SwDoc &rDoc, sal_uLong const nStartIdx, sal_uLong const nEndIdx)
 
static SvStreamOutLong (SvStream &rStrm, long nVal)
 
static SvStreamOutULong (SvStream &rStrm, sal_uLong nVal)
 

Public Attributes

std::vector< OUString > m_aImgMapNames
 
std::set< OUString > m_aImplicitMarks
 
std::set< OUString > m_aNumRuleNames
 
std::set< OUString > m_aScriptParaStyles
 
std::set< OUString > m_aScriptTextStyles
 
std::vector< OUString > m_aOutlineMarks
 
std::vector< sal_uInt32 > m_aOutlineMarkPoss
 
HTMLControls m_aHTMLControls
 
SwHTMLFormatInfos m_CharFormatInfos
 
SwHTMLFormatInfos m_TextCollInfos
 
std::vector< SwFormatINetFormat * > m_aINetFormats
 
std::unique_ptr< std::vector< SwTextFootnote * > > m_pFootEndNotes
 
OUString m_aCSS1Selector
 
OUString m_aNonConvertableCharacters
 
OUString m_aBulletGrfs [MAXLEVEL]
 
css::uno::Reference< css::container::XIndexContainer > mxFormComps
 
rtl::Reference< SwDocm_xTemplate
 
boost::optional< Colorm_xDfltColor
 
SwNodeIndexm_pStartNdIdx
 
const SwPageDescm_pCurrPageDesc
 
const SwFormatFootnotem_pFormatFootnote
 
sal_uInt32 m_aFontHeights [7]
 
ErrCode m_nWarn
 
sal_uInt32 m_nLastLFPos
 
HtmlTokenId m_nLastParaToken
 
sal_Int32 m_nBkmkTabPos
 
sal_uInt16 m_nImgMapCnt
 
sal_uInt16 m_nFormCntrlCnt
 
sal_uInt16 m_nEndNote
 
sal_uInt16 m_nFootNote
 
sal_Int32 m_nLeftMargin
 
sal_Int32 m_nDfltLeftMargin
 
sal_Int32 m_nDfltRightMargin
 
short m_nFirstLineIndent
 
short m_nDfltFirstLineIndent
 
sal_uInt16 m_nDfltTopMargin
 
sal_uInt16 m_nDfltBottomMargin
 
sal_uInt16 m_nIndentLvl
 
sal_Int32 m_nWhishLineLen
 
sal_uInt16 m_nDefListLvl
 
sal_Int32 m_nDefListMargin
 
sal_uInt16 m_nHeaderFooterSpace
 
sal_uInt16 m_nTextAttrsToIgnore
 
sal_uInt16 m_nExportMode
 
sal_uInt16 m_nCSS1OutMode
 
sal_uInt16 m_nCSS1Script
 
SvxFrameDirection m_nDirection
 
rtl_TextEncoding m_eDestEnc
 
LanguageType m_eLang
 
bool m_bCfgOutStyles: 1
 
bool m_bCfgPreferStyles: 1
 
bool m_bCfgFormFeed: 1
 
bool m_bCfgStarBasic: 1
 
bool m_bCfgCpyLinkedGrfs: 1
 
bool m_bFirstLine: 1
 
bool m_bTagOn: 1
 
bool m_bTextAttr: 1
 
bool m_bOutOpts: 1
 
bool m_bOutTable: 1
 
bool m_bOutHeader: 1
 
bool m_bOutFooter: 1
 
bool m_bOutFlyFrame: 1
 
bool m_bFirstCSS1Rule: 1
 
bool m_bFirstCSS1Property: 1
 
bool m_bCSS1IgnoreFirstPageDesc: 1
 
bool m_bNoAlign: 1
 
bool m_bClearLeft: 1
 
bool m_bClearRight: 1
 
bool m_bLFPossible: 1
 
bool m_bPreserveForm: 1
 
bool m_bCfgNetscape4: 1
 
bool mbSkipImages: 1
 
bool mbSkipHeaderFooter: 1
 If HTML header and footer should be written as well, or just the content itself. More...
 
bool mbEmbedImages: 1
 
std::unique_ptr< utl::TempFilempTempBaseURL
 Temporary base URL for paste of images. More...
 
bool mbXHTML = false
 If XHTML markup should be written instead of HTML. More...
 
OString maNamespace
 XML namespace, in case of XHTML. More...
 
bool mbReqIF = false
 If the ReqIF subset of XHTML should be written. More...
 
bool m_bCfgPrintLayout: 1
 
bool m_bParaDotLeaders: 1
 
std::map< sal_uInt16, intmaStartedAttributes
 Tracks which text portion attributes are currently open: a which id -> open count map. More...
 
- Public Attributes inherited from Writer
SwDocm_pDoc
 
SwPaMm_pOrigPam
 
std::shared_ptr< SwUnoCursorm_pCurrentPam
 
bool m_bWriteAll: 1
 
bool m_bShowProgress: 1
 
bool m_bWriteClipboardDoc: 1
 
bool m_bWriteOnlyFirstTable: 1
 
bool m_bASCII_ParaAsCR: 1
 
bool m_bASCII_ParaAsBlank: 1
 
bool m_bASCII_NoLastLineEnd: 1
 
bool m_bUCS2_WithStartChar: 1
 
bool m_bExportPargraphNumbering: 1
 
bool m_bBlock: 1
 
bool m_bOrganizerMode: 1
 
bool m_bHideDeleteRedlines: 1
 

Protected Member Functions

ErrCode WriteStream () override
 
void SetupFilterOptions (SfxMedium &rMedium) override
 
- Protected Member Functions inherited from Writer
void ResetWriter ()
 
bool CopyNextPam (SwPaM **)
 
void PutNumFormatFontsInAttrPool ()
 
void PutEditEngFontsInAttrPool ()
 
void SetBaseURL (const OUString &rURL)
 
IDocumentSettingAccessgetIDocumentSettingAccess ()
 
const IDocumentSettingAccessgetIDocumentSettingAccess () const
 
IDocumentStylePoolAccessgetIDocumentStylePoolAccess ()
 
const IDocumentStylePoolAccessgetIDocumentStylePoolAccess () const
 
- Protected Member Functions inherited from SvRefBase
virtual ~SvRefBase () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

sal_uInt16 OutHeaderAttrs ()
 
const SwPageDescMakeHeader (sal_uInt16 &rHeaderAtrs)
 
void GetControls ()
 
void AddLinkTarget (const OUString &rURL)
 
void CollectLinkTargets ()
 
void SetupFilterOptions (const OUString &rFilterOptions)
 

Private Attributes

std::unique_ptr< SwHTMLPosFlyFramesm_pHTMLPosFlyFrames
 
std::unique_ptr< SwHTMLNumRuleInfom_pNumRuleInfo
 
std::unique_ptr< SwHTMLNumRuleInfom_pNextNumRuleInfo
 
sal_uInt32 m_nHTMLMode
 
FieldUnit m_eCSS1Unit
 

Additional Inherited Members

- Protected Attributes inherited from Writer
const OUString * m_pOrigFileName
 

Detailed Description

Definition at line 256 of file wrthtml.hxx.

Constructor & Destructor Documentation

SwHTMLWriter::SwHTMLWriter ( const OUString &  rBaseURL,
const OUString &  rFilterOptions = "" 
)
explicit

Construct an instance of SwHTMLWriter and optionally give it the filter options directly, which can also be set via SetupFilterOptions().

Definition at line 93 of file wrthtml.cxx.

References Horizontal_LR_TB, LANGUAGE_DONTKNOW, mpTempBaseURL, NONE, Writer::SetBaseURL(), and SetupFilterOptions().

SwHTMLWriter::~SwHTMLWriter ( )
overridevirtual

Definition at line 169 of file wrthtml.cxx.

Member Function Documentation

void SwHTMLWriter::AddLinkTarget ( const OUString &  rURL)
private

Definition at line 2019 of file htmlflywriter.cxx.

References cMarkSeparator, SwNodeIndex::GetIndex(), SwPosition::nNode, and nPos.

void SwHTMLWriter::ChangeParaToken ( HtmlTokenId  nNew)
void SwHTMLWriter::ClearNextNumInfo ( )
void SwHTMLWriter::CollectFlyFrames ( )
void SwHTMLWriter::CollectLinkTargets ( )
private
OString SwHTMLWriter::convertDirection ( SvxFrameDirection  nDirection)
static

Definition at line 1383 of file wrthtml.cxx.

Referenced by OutDirection().

OUString SwHTMLWriter::convertHyperlinkHRefValue ( const OUString &  rURL)
void SwHTMLWriter::DecIndentLevel ( )
inline
void SwHTMLWriter::FillNextNumInfo ( )
void SwHTMLWriter::GetControls ( )
private
sal_uInt16 SwHTMLWriter::GetCSS1ScriptForScriptType ( sal_uInt16  nScriptType)
static
sal_uInt16 SwHTMLWriter::GetCSS1Selector ( const SwFormat pFormat,
OString &  rToken,
OUString &  rClass,
sal_uInt16 &  rRefPoolId,
OUString *  pPseudo = nullptr 
)
static

Definition at line 622 of file css1atr.cxx.

References CSS1_FMT_CMPREF, CSS1_FMT_ISTAG, CSS1_FMT_SPECIAL, SwFormat::DerivedFrom(), GetAppCharClass(), SwFormat::GetName(), SwFormat::GetPoolFormatId(), HTML_DLCOLL_DD, SwFormat::IsDefault(), CharClass::lowercase(), nPos, OOO_STRING_SVTOOLS_HTML_address, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_blockquote, OOO_STRING_SVTOOLS_HTML_citiation, OOO_STRING_SVTOOLS_HTML_code, OOO_STRING_SVTOOLS_HTML_dd, OOO_STRING_SVTOOLS_HTML_definstance, OOO_STRING_SVTOOLS_HTML_dt, OOO_STRING_SVTOOLS_HTML_emphasis, OOO_STRING_SVTOOLS_HTML_head1, OOO_STRING_SVTOOLS_HTML_head2, OOO_STRING_SVTOOLS_HTML_head3, OOO_STRING_SVTOOLS_HTML_head4, OOO_STRING_SVTOOLS_HTML_head5, OOO_STRING_SVTOOLS_HTML_head6, OOO_STRING_SVTOOLS_HTML_horzrule, OOO_STRING_SVTOOLS_HTML_keyboard, OOO_STRING_SVTOOLS_HTML_listing, OOO_STRING_SVTOOLS_HTML_parabreak, OOO_STRING_SVTOOLS_HTML_preformtxt, OOO_STRING_SVTOOLS_HTML_sample, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdfootnote, OOO_STRING_SVTOOLS_HTML_strong, OOO_STRING_SVTOOLS_HTML_tabledata, OOO_STRING_SVTOOLS_HTML_tableheader, OOO_STRING_SVTOOLS_HTML_teletype, OOO_STRING_SVTOOLS_HTML_variable, OOO_STRING_SVTOOLS_HTML_xmp, RES_CHRFMT, RES_POOLCHR_HTML_CITIATION, RES_POOLCHR_HTML_CODE, RES_POOLCHR_HTML_DEFINSTANCE, RES_POOLCHR_HTML_EMPHASIS, RES_POOLCHR_HTML_KEYBOARD, RES_POOLCHR_HTML_SAMPLE, RES_POOLCHR_HTML_STRONG, RES_POOLCHR_HTML_TELETYPE, RES_POOLCHR_HTML_VARIABLE, RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_HTML_BLOCKQUOTE, RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, RES_POOLCOLL_HTML_HR, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_SENDADRESS, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, sCSS1_link, sCSS1_visited, USER_FMT, and SwFormat::Which().

Referenced by GetCSS1Selector(), and SwHTMLFormatInfo::SwHTMLFormatInfo().

FieldUnit SwHTMLWriter::GetCSS1Unit ( ) const
inline

Definition at line 581 of file wrthtml.hxx.

Referenced by OutCSS1_SvxBox(), and OutCSS1_SwPageDesc().

sal_uInt16 SwHTMLWriter::GetDefListLvl ( const OUString &  rNm,
sal_uInt16  nPoolId 
)
static
void SwHTMLWriter::GetEEAttrsFromDrwObj ( SfxItemSet rItemSet,
const SdrObject pObj 
)
static
SwPaM* SwHTMLWriter::GetEndPaM ( )
inline

Definition at line 511 of file wrthtml.hxx.

OUString SwHTMLWriter::GetFootEndNoteSym ( const SwFormatFootnote rFormatFootnote)
const SdrObject * SwHTMLWriter::GetHTMLControl ( const SwDrawFrameFormat rFormat)
static
SvxFrameDirection SwHTMLWriter::GetHTMLDirection ( SvxFrameDirection  nDir) const
SvxFrameDirection SwHTMLWriter::GetHTMLDirection ( const SfxItemSet rItemSet) const

Definition at line 1347 of file wrthtml.cxx.

References SfxItemSet::Get(), GetHTMLDirection(), and RES_FRAMEDIR.

sal_uInt16 SwHTMLWriter::GetHTMLFontSize ( sal_uInt32  nFontHeight) const

Definition at line 1434 of file wrthtml.cxx.

References i, and m_aFontHeights.

Referenced by OutHTML_SvxFontHeight().

sal_uInt32 SwHTMLWriter::GetHTMLMode ( ) const
inline

Definition at line 563 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode().

OString SwHTMLWriter::GetIndentString ( sal_uInt16  nIncLvl = 0)

Definition at line 1401 of file wrthtml.cxx.

References m_nIndentLvl, MAX_INDENT_LEVEL, and sIndentTabs.

Referenced by MakeHeader().

sal_uInt16 SwHTMLWriter::GetLangWhichIdFromScript ( sal_uInt16  nScript)
static
sal_Int32 SwHTMLWriter::GetLineLen ( )
inline

Definition at line 504 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode().

const SdrObject * SwHTMLWriter::GetMarqueeTextObj ( const SwDrawFrameFormat rFormat)
static

Definition at line 69 of file htmldrawwriter.cxx.

References SwFrameFormat::FindSdrObject(), and IsMarqueeTextObj().

Referenced by GuessFrameType(), and HTMLEndPosLst::Insert().

OString SwHTMLWriter::GetNamespace ( ) const
SwHTMLNumRuleInfo* SwHTMLWriter::GetNextNumInfo ( )
inline

Definition at line 529 of file wrthtml.hxx.

Referenced by OutHTML_SwFormatOff(), and OutHTML_SwTableNode().

const sal_Char * SwHTMLWriter::GetNumFormat ( sal_uInt16  nFormat)
static
SwHTMLNumRuleInfo& SwHTMLWriter::GetNumInfo ( )
inline
const SwFormat * SwHTMLWriter::GetParentFormat ( const SwFormat rFormat,
sal_uInt16  nDeep 
)
static
const SwFormat * SwHTMLWriter::GetTemplateFormat ( sal_uInt16  nPoolId,
IDocumentStylePoolAccess pTemplate 
)
static
sal_uInt16 SwHTMLWriter::GuessFrameType ( const SwFrameFormat rFrameFormat,
const SdrObject *&  rpStrObj 
)
sal_uInt16 SwHTMLWriter::GuessOLENodeFrameType ( const SwNode rNd)
static
bool SwHTMLWriter::HasControls ( ) const
bool SwHTMLWriter::HasScriptDependentItems ( const SfxItemSet rItemSet,
bool  bCheckDropCap 
)
static
void SwHTMLWriter::IncIndentLevel ( )
inline
sal_Int32 SwHTMLWriter::indexOfDotLeaders ( sal_uInt16  nPoolId,
const OUString &  rText 
)
bool SwHTMLWriter::IsCSS1Script ( sal_uInt16  n) const
inline
bool SwHTMLWriter::IsCSS1Source ( sal_uInt16  n) const
inline
bool SwHTMLWriter::IsHTMLMode ( sal_uInt32  nMode) const
inline
const SwPageDesc * SwHTMLWriter::MakeHeader ( sal_uInt16 &  rHeaderAtrs)
private

Definition at line 967 of file wrthtml.cxx.

References Count, DecIndentLevel(), SwContentNode::GetAttr(), SwFormat::GetAttrSet(), Writer::GetBaseURL(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetContentNode(), SwDoc::GetDocShell(), SwTable::GetFrameFormat(), GetHTMLDirection(), SwDoc::getIDocumentStylePoolAccess(), GetIndentString(), SwPageDesc::GetMaster(), GetNamespace(), SwDoc::GetNodes(), SwFormatPageDesc::GetPageDesc(), SwFormat::GetPageDesc(), SwDoc::GetPageDesc(), getSvxBrushItemFromSourceSet(), SwTableNode::GetTable(), SwNode::GetTableNode(), IDocumentStylePoolAccess::GetTextCollFromPool(), IncIndentLevel(), SwNode::IsContentNode(), SwNode::IsTableNode(), m_aNonConvertableCharacters, m_bCfgOutStyles, m_eDestEnc, m_eLang, m_nDirection, Writer::m_pCurrentPam, Writer::m_pDoc, mbReqIF, mbSkipHeaderFooter, mbXHTML, OOO_STRING_SVTOOLS_HTML_body, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_doctype, OOO_STRING_SVTOOLS_HTML_doctype40, OOO_STRING_SVTOOLS_HTML_head, OOO_STRING_SVTOOLS_HTML_html, OOO_STRING_SVTOOLS_HTML_O_link, OOO_STRING_SVTOOLS_HTML_O_text, OOO_STRING_SVTOOLS_HTML_O_vlink, OOO_STRING_SVTOOLS_XHTML_doctype11, HTMLOutFuncs::Out_AsciiTag(), SfxFrameHTMLWriter::Out_DocInfo(), OutBackground(), OutBasic(), OutBasicBodyEvents(), OutBodyColor(), OutCSS1_BodyTagStyleOpt(), OutDirection(), OutFootEndNoteInfo(), OutHeaderAttrs(), OutLanguage(), OutNewLine(), OutStyleSheet(), RES_BACKGROUND, RES_PAGEDESC, RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_STANDARD, Writer::Strm(), SvStream::WriteChar(), and SvStream::WriteOString().

Referenced by WriteStream().

void SwHTMLWriter::Out_SwDoc ( SwPaM pPam)
void SwHTMLWriter::OutAnchor ( const OUString &  rName)
void SwHTMLWriter::OutAndSetDefList ( sal_uInt16  nNewLvl)
void SwHTMLWriter::OutBackground ( const SvxBrushItem pBrushItem,
bool  bGraphic 
)
void SwHTMLWriter::OutBackground ( const SfxItemSet rItemSet,
bool  bGraphic 
)

Definition at line 1301 of file wrthtml.cxx.

References SfxItemSet::GetItemState(), OutBackground(), and RES_BACKGROUND.

void SwHTMLWriter::OutBasic ( )
void SwHTMLWriter::OutBasicBodyEvents ( )
void SwHTMLWriter::OutBookmarks ( )
void SwHTMLWriter::OutCSS1_FrameFormatBackground ( const SwFrameFormat rFrameFormat)
void SwHTMLWriter::OutCSS1_FrameFormatOptions ( const SwFrameFormat rFrameFormat,
HtmlFrmOpts  nFrameOpts,
const SdrObject pSdrObj = nullptr,
const SfxItemSet pItemSet = nullptr 
)
void SwHTMLWriter::OutCSS1_PixelProperty ( const sal_Char pProp,
long  nVal,
bool  bVert 
)

Definition at line 491 of file css1atr.cxx.

References sCSS1_UNIT_px.

Referenced by OutCSS1_SwFormatFrameSize().

void SwHTMLWriter::OutCSS1_Property ( const sal_Char pProp,
const OUString &  rVal 
)
inline

Definition at line 612 of file wrthtml.hxx.

Referenced by OutCSS1_SvxBrush(), OutCSS1_SvxFont(), and OutCSS1_SvxLanguage().

void SwHTMLWriter::OutCSS1_Property ( const sal_Char pProp,
const sal_Char pVal,
const OUString *  pSVal 
)
void SwHTMLWriter::OutCSS1_PropertyAscii ( const sal_Char pProp,
const sal_Char pVal 
)
inline
void SwHTMLWriter::OutCSS1_PropertyAscii ( const sal_Char pProp,
const OString &  rVal 
)
inline

Definition at line 606 of file wrthtml.hxx.

void SwHTMLWriter::OutCSS1_SectionFormatOptions ( const SwFrameFormat rFrameFormat,
const SwFormatCol pCol 
)
void SwHTMLWriter::OutCSS1_SfxItemSet ( const SfxItemSet rItemSet,
bool  bDeep = true 
)
void SwHTMLWriter::OutCSS1_TableCellBorderHack ( const SwFrameFormat rFrameFormat)
void SwHTMLWriter::OutCSS1_TableFrameFormatOptions ( const SwFrameFormat rFrameFormat)
void SwHTMLWriter::OutCSS1_UnitProperty ( const sal_Char pProp,
long  nVal 
)
void SwHTMLWriter::OutDirection ( SvxFrameDirection  nDir)
bool SwHTMLWriter::OutFlyFrame ( sal_uLong  nNdIdx,
sal_Int32  nContentIdx,
HtmlPosition  nPos,
HTMLOutContext pContext = nullptr 
)
void SwHTMLWriter::OutFootEndNoteInfo ( )
void SwHTMLWriter::OutFootEndNotes ( )
void SwHTMLWriter::OutFootEndNoteSym ( const SwFormatFootnote rFormatFootnote,
const OUString &  rNum,
sal_uInt16  nScript 
)
void SwHTMLWriter::OutForm ( bool  bTagOn = true,
const SwStartNode pStNd = nullptr 
)
void SwHTMLWriter::OutForm ( bool  bOn,
const css::uno::Reference< css::container::XIndexContainer > &  rFormComps 
)
void SwHTMLWriter::OutFrameFormat ( AllHtmlFlags  nType,
const SwFrameFormat rFormat,
const SdrObject pSdrObj 
)
OString SwHTMLWriter::OutFrameFormatOptions ( const SwFrameFormat rFrameFormat,
const OUString &  rAltText,
HtmlFrmOpts  nFrameOpts 
)

Definition at line 522 of file htmlflywriter.cxx.

References AbsSize, Size::AdjustHeight(), Size::AdjustWidth(), Align, Alt, AnySize, ATT_FIX_SIZE, BOTTOM, BrClear, SvxBoxItem::CalcLineSpace(), Dir, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), Application::GetDefaultDevice(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemState(), SwFormat::GetName(), SwFormatHoriOrient::GetRelationOrient(), SwFormatSurround::GetSurround(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), Height, Id, SwFormatSurround::IsAnchorOnly(), OutputDevice::LogicToPixel(), MarginSize, Name, sw::sidebar::NONE, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_linebreak, OOO_STRING_SVTOOLS_HTML_O_align, OOO_STRING_SVTOOLS_HTML_O_alt, OOO_STRING_SVTOOLS_HTML_O_clear, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_hspace, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_vspace, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_VA_absbottom, OOO_STRING_SVTOOLS_HTML_VA_absmiddle, OOO_STRING_SVTOOLS_HTML_VA_bottom, OOO_STRING_SVTOOLS_HTML_VA_middle, OOO_STRING_SVTOOLS_HTML_VA_texttop, OOO_STRING_SVTOOLS_HTML_VA_top, HTMLOutFuncs::Out_String(), RES_BOX, RES_FRM_SIZE, RES_LR_SPACE, RES_SURROUND, RES_UL_SPACE, RES_VERT_ORIENT, RIGHT, SAlign, Size::setHeight(), Size::setWidth(), Size, Space, TOP, Size::Width(), and Width.

Referenced by OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), and OutHTML_FrameFormatOLENode().

sal_uInt16 SwHTMLWriter::OutHeaderAttrs ( )
private
void SwHTMLWriter::OutHiddenControls ( const css::uno::Reference< css::container::XIndexContainer > &  rFormComps,
const css::uno::Reference< css::beans::XPropertySet > &  rPropSet 
)
void SwHTMLWriter::OutHiddenForm ( const css::uno::Reference< css::form::XForm > &  rForm)
void SwHTMLWriter::OutHiddenForms ( )
void SwHTMLWriter::OutHyperlinkHRefValue ( const OUString &  rURL)
void SwHTMLWriter::OutImplicitMark ( const OUString &  rMark,
const sal_Char pMarkType 
)
void SwHTMLWriter::OutLanguage ( LanguageType  eLang)
void SwHTMLWriter::OutNewLine ( bool  bCheck = false)
void SwHTMLWriter::OutPointFieldmarks ( const SwPosition rPos)
void SwHTMLWriter::OutStyleSheet ( const SwPageDesc rPageDesc)
void SwHTMLWriter::PrepareFontList ( const SvxFontItem rFontItem,
OUString &  rNames,
sal_Unicode  cQuote,
bool  bGeneric 
)
static
std::unique_ptr< SwHTMLNumRuleInfo > SwHTMLWriter::ReleaseNextNumInfo ( )

Definition at line 173 of file wrthtml.cxx.

References m_pNextNumRuleInfo.

Referenced by HTMLSaveData::HTMLSaveData().

void SwHTMLWriter::SetEndPaM ( SwPaM pPam)
inline

Definition at line 512 of file wrthtml.hxx.

Referenced by HTMLSaveData::HTMLSaveData(), and HTMLSaveData::~HTMLSaveData().

void SwHTMLWriter::SetNextNumInfo ( std::unique_ptr< SwHTMLNumRuleInfo pNxt)

Definition at line 92 of file htmlnumwriter.cxx.

Referenced by HTMLSaveData::~HTMLSaveData().

void SwHTMLWriter::SetupFilterOptions ( const OUString &  rFilterOptions)
private
void SwHTMLWriter::SetupFilterOptions ( SfxMedium rMedium)
overrideprotectedvirtual

Reimplemented from Writer.

Definition at line 178 of file wrthtml.cxx.

References SfxMedium::GetItemSet(), SfxItemSet::GetItemState(), GetValue, and SetupFilterOptions().

void SwHTMLWriter::SubtractItemSet ( SfxItemSet rItemSet,
const SfxItemSet rRefItemSet,
bool  bSetDefaults,
bool  bClearSame = true,
const SfxItemSet pRefScriptItemSet = nullptr 
)
static
sal_uInt32 SwHTMLWriter::ToPixel ( sal_uInt32  nVal,
const bool  bVert 
)
static
void SwHTMLWriter::writeFrameFormatOptions ( HtmlWriter aHtml,
const SwFrameFormat rFrameFormat,
const OUString &  rAltText,
HtmlFrmOpts  nFrameOpts 
)

Definition at line 806 of file htmlflywriter.cxx.

References AbsSize, Size::AdjustHeight(), Size::AdjustWidth(), Align, Alt, AnySize, ATT_FIX_SIZE, HtmlWriter::attribute(), BOTTOM, BrClear, SvxBoxItem::CalcLineSpace(), Dir, HtmlWriter::end(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), Application::GetDefaultDevice(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemState(), SwFormat::GetName(), SwFormatHoriOrient::GetRelationOrient(), SwFormatSurround::GetSurround(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), Height, Id, SwFormatSurround::IsAnchorOnly(), OutputDevice::LogicToPixel(), MarginSize, Name, sw::sidebar::NONE, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_linebreak, OOO_STRING_SVTOOLS_HTML_O_align, OOO_STRING_SVTOOLS_HTML_O_alt, OOO_STRING_SVTOOLS_HTML_O_clear, OOO_STRING_SVTOOLS_HTML_O_dir, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_hspace, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_vspace, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_VA_absbottom, OOO_STRING_SVTOOLS_HTML_VA_absmiddle, OOO_STRING_SVTOOLS_HTML_VA_bottom, OOO_STRING_SVTOOLS_HTML_VA_middle, OOO_STRING_SVTOOLS_HTML_VA_texttop, OOO_STRING_SVTOOLS_HTML_VA_top, Replacement, RES_BOX, RES_FRM_SIZE, RES_LR_SPACE, RES_SURROUND, RES_UL_SPACE, RES_VERT_ORIENT, RIGHT, SAlign, Size::setHeight(), Size::setWidth(), Size, Space, HtmlWriter::start(), TOP, Size::Width(), and Width.

Referenced by OutHTML_Image().

ErrCode SwHTMLWriter::WriteStream ( )
overrideprotectedvirtual

Implements Writer.

Definition at line 229 of file wrthtml.cxx.

References aName, BROWSE_MODE, o3tl::sorted_vector< Value, Compare, Find, class >::clear(), SwHTMLNumRuleInfo::Clear(), ClearNextNumInfo(), CollectFlyFrames(), CollectLinkTargets(), HTMLOutFuncs::ConvertStringToHTML(), SwNodes::Count(), CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_WESTERN, SwNode::EndOfSectionNode(), EndProgress(), ERRCODE_NONE, FILE_LINK_SECTION, SvxHtmlOptions::Get(), IDocumentSettingAccess::get(), GetAppLanguage(), SwFormat::GetAttrSet(), GetControls(), SwDoc::GetDefault(), SwDoc::GetDocShell(), GetHtmlMode(), SwDoc::getIDocumentSettingAccess(), Writer::getIDocumentStylePoolAccess(), SfxItemSet::GetItemState(), SwLangHelper::GetLanguage(), GetLangWhichIdFromScript(), SwFormat::GetLRSpace(), SwPageDesc::GetMaster(), GetNamespace(), SwDoc::GetNodes(), GetNumInfo(), SvtLanguageOptions::GetScriptTypeOfLanguage(), IDocumentStylePoolAccess::GetTextCollFromPool(), SvxLRSpaceItem::GetTextLeft(), HTML_CFG_MSIE, HTML_CFG_NS40, HTML_CFG_WRITER, HTML_MODE, HTMLMODE_ABS_POS_DRAW, HTMLMODE_ABS_POS_FLY, HTMLMODE_BLOCK_SPACER, HTMLMODE_BORDER_NONE, HTMLMODE_FLOAT_FRAME, HTMLMODE_FLY_MARGINS, HTMLMODE_FONT_GENERIC, HTMLMODE_FULL_STYLES, HTMLMODE_LSPACE_IN_NUMBUL, HTMLMODE_NBSP_IN_TABLES, HTMLMODE_NO_CONTROL_CENTERING, HTMLMODE_PRINT_EXT, HTMLMODE_SOME_STYLES, IsHTMLMode(), m_aBulletGrfs, m_aFontHeights, m_aHTMLControls, m_aImgMapNames, m_aImplicitMarks, m_aNonConvertableCharacters, m_aNumRuleNames, m_aOutlineMarkPoss, m_aOutlineMarks, m_aScriptParaStyles, m_aScriptTextStyles, m_bCfgCpyLinkedGrfs, m_bCfgFormFeed, m_bCfgNetscape4, m_bCfgOutStyles, m_bCfgPreferStyles, m_bCfgPrintLayout, m_bCfgStarBasic, m_bClearLeft, m_bClearRight, m_bCSS1IgnoreFirstPageDesc, m_bFirstCSS1Property, m_bFirstCSS1Rule, m_bLFPossible, m_bOutFlyFrame, m_bOutFooter, m_bOutHeader, m_bOutTable, m_bPreserveForm, Writer::m_bShowProgress, Writer::m_bWriteAll, Writer::m_bWriteClipboardDoc, Writer::m_bWriteOnlyFirstTable, m_CharFormatInfos, m_eCSS1Unit, m_eDestEnc, m_eLang, m_nCSS1OutMode, m_nCSS1Script, m_nDefListLvl, m_nDefListMargin, m_nDfltBottomMargin, m_nDfltFirstLineIndent, m_nDfltLeftMargin, m_nDfltRightMargin, m_nDfltTopMargin, m_nEndNote, m_nExportMode, m_nFirstLineIndent, m_nFootNote, m_nFormCntrlCnt, m_nHeaderFooterSpace, m_nHTMLMode, m_nIndentLvl, m_nLastLFPos, m_nLastParaToken, m_nLeftMargin, m_nTextAttrsToIgnore, m_nWarn, m_nWhishLineLen, Writer::m_pCurrentPam, m_pCurrPageDesc, Writer::m_pDoc, m_pFootEndNotes, m_pFormatFootnote, m_pHTMLPosFlyFrames, m_pNextNumRuleInfo, Writer::m_pOrigPam, m_pStartNdIdx, m_TextCollInfos, m_xDfltColor, m_xTemplate, MakeHeader(), mbReqIF, mbSkipHeaderFooter, mxFormComps, OOO_STRING_SVTOOLS_HTML_body, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_html, OOO_STRING_SVTOOLS_HTML_O_id, HTMLOutFuncs::Out_AsciiTag(), Out_SwDoc(), OutFootEndNotes(), OutForm(), OutHiddenForms(), OutHTML_HeaderFooter(), OutNewLine(), ReadHTML, RES_FOOTER, RES_HEADER, RES_POOLCOLL_HTML_DD, Writer::SetStream(), StartProgress(), Writer::Strm(), SW_MOD, and SvStream::WriteOString().

Member Data Documentation

OUString SwHTMLWriter::m_aBulletGrfs[MAXLEVEL]

Definition at line 294 of file wrthtml.hxx.

Referenced by OutHTML_NumBulListStart(), and WriteStream().

OUString SwHTMLWriter::m_aCSS1Selector

Definition at line 292 of file wrthtml.hxx.

Referenced by SwCSS1OutMode::SwCSS1OutMode().

sal_uInt32 SwHTMLWriter::m_aFontHeights[7]

Definition at line 304 of file wrthtml.hxx.

Referenced by GetHTMLFontSize(), and WriteStream().

HTMLControls SwHTMLWriter::m_aHTMLControls

Definition at line 286 of file wrthtml.hxx.

Referenced by GetControls(), HasControls(), OutForm(), and WriteStream().

std::vector<OUString> SwHTMLWriter::m_aImgMapNames

Definition at line 279 of file wrthtml.hxx.

Referenced by WriteStream().

std::set<OUString> SwHTMLWriter::m_aImplicitMarks

Definition at line 280 of file wrthtml.hxx.

Referenced by OutImplicitMark(), and WriteStream().

std::vector<SwFormatINetFormat*> SwHTMLWriter::m_aINetFormats

Definition at line 289 of file wrthtml.hxx.

Referenced by OutHTML_Image(), and OutHTML_SwFormatINetFormat().

OUString SwHTMLWriter::m_aNonConvertableCharacters
std::set<OUString> SwHTMLWriter::m_aNumRuleNames

Definition at line 281 of file wrthtml.hxx.

Referenced by OutHTML_NumBulListStart(), and WriteStream().

std::vector<sal_uInt32> SwHTMLWriter::m_aOutlineMarkPoss

Definition at line 285 of file wrthtml.hxx.

Referenced by OutBookmarks(), and WriteStream().

std::vector<OUString> SwHTMLWriter::m_aOutlineMarks

Definition at line 284 of file wrthtml.hxx.

Referenced by OutBookmarks(), and WriteStream().

std::set<OUString> SwHTMLWriter::m_aScriptParaStyles

Definition at line 282 of file wrthtml.hxx.

Referenced by OutCSS1_SwFormat(), and WriteStream().

std::set<OUString> SwHTMLWriter::m_aScriptTextStyles
bool SwHTMLWriter::m_bCfgCpyLinkedGrfs
bool SwHTMLWriter::m_bCfgFormFeed

Definition at line 341 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and WriteStream().

bool SwHTMLWriter::m_bCfgNetscape4

Definition at line 385 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLineSpacing(), and WriteStream().

bool SwHTMLWriter::m_bCfgOutStyles
bool SwHTMLWriter::m_bCfgPreferStyles

Definition at line 340 of file wrthtml.hxx.

Referenced by OutCSS1_SvxColor(), OutHTML_SvxColor(), and WriteStream().

bool SwHTMLWriter::m_bCfgPrintLayout

Definition at line 401 of file wrthtml.hxx.

Referenced by indexOfDotLeaders(), and WriteStream().

bool SwHTMLWriter::m_bCfgStarBasic
bool SwHTMLWriter::m_bClearLeft

Definition at line 377 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and WriteStream().

bool SwHTMLWriter::m_bClearRight

Definition at line 378 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and WriteStream().

bool SwHTMLWriter::m_bCSS1IgnoreFirstPageDesc

Definition at line 372 of file wrthtml.hxx.

Referenced by OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), and WriteStream().

bool SwHTMLWriter::m_bFirstCSS1Property
bool SwHTMLWriter::m_bFirstCSS1Rule

Definition at line 368 of file wrthtml.hxx.

Referenced by WriteStream().

bool SwHTMLWriter::m_bFirstLine

Definition at line 347 of file wrthtml.hxx.

Referenced by Out_SwDoc().

bool SwHTMLWriter::m_bLFPossible
bool SwHTMLWriter::m_bNoAlign

Definition at line 376 of file wrthtml.hxx.

Referenced by OutCSS1_SvxAdjust().

bool SwHTMLWriter::m_bOutFlyFrame
bool SwHTMLWriter::m_bOutFooter
bool SwHTMLWriter::m_bOutHeader
bool SwHTMLWriter::m_bOutOpts
bool SwHTMLWriter::m_bOutTable
bool SwHTMLWriter::m_bParaDotLeaders

Definition at line 402 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLineSpacing(), and OutCSS1_SvxLRSpace().

bool SwHTMLWriter::m_bPreserveForm

Definition at line 383 of file wrthtml.hxx.

Referenced by OutForm(), OutHTML_SwTableNode(), and WriteStream().

bool SwHTMLWriter::m_bTagOn
bool SwHTMLWriter::m_bTextAttr
SwHTMLFormatInfos SwHTMLWriter::m_CharFormatInfos
FieldUnit SwHTMLWriter::m_eCSS1Unit
private

Definition at line 263 of file wrthtml.hxx.

Referenced by WriteStream().

rtl_TextEncoding SwHTMLWriter::m_eDestEnc
LanguageType SwHTMLWriter::m_eLang

Definition at line 335 of file wrthtml.hxx.

Referenced by MakeHeader(), and WriteStream().

sal_Int32 SwHTMLWriter::m_nBkmkTabPos

Definition at line 310 of file wrthtml.hxx.

Referenced by Out_SwDoc(), OutBookmarks(), and HTMLSaveData::~HTMLSaveData().

sal_uInt16 SwHTMLWriter::m_nCSS1OutMode
sal_uInt16 SwHTMLWriter::m_nCSS1Script
sal_uInt16 SwHTMLWriter::m_nDefListLvl
sal_Int32 SwHTMLWriter::m_nDefListMargin

Definition at line 325 of file wrthtml.hxx.

Referenced by OutHTML_SwTableNode(), and WriteStream().

sal_uInt16 SwHTMLWriter::m_nDfltBottomMargin
short SwHTMLWriter::m_nDfltFirstLineIndent

Definition at line 319 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLRSpace(), and WriteStream().

sal_Int32 SwHTMLWriter::m_nDfltLeftMargin

Definition at line 316 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLRSpace(), OutCSS1_SvxULSpace_SvxLRSpace(), and WriteStream().

sal_Int32 SwHTMLWriter::m_nDfltRightMargin

Definition at line 317 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLRSpace(), OutCSS1_SvxULSpace_SvxLRSpace(), and WriteStream().

sal_uInt16 SwHTMLWriter::m_nDfltTopMargin
SvxFrameDirection SwHTMLWriter::m_nDirection
sal_uInt16 SwHTMLWriter::m_nEndNote
sal_uInt16 SwHTMLWriter::m_nExportMode

Definition at line 328 of file wrthtml.hxx.

Referenced by OutHTML_SwFlyCnt(), and WriteStream().

short SwHTMLWriter::m_nFirstLineIndent

Definition at line 318 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLRSpace(), and WriteStream().

sal_uInt16 SwHTMLWriter::m_nFootNote
sal_uInt16 SwHTMLWriter::m_nFormCntrlCnt
sal_uInt16 SwHTMLWriter::m_nHeaderFooterSpace

Definition at line 326 of file wrthtml.hxx.

Referenced by OutHTML_HeaderFooter(), and WriteStream().

sal_uInt32 SwHTMLWriter::m_nHTMLMode
private

Definition at line 261 of file wrthtml.hxx.

Referenced by WriteStream().

sal_uInt16 SwHTMLWriter::m_nImgMapCnt

Definition at line 311 of file wrthtml.hxx.

sal_uInt16 SwHTMLWriter::m_nIndentLvl

Definition at line 322 of file wrthtml.hxx.

Referenced by GetIndentString(), OutNewLine(), and WriteStream().

sal_uInt32 SwHTMLWriter::m_nLastLFPos

Definition at line 307 of file wrthtml.hxx.

Referenced by OutNewLine(), and WriteStream().

HtmlTokenId SwHTMLWriter::m_nLastParaToken
sal_Int32 SwHTMLWriter::m_nLeftMargin

Definition at line 315 of file wrthtml.hxx.

Referenced by OutCSS1_SvxLRSpace(), and WriteStream().

sal_uInt16 SwHTMLWriter::m_nTextAttrsToIgnore

Definition at line 327 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and WriteStream().

ErrCode SwHTMLWriter::m_nWarn
sal_Int32 SwHTMLWriter::m_nWhishLineLen

Definition at line 323 of file wrthtml.hxx.

Referenced by OutHTML_SwTextNode(), and WriteStream().

const SwPageDesc* SwHTMLWriter::m_pCurrPageDesc

Definition at line 301 of file wrthtml.hxx.

Referenced by WriteStream().

std::unique_ptr<std::vector<SwTextFootnote*> > SwHTMLWriter::m_pFootEndNotes

Definition at line 290 of file wrthtml.hxx.

Referenced by OutFootEndNotes(), OutHTML_SwFormatFootnote(), and WriteStream().

const SwFormatFootnote* SwHTMLWriter::m_pFormatFootnote

Definition at line 302 of file wrthtml.hxx.

Referenced by OutFootEndNotes(), OutHTML_SwTextNode(), and WriteStream().

std::unique_ptr<SwHTMLPosFlyFrames> SwHTMLWriter::m_pHTMLPosFlyFrames
private

Definition at line 258 of file wrthtml.hxx.

Referenced by GetControls(), and WriteStream().

std::unique_ptr<SwHTMLNumRuleInfo> SwHTMLWriter::m_pNextNumRuleInfo
private

Definition at line 260 of file wrthtml.hxx.

Referenced by ReleaseNextNumInfo(), and WriteStream().

std::unique_ptr<SwHTMLNumRuleInfo> SwHTMLWriter::m_pNumRuleInfo
private

Definition at line 259 of file wrthtml.hxx.

SwNodeIndex* SwHTMLWriter::m_pStartNdIdx
SwHTMLFormatInfos SwHTMLWriter::m_TextCollInfos

Definition at line 288 of file wrthtml.hxx.

Referenced by WriteStream().

boost::optional<Color> SwHTMLWriter::m_xDfltColor

Definition at line 299 of file wrthtml.hxx.

Referenced by OutBodyColor(), OutHTML_SwTextNode(), and WriteStream().

rtl::Reference<SwDoc> SwHTMLWriter::m_xTemplate

Definition at line 298 of file wrthtml.hxx.

Referenced by OutBodyColor(), OutCSS1_SwFootnoteInfo(), OutHTML_SwTextNode(), and WriteStream().

OString SwHTMLWriter::maNamespace

XML namespace, in case of XHTML.

Definition at line 396 of file wrthtml.hxx.

Referenced by GetNamespace(), OutHTML_Image(), OutHTML_SwTextNode(), SetupFilterOptions(), and SwHTMLWrtTable::Write().

std::map<sal_uInt16, int> SwHTMLWriter::maStartedAttributes

Tracks which text portion attributes are currently open: a which id -> open count map.

Definition at line 406 of file wrthtml.hxx.

Referenced by HTMLEndPosLst::OutEndAttrs(), OutHTML_SwFormatField(), and HTMLEndPosLst::OutStartAttrs().

bool SwHTMLWriter::mbEmbedImages
bool SwHTMLWriter::mbReqIF = false
bool SwHTMLWriter::mbSkipHeaderFooter

If HTML header and footer should be written as well, or just the content itself.

Definition at line 389 of file wrthtml.hxx.

Referenced by MakeHeader(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), SetupFilterOptions(), and WriteStream().

bool SwHTMLWriter::mbSkipImages
bool SwHTMLWriter::mbXHTML = false

If XHTML markup should be written instead of HTML.

Definition at line 394 of file wrthtml.hxx.

Referenced by MakeHeader(), OutAnchor(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_SvxColor(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutLanguage(), and SetupFilterOptions().

std::unique_ptr<utl::TempFile> SwHTMLWriter::mpTempBaseURL

Temporary base URL for paste of images.

Definition at line 392 of file wrthtml.hxx.

Referenced by OutHTML_Image(), and SwHTMLWriter().

css::uno::Reference<css::container::XIndexContainer> SwHTMLWriter::mxFormComps

The documentation for this class was generated from the following files: