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

#include <swhtml.hxx>

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

Classes

class  TableDepthGuard
 

Public Member Functions

const SwStartNodeInsertTableSection (const SwStartNode *pPrevStNd)
 
const SwStartNodeInsertTableSection (sal_uInt16 nPoolId)
 
std::unique_ptr< HTMLTableCntsInsertTableContents (bool bHead)
 
SvxBrushItemCreateBrushItem (const Color *pColor, const OUString &rImageURL, const OUString &rStyle, const OUString &rId, const OUString &rClass)
 
 SwHTMLParser (SwDoc *pD, SwPaM &rCursor, SvStream &rIn, OUString aFileName, OUString aBaseURL, bool bReadNewDoc, SfxMedium *pMed, bool bReadUTF8, bool bIgnoreHTMLComments, const OUString &rNamespace)
 
virtual SvParserState CallParser () override
 
virtual void Continue (HtmlTokenId nToken) override
 
virtual bool ParseMetaOptions (const css::uno::Reference< css::document::XDocumentProperties > &, SvKeyValueIterator *) override
 
void RegisterHTMLTable (HTMLTable *pNew)
 
void DeregisterHTMLTable (HTMLTable *pOld)
 
SwDocGetDoc () const
 
bool IsReqIF () const
 
bool IsReadingHeaderOrFooter () const
 
void NotifyMacroEventRead ()
 
- Public Member Functions inherited from SfxHTMLParser
bool ParseMapOptions (ImageMap *pImageMap)
 
bool ParseAreaOptions (ImageMap *pImageMap, std::u16string_view rBaseURL, SvMacroItemId nEventMouseOver, SvMacroItemId nEventMouseOut)
 
- Public Member Functions inherited from SvtListener
 SvtListener ()=default
 
 SvtListener (const SvtListener &r)=default
 
virtual ~SvtListener () COVERITY_NOEXCEPT_FALSE
 
bool StartListening (SvtBroadcaster &rBroadcaster)
 
void EndListening (SvtBroadcaster &rBroadcaster)
 
void EndListeningAll ()
 
void CopyAllBroadcasters (const SvtListener &r)
 
bool HasBroadcaster () const
 
virtual void Notify (const SfxHint &rHint)
 
virtual void Query (QueryBase &rQuery) const
 

Static Public Member Functions

static SvxNumType GetNumType (std::u16string_view rStr, SvxNumType eDfltType)
 
static void ResizeDrawObject (SdrObject *pObj, SwTwips nWidth)
 
static sal_uInt16 ToTwips (sal_uInt16 nPixel)
 
static OUString StripQueryFromPath (std::u16string_view rBase, const OUString &rPath)
 Strips query and fragment from a URL path if base URL is a file:// one. More...
 
- Static Public Member Functions inherited from SfxHTMLParser
static bool ParseMapOptions (ImageMap *pImageMap, const HTMLOptions &rOptions)
 
static bool ParseAreaOptions (ImageMap *pImageMap, std::u16string_view rBaseURL, const HTMLOptions &rOptions, SvMacroItemId nEventMouseOver, SvMacroItemId nEventMouseOut)
 
static double GetTableDataOptionsValNum (sal_uInt32 &nNumForm, LanguageType &eNumLang, const OUString &aValStr, std::u16string_view aNumStr, SvNumberFormatter &rFormatter)
 

Protected Member Functions

virtual void NextToken (HtmlTokenId nToken) override
 
virtual ~SwHTMLParser () override
 
virtual void Notify (const SfxHint &) override
 
virtual void AddMetaUserDefined (OUString const &i_rMetaName) override
 
- Protected Member Functions inherited from SfxHTMLParser
 SfxHTMLParser (SvStream &rStream, bool bNewDoc, SfxMedium *pMedium)
 
virtual ~SfxHTMLParser () override
 
void StartFileDownload (const OUString &rURL)
 
bool FinishFileDownload (OUString &rStr)
 
bool ShouldFinishFileDownload () const
 
SfxMediumGetMedium ()
 
const SfxMediumGetMedium () const
 
ScriptType GetScriptType (SvKeyValueIterator *) const
 
const OUString & GetScriptTypeString (SvKeyValueIterator *) const
 

Private Types

enum class  JumpToMarks {
  NONE ,
  Mark ,
  Table ,
  Region ,
  Graphic
}
 

Private Member Functions

void DeleteFormImpl ()
 
void DocumentDetected ()
 
void Show ()
 
void ShowStatline ()
 
SwViewShellCallStartAction (SwViewShell *pVSh=nullptr, bool bChkPtr=true)
 
SwViewShellCallEndAction (bool bChkAction=false, bool bChkPtr=true)
 
SwViewShellCheckActionViewShell ()
 
 DECL_LINK (AsyncCallback, void *, void)
 
void SetAttr_ (bool bChkEnd, bool bBeforeTable, std::deque< std::unique_ptr< HTMLAttr > > *pPostIts)
 
void SetAttr (bool bChkEnd=true, bool bBeforeTable=false, std::deque< std::unique_ptr< HTMLAttr > > *pPostIts=nullptr)
 
HTMLAttr ** GetAttrTabEntry (sal_uInt16 nWhich)
 
bool AppendTextNode (SwHTMLAppendMode eMode=AM_NORMAL, bool bUpdateNum=true)
 
void AddParSpace ()
 
void NewAttr (const std::shared_ptr< HTMLAttrTable > &rAttrTab, HTMLAttr **ppAttr, const SfxPoolItem &rItem)
 
bool EndAttr (HTMLAttr *pAttr, bool bChkEmpty=true)
 
void DeleteAttr (HTMLAttr *pAttr)
 
void EndContextAttrs (HTMLAttrContext *pContext)
 
void SaveAttrTab (std::shared_ptr< HTMLAttrTable > const &rNewAttrTab)
 
void SplitAttrTab (const SwPosition &rNewPos)
 
void SplitAttrTab (std::shared_ptr< HTMLAttrTable > const &rNewAttrTab, bool bMoveEndBack)
 
void RestoreAttrTab (std::shared_ptr< HTMLAttrTable > const &rNewAttrTab)
 
void InsertAttr (const SfxPoolItem &rItem, bool bInsAtStart)
 
void InsertAttrs (std::deque< std::unique_ptr< HTMLAttr > > rAttrs)
 
bool DoPositioning (SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, HTMLAttrContext *pContext)
 
bool CreateContainer (std::u16string_view rClass, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, HTMLAttrContext *pContext)
 
bool EndSection (bool bLFStripped=false)
 
void InsertAttrs (SfxItemSet &rItemSet, SvxCSS1PropertyInfo const &rPropInfo, HTMLAttrContext *pContext, bool bCharLvl=false)
 
void InsertAttr (HTMLAttr **ppAttr, const SfxPoolItem &rItem, HTMLAttrContext *pCntxt)
 
void SplitPREListingXMP (HTMLAttrContext *pCntxt)
 
void FixHeaderFooterDistance (bool bHeader, const SwPosition *pOldPos)
 
void EndContext (HTMLAttrContext *pContext)
 
void ClearContext (HTMLAttrContext *pContext)
 
const SwFormatCollGetCurrFormatColl () const
 
SwTwips GetCurrentBrowseWidth ()
 
SwHTMLNumRuleInfoGetNumInfo ()
 
void SetNodeNum (sal_uInt8 nLevel)
 
void SetTextCollAttrs (HTMLAttrContext *pContext=nullptr)
 
void InsertParaAttrs (const SfxItemSet &rItemSet)
 
void PushContext (std::unique_ptr< HTMLAttrContext > &rCntxt)
 
std::unique_ptr< HTMLAttrContextPopContext (HtmlTokenId nToken=HtmlTokenId::NONE)
 
void GetMarginsFromContext (sal_uInt16 &nLeft, sal_uInt16 &nRight, short &nIndent, bool bIgnoreCurrent=false) const
 
void GetMarginsFromContextWithNumberBullet (sal_uInt16 &nLeft, sal_uInt16 &nRight, short &nIndent) const
 
void GetULSpaceFromContext (sal_uInt16 &rUpper, sal_uInt16 &rLower) const
 
void MovePageDescAttrs (SwNode *pSrcNd, SwNodeOffset nDestIdx, bool bFormatBreak)
 
void NewPara ()
 
void EndPara (bool bReal=false)
 
void NewHeading (HtmlTokenId nToken)
 
void EndHeading ()
 
void NewTextFormatColl (HtmlTokenId nToken, sal_uInt16 nPoolId)
 
void EndTextFormatColl (HtmlTokenId nToken)
 
void NewDivision (HtmlTokenId nToken)
 
void EndDivision ()
 
void InsertFlyFrame (const SfxItemSet &rItemSet, HTMLAttrContext *pCntxt, const OUString &rId)
 
void SaveDocContext (HTMLAttrContext *pCntxt, HtmlContextFlags nFlags, const SwPosition *pNewPos)
 
void RestoreDocContext (HTMLAttrContext *pCntxt)
 
bool EndSections (bool bLFStripped)
 
void NewMultiCol (sal_uInt16 columnsFromCss=0)
 
void NewMarquee (HTMLTable *pCurTable=nullptr)
 
void EndMarquee ()
 
void InsertMarqueeText ()
 
void NewNumberBulletList (HtmlTokenId nToken)
 
void EndNumberBulletList (HtmlTokenId nToken=HtmlTokenId::NONE)
 
void NewNumberBulletListItem (HtmlTokenId nToken)
 
void EndNumberBulletListItem (HtmlTokenId nToken, bool bSetColl)
 
void NewDefList ()
 
void EndDefList ()
 
void NewDefListItem (HtmlTokenId nToken)
 
void EndDefListItem (HtmlTokenId nToken=HtmlTokenId::NONE)
 
void NewStdAttr (HtmlTokenId nToken)
 
void NewStdAttr (HtmlTokenId nToken, HTMLAttr **ppAttr, const SfxPoolItem &rItem, HTMLAttr **ppAttr2=nullptr, const SfxPoolItem *pItem2=nullptr, HTMLAttr **ppAttr3=nullptr, const SfxPoolItem *pItem3=nullptr)
 
void EndTag (HtmlTokenId nToken)
 
void NewBasefontAttr ()
 
void EndBasefontAttr ()
 
void NewFontAttr (HtmlTokenId nToken)
 
void EndFontAttr (HtmlTokenId nToken)
 
void NewCharFormat (HtmlTokenId nToken)
 
void DeleteSection (SwStartNode *pSttNd)
 
void NewField ()
 
void EndField ()
 
void InsertFieldText ()
 
void InsertSpacer ()
 
ImageMapFindImageMap (std::u16string_view rURL) const
 
void ConnectImageMaps ()
 
void SetAnchorAndAdjustment (sal_Int16 eVertOri, sal_Int16 eHoriOri, const SvxCSS1PropertyInfo &rPropInfo, SfxItemSet &rFrameSet)
 
void SetAnchorAndAdjustment (sal_Int16 eVertOri, sal_Int16 eHoriOri, SfxItemSet &rFrameSet, bool bDontAppend=false)
 
void SetAnchorAndAdjustment (const SvxCSS1PropertyInfo &rPropInfo, SfxItemSet &rFrameItemSet)
 
void RegisterFlyFrame (SwFrameFormat *pFlyFrame)
 
sal_uInt16 IncGrfsThatResizeTable ()
 
void GetDefaultScriptType (ScriptType &rType, OUString &rTypeStr) const
 
void InsertImage ()
 
bool InsertEmbed ()
 
void EndObject ()
 
void EndApplet ()
 
void InsertParam ()
 
void InsertFloatingFrame ()
 
void InsertBodyOptions ()
 
void NewAnchor ()
 
void EndAnchor ()
 
void InsertBookmark (const OUString &rName)
 
void InsertCommentText (std::string_view pTag)
 
void InsertComment (const OUString &rName, std::string_view pTag={})
 
bool HasCurrentParaBookmarks (bool bIgnoreStack=false) const
 
void NewScript ()
 
void EndScript ()
 
void AddScriptSource ()
 
void InsertBasicDocEvent (const OUString &aEventName, const OUString &rName, ScriptType eScrType, const OUString &rScrType)
 
void NewStyle ()
 
void EndStyle ()
 
bool ParseStyleOptions (const OUString &rStyle, const OUString &rId, const OUString &rClass, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, const OUString *pLang=nullptr, const OUString *pDir=nullptr)
 
void InsertDrawObject (SdrObject *pNewDrawObj, const Size &rSpace, sal_Int16 eVertOri, sal_Int16 eHoriOri, SfxItemSet &rCSS1ItemSet, SvxCSS1PropertyInfo &rCSS1PropInfo)
 
css::uno::Reference< css::drawing::XShape > InsertControl (const css::uno::Reference< css::form::XFormComponent > &rFormComp, const css::uno::Reference< css::beans::XPropertySet > &rFCompPropSet, const Size &rSize, sal_Int16 eVertOri, sal_Int16 eHoriOri, SfxItemSet &rCSS1ItemSet, SvxCSS1PropertyInfo &rCSS1PropInfo, const SvxMacroTableDtor &rMacroTable, const std::vector< OUString > &rUnoMacroTable, const std::vector< OUString > &rUnoMacroParamTable, bool bSetPropSet=true, bool bHidden=false)
 
void SetControlSize (const css::uno::Reference< css::drawing::XShape > &rShape, const Size &rTextSz, bool bMinWidth, bool bMinHeight)
 
void NewForm (bool bAppend=true)
 
void EndForm (bool bAppend=true)
 
void InsertInput ()
 
void NewTextArea ()
 
void InsertTextAreaText (HtmlTokenId nToken)
 
void EndTextArea ()
 
void NewSelect ()
 
void InsertSelectOption ()
 
void InsertSelectText ()
 
void EndSelect ()
 
SwStartNodeInsertTempTableCaptionSection ()
 
void BuildTableCell (HTMLTable *pTable, bool bReadOptions, bool bHead)
 
void BuildTableRow (HTMLTable *pTable, bool bReadOptions, SvxAdjust eGrpAdjust, sal_Int16 eVertOri)
 
void BuildTableSection (HTMLTable *pTable, bool bReadOptions, bool bHead)
 
void BuildTableColGroup (HTMLTable *pTable, bool bReadOptions)
 
void BuildTableCaption (HTMLTable *pTable)
 
std::shared_ptr< HTMLTableBuildTable (SvxAdjust eCellAdjust, bool bIsParentHead=false, bool bHasParentSection=true, bool bHasToFlow=false)
 
void ParseMoreMetaOptions ()
 
bool FileDownload (const OUString &rURL, OUString &rStr)
 
void InsertLink ()
 
void InsertIDOption ()
 
void InsertLineBreak ()
 
void InsertHorzRule ()
 
void FillEndNoteInfo (std::u16string_view aContent)
 
void FillFootNoteInfo (std::u16string_view aContent)
 
void InsertFootEndNote (const OUString &rName, bool bEndNote, bool bFixed)
 
void FinishFootEndNote ()
 
void InsertFootEndNoteText ()
 
SwNodeIndexGetFootEndNoteSection (const OUString &rName)
 
sal_Int32 StripTrailingLF ()
 
void StripTrailingPara ()
 
bool CanRemoveNode (SwNodeOffset nNodeIdx) const
 
bool HasCurrentParaFlys (bool bNoSurroundOnly=false, bool bSurroundOnly=false) const
 

Static Private Member Functions

static void SetFrameFormatAttrs (SfxItemSet &rItemSet, HtmlFrameFormatFlags nFlags, SfxItemSet &rFrameItemSet)
 
static void SetFixSize (const Size &rPixSize, const Size &rTwipDfltSize, bool bPercentWidth, bool bPercentHeight, SvxCSS1PropertyInfo const &rPropInfo, SfxItemSet &rFlyItemSet)
 
static void SetVarSize (SvxCSS1PropertyInfo const &rPropInfo, SfxItemSet &rFlyItemSet, SwTwips nDfltWidth=MINLAY, sal_uInt8 nDefaultPercentWidth=0)
 
static void SetSpace (const Size &rPixSpace, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, SfxItemSet &rFlyItemSet)
 
static bool HasStyleOptions (std::u16string_view rStyle, std::u16string_view rId, std::u16string_view rClass, const OUString *pLang=nullptr, const OUString *pDir=nullptr)
 
static void RegisterDrawObjectToTable (HTMLTable *pCurTable, SdrObject *pObj, sal_uInt8 nWidth)
 

Private Attributes

std::unique_ptr< ImportProgressm_xProgress
 
OUString m_aPathToFile
 
OUString m_sBaseURL
 
OUString m_aBasicLib
 
OUString m_aBasicModule
 
OUString m_aScriptSource
 
OUString m_aScriptType
 
OUString m_aScriptURL
 
OUString m_aStyleSource
 
OUString m_aContents
 
OUStringBuffer m_sTitle
 
OUString m_aUnknownToken
 
OUString m_aBulletGrfs [MAXLEVEL]
 
OUString m_sJmpMark
 
std::vector< sal_uInt16 > m_aBaseFontStack
 
std::vector< sal_uInt16 > m_aFontStack
 
HTMLAttrs m_aSetAttrTab
 
HTMLAttrs m_aParaAttrs
 
std::shared_ptr< HTMLAttrTablem_xAttrTab
 
HTMLAttrContexts m_aContexts
 
std::vector< std::unique_ptr< SwHTMLFrameFormatListener > > m_aMoveFlyFrames
 
std::deque< sal_Int32 > m_aMoveFlyCnts
 
std::vector< std::unique_ptr< SwTableBox > > m_aOrphanedTableBoxes
 
std::unique_ptr< SwApplet_Implm_pAppletImpl
 
std::unique_ptr< SwCSS1Parserm_pCSS1Parser
 
std::unique_ptr< SwHTMLNumRuleInfom_pNumRuleInfo
 
std::vector< SwPendingm_vPendingStack
 
rtl::Reference< SwDocm_xDoc
 
SwPaMm_pPam
 
SwViewShellm_pActionViewShell
 
SwNodeIndexm_pSttNdIdx
 
std::vector< HTMLTable * > m_aTables
 
std::shared_ptr< HTMLTablem_xTable
 
SwHTMLForm_Implm_pFormImpl
 
rtl::Reference< SdrObjectm_pMarquee
 
std::unique_ptr< SwFieldm_xField
 
ImageMapm_pImageMap
 
std::unique_ptr< ImageMapsm_pImageMaps
 all Image-Maps that have been read More...
 
std::unique_ptr< SwHTMLFootEndNote_Implm_pFootEndNoteImpl
 
Size m_aHTMLPageSize
 
sal_uInt32 m_aFontHeights [7]
 
ImplSVEventm_nEventId
 
sal_uInt16 m_nBaseFontStMin
 
sal_uInt16 m_nFontStMin
 
sal_uInt16 m_nDefListDeep
 
sal_uInt16 m_nFontStHeadStart
 
sal_uInt16 m_nSBModuleCnt
 
sal_uInt16 m_nMissingImgMaps
 
size_t m_nParaCnt
 
size_t m_nContextStMin
 
size_t m_nContextStAttrMin
 
sal_uInt16 m_nSelectEntryCnt
 
HtmlTokenId m_nOpenParaToken
 
JumpToMarks m_eJumpTo
 
sal_uInt16 m_nContinue
 
SvxAdjust m_eParaAdjust
 
HTMLScriptLanguage m_eScriptLang
 
bool m_bOldIsHTMLMode: 1
 
bool m_bDocInitialized: 1
 
bool m_bViewCreated: 1
 
bool m_bSetModEnabled: 1
 
bool m_bInFloatingFrame: 1
 
bool m_bInField: 1
 
bool m_bKeepUnknown: 1
 
bool m_bCallNextToken: 1
 
bool m_bIgnoreRawData: 1
 
bool m_bLBEntrySelected: 1
 
bool m_bTAIgnoreNewPara: 1
 
bool m_bFixMarqueeWidth: 1
 
bool m_bUpperSpace: 1
 
bool m_bNoParSpace: 1
 
bool m_bInNoEmbed: 1
 
bool m_bInTitle: 1
 
bool m_bChkJumpMark: 1
 
bool m_bUpdateDocStat: 1
 
bool m_bFixSelectWidth: 1
 
bool m_bTextArea: 1
 
bool m_bSelect: 1
 
bool m_bInFootEndNoteAnchor: 1
 
bool m_bInFootEndNoteSymbol: 1
 
bool m_bIgnoreHTMLComments: 1
 
bool m_bRemoveHidden: 1
 
bool m_bBodySeen: 1
 
bool m_bReadingHeaderOrFooter: 1
 
bool m_bNotifyMacroEventRead: 1
 
bool m_isInTableStructure
 
int m_nTableDepth
 
int m_nFloatingFrames
 
int m_nListItems
 
OUString m_InfoNames [4]
 the names corresponding to the DOCINFO field subtypes INFO[1-4] More...
 
SfxViewFramem_pTempViewFrame
 
bool m_bXHTML = false
 
bool m_bReqIF = false
 
std::stack< SwOLENode * > m_aEmbeds
 Non-owning pointers to already inserted OLE nodes, matching opened <object> XHTML elements. More...
 
std::set< OUString > m_aAllowedRTFOLEMimeTypes
 
OUString m_aEmbedURL
 This is the URL of the outer <object> data if it's not OLE2 or an image. More...
 

Friends

class SectionSaveStruct
 
class CellSaveStruct
 
class CaptionSaveStruct
 

Detailed Description

Definition at line 351 of file swhtml.hxx.

Member Enumeration Documentation

◆ JumpToMarks

enum class SwHTMLParser::JumpToMarks
strongprivate
Enumerator
NONE 
Mark 
Table 
Region 
Graphic 

Definition at line 429 of file swhtml.hxx.

Constructor & Destructor Documentation

◆ ~SwHTMLParser()

SwHTMLParser::~SwHTMLParser ( )
overrideprotectedvirtual

◆ SwHTMLParser()

SwHTMLParser::SwHTMLParser ( SwDoc pD,
SwPaM rCursor,
SvStream rIn,
OUString  aFileName,
OUString  aBaseURL,
bool  bReadNewDoc,
SfxMedium pMed,
bool  bReadUTF8,
bool  bIgnoreHTMLComments,
const OUString &  rNamespace 
)

Member Function Documentation

◆ AddMetaUserDefined()

void SwHTMLParser::AddMetaUserDefined ( OUString const &  i_rMetaName)
overrideprotectedvirtual

Definition at line 5577 of file swhtml.cxx.

References m_InfoNames, and pName.

◆ AddParSpace()

void SwHTMLParser::AddParSpace ( )
private

◆ AddScriptSource()

void SwHTMLParser::AddScriptSource ( )
private

◆ AppendTextNode()

bool SwHTMLParser::AppendTextNode ( SwHTMLAppendMode  eMode = AM_NORMAL,
bool  bUpdateNum = true 
)
private

Definition at line 2190 of file swhtml.cxx.

References AM_NOSPACE, AM_SOFTNOSPACE, AM_SPACE, HTMLAttr::ClearPrev(), HTMLAttr::Clone(), SwpHints::Count(), SwTextNode::DeleteAttribute(), eMode, g_pBreakIt, SwpHints::Get(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwBreakIt::GetBreakIter(), SwPosition::GetContentIndex(), SwTextAttr::GetEnd(), HTMLAttr::GetItem(), SwHTMLNumRuleInfo::GetLevel(), SvxULSpaceItem::GetLower(), HTMLAttr::GetNext(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNumInfo(), SwPaM::GetPoint(), SwPaM::GetPointNode(), HTMLAttr::GetPrev(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), HTMLAttr::GetStartContent(), HTMLAttr::GetStartParagraph(), HTMLAttr::GetStartParagraphIdx(), SwTextNode::GetSwpHints(), SwTextNode::GetText(), SwNode::GetTextNode(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), HTML_PARSPACE, i, HTMLAttr::InsertPrev(), lcl_swhtml_getItemInfo(), m_aParaAttrs, m_aSetAttrTab, HTMLAttr::m_bInsAtStart, m_bNoParSpace, m_nParaCnt, HTMLAttr::m_nStartContent, m_pPam, m_xAttrTab, m_xDoc, m_xTable, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_LANGUAGE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_LANGUAGE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_LANGUAGE(), RES_CHRATR_POSTURE(), RES_CHRATR_WEIGHT(), RES_PARATR_BEGIN(), RES_PARATR_NUMRULE(), RES_UL_SPACE(), SwTextNode::ResetAttr(), SetAttr(), SwTextNode::SetAttr(), SetNodeNum(), HTMLAttr::SetStart(), Show(), StripTrailingLF(), swhtml_css1atr_equalFontItems(), SfxPoolItem::Which(), and SwTextAttr::Which().

Referenced by BuildTableCaption(), BuildTableCell(), EndContext(), EndDefList(), EndDefListItem(), EndForm(), EndHeading(), EndNumberBulletList(), EndNumberBulletListItem(), EndPara(), EndTextFormatColl(), InsertHorzRule(), InsertLineBreak(), InsertSpacer(), NewDefList(), NewDivision(), NewForm(), NewHeading(), NewMultiCol(), NewNumberBulletList(), NewNumberBulletListItem(), NewPara(), NewTextFormatColl(), NextToken(), and SetAnchorAndAdjustment().

◆ BuildTable()

std::shared_ptr< HTMLTable > SwHTMLParser::BuildTable ( SvxAdjust  eCellAdjust,
bool  bIsParentHead = false,
bool  bHasParentSection = true,
bool  bHasToFlow = false 
)
private

◆ BuildTableCaption()

void SwHTMLParser::BuildTableCaption ( HTMLTable pTable)
private

◆ BuildTableCell()

void SwHTMLParser::BuildTableCell ( HTMLTable pTable,
bool  bReadOptions,
bool  bHead 
)
private

Definition at line 3192 of file htmltab.cxx.

References aHTMLPAlignTable, AM_NOSPACE, AppendTextNode(), SwPosition::Assign(), BuildTable(), CellSaveStruct, SwHTMLNumRuleInfo::Clear(), ClearContext(), o3tl::convert(), EndContext(), SwNode::EndOfSectionNode(), EndSections(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), fnMoveBackward, Get(), HTMLTable::GetClass(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), HTMLTable::GetContext(), HTMLTable::GetDirection(), SwTable::GetFrameFormat(), HTMLTable::GetHSpace(), HTMLTable::GetId(), SwNode::GetIndex(), SfxItemSet::GetItemIfSet(), GetMarginsFromContextWithNumberBullet(), SwPosition::GetNode(), GetNumInfo(), SwFormatPageDesc::GetPageDesc(), SwPaM::GetPoint(), HTMLTable::GetStyle(), SwContentNode::GetSwAttrSet(), HTMLTable::GetTableAdjust(), SwNode::GetTextNode(), HTMLTable::GetVSpace(), HTMLTable::HasColTags(), HasCurrentParaBookmarks(), HasCurrentParaFlys(), HTMLTable::HasParentSection(), HTMLTable::HasToFly(), HeadlineNoBorder, i, InsertAttrs(), InsertTableContents(), InsertTableSection(), HTMLTable::IsNewDoc(), m_aContexts, m_aParaAttrs, m_aSetAttrTab, m_bCallNextToken, m_bNoParSpace, m_isInTableStructure, m_nContextStAttrMin, m_nContextStMin, m_nFontStHeadStart, m_nFontStMin, m_nOpenParaToken, m_pCSS1Parser, m_pPam, m_vPendingStack, m_xAttrTab, m_xDoc, m_xTable, MINLAY, o3tl::mm, SwPaM::Move(), NewMarquee(), NextToken(), SwPostItHelper::NONE, nToken, ParseStyleOptions(), PopContext(), RES_ANCHOR(), RES_BACKGROUND(), RES_BREAK(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_FONTSIZE(), RES_FRAMEDIR(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_KEEP(), RES_LAYOUT_SPLIT(), RES_LR_SPACE(), RES_PAGEDESC(), RES_PARATR_SPLIT(), RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_UL_SPACE(), SwTextNode::ResetAttr(), Reader::ResetFrameFormatAttrs(), SaveAttrTab(), SetAnchorAndAdjustment(), SetAttr(), SwContentNode::SetAttr(), HTMLTable::SetBGBrush(), SwFormat::SetFormatAttr(), HTMLTable::SetTable(), SwFormatFrameSize::SetWidthPercent(), SplitAttrTab(), StripTrailingLF(), StripTrailingPara(), o3tl::twip, and Variable.

Referenced by BuildTableRow().

◆ BuildTableColGroup()

void SwHTMLParser::BuildTableColGroup ( HTMLTable pTable,
bool  bReadOptions 
)
private

◆ BuildTableRow()

void SwHTMLParser::BuildTableRow ( HTMLTable pTable,
bool  bReadOptions,
SvxAdjust  eGrpAdjust,
sal_Int16  eVertOri 
)
private

◆ BuildTableSection()

void SwHTMLParser::BuildTableSection ( HTMLTable pTable,
bool  bReadOptions,
bool  bHead 
)
private

◆ CallEndAction()

SwViewShell * SwHTMLParser::CallEndAction ( bool  bChkAction = false,
bool  bChkPtr = true 
)
private

◆ CallParser()

SvParserState SwHTMLParser::CallParser ( )
overridevirtual

◆ CallStartAction()

SwViewShell * SwHTMLParser::CallStartAction ( SwViewShell pVSh = nullptr,
bool  bChkPtr = true 
)
private

◆ CanRemoveNode()

bool SwHTMLParser::CanRemoveNode ( SwNodeOffset  nNodeIdx) const
private

◆ CheckActionViewShell()

SwViewShell * SwHTMLParser::CheckActionViewShell ( )
private

Definition at line 2715 of file swhtml.cxx.

References m_pActionViewShell, and m_xDoc.

Referenced by Continue(), and ShowStatline().

◆ ClearContext()

void SwHTMLParser::ClearContext ( HTMLAttrContext pContext)
private

◆ ConnectImageMaps()

void SwHTMLParser::ConnectImageMaps ( )
private

◆ Continue()

void SwHTMLParser::Continue ( HtmlTokenId  nToken)
overridevirtual

Definition at line 616 of file swhtml.cxx.

References SwPosition::Adjust(), SwContentIndex::Assign(), SwPosition::Assign(), CallEndAction(), CallStartAction(), SwContentNode::CanJoinNext(), SwContentNode::CanJoinPrev(), CanRemoveNode(), CheckActionViewShell(), SwTextNode::ChgFormatColl(), SwCursorShell::ClearMark(), ConnectImageMaps(), HTMLParser::Continue(), SwPaM::DeleteMark(), EndApplet(), EndContext(), EndNumberBulletList(), EndObject(), SwNode::EndOfSectionIndex(), fnMoveBackward, fnMoveForward, fnParaEnd, SwTextNode::FormatToTextAttr(), SwPaM::GetBound(), SwPosition::GetContentIndex(), SwCursorShell::GetCursor(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SfxHTMLParser::GetMedium(), SfxObjectShell::GetModel(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), GetNumInfo(), TextFormatCollFunc::GetNumRule(), SwPaM::GetPoint(), SwPaM::GetPointContentNode(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetText(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), GoInNode(), GoPrevPara(), HasCurrentParaBookmarks(), HasCurrentParaFlys(), SwPaM::HasMark(), SwContentNode::HasSwAttrSet(), i, InsertAttr(), SwTextNode::JoinNext(), SwTextNode::JoinPrev(), m_aContexts, m_aParaAttrs, m_aPathToFile, m_aScriptSource, m_aScriptType, m_bSetModEnabled, m_bUpdateDocStat, m_bViewCreated, m_nContextStMin, m_nContinue, m_nMissingImgMaps, m_pAppletImpl, m_pCSS1Parser, m_pPam, m_pSttNdIdx, m_vPendingStack, m_xDoc, m_xProgress, SwPaM::Move(), SwCursorShell::MovePara(), SwPosition::nContent, NextToken(), nToken, PopContext(), SwTextNode::ResetAllAttr(), Script, SetAttr(), SwTextNode::SetAttr(), SwPosition::SetContent(), SwCursorShell::SetMark(), SwPaM::SetMark(), SwNode::StartOfSectionIndex(), and StripTrailingLF().

◆ CreateBrushItem()

SvxBrushItem * SwHTMLParser::CreateBrushItem ( const Color pColor,
const OUString &  rImageURL,
const OUString &  rStyle,
const OUString &  rId,
const OUString &  rClass 
)

◆ CreateContainer()

bool SwHTMLParser::CreateContainer ( std::u16string_view  rClass,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
HTMLAttrContext pContext 
)
private

◆ DECL_LINK()

SwHTMLParser::DECL_LINK ( AsyncCallback  ,
void *  ,
void   
)
private

◆ DeleteAttr()

void SwHTMLParser::DeleteAttr ( HTMLAttr pAttr)
private

◆ DeleteFormImpl()

void SwHTMLParser::DeleteFormImpl ( )
private

Definition at line 588 of file htmlform.cxx.

References m_pFormImpl.

Referenced by ~SwHTMLParser().

◆ DeleteSection()

void SwHTMLParser::DeleteSection ( SwStartNode pSttNd)
private

◆ DeregisterHTMLTable()

void SwHTMLParser::DeregisterHTMLTable ( HTMLTable pOld)

Definition at line 1053 of file htmltab.cxx.

References m_aOrphanedTableBoxes, m_aTables, and HTMLTable::m_xBox1.

Referenced by HTMLTable::~HTMLTable().

◆ DocumentDetected()

void SwHTMLParser::DocumentDetected ( )
private

Definition at line 970 of file swhtml.cxx.

References CallEndAction(), CallStartAction(), m_bDocInitialized, and m_xDoc.

Referenced by NextToken().

◆ DoPositioning()

bool SwHTMLParser::DoPositioning ( SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
HTMLAttrContext pContext 
)
private

◆ EndAnchor()

void SwHTMLParser::EndAnchor ( )
private

Definition at line 1376 of file htmlgrin.cxx.

References EndTag(), FinishFootEndNote(), m_bInFootEndNoteAnchor, and m_bInFootEndNoteSymbol.

Referenced by NextToken().

◆ EndApplet()

void SwHTMLParser::EndApplet ( )
private

◆ EndAttr()

bool SwHTMLParser::EndAttr ( HTMLAttr pAttr,
bool  bChkEmpty = true 
)
private

◆ EndBasefontAttr()

void SwHTMLParser::EndBasefontAttr ( )
private

Definition at line 3708 of file swhtml.cxx.

References EndTag(), m_aBaseFontStack, and m_nBaseFontStMin.

Referenced by NextToken().

◆ EndContext()

void SwHTMLParser::EndContext ( HTMLAttrContext pContext)
private

◆ EndContextAttrs()

void SwHTMLParser::EndContextAttrs ( HTMLAttrContext pContext)
private

◆ EndDefList()

void SwHTMLParser::EndDefList ( )
private

◆ EndDefListItem()

void SwHTMLParser::EndDefListItem ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private

◆ EndDivision()

void SwHTMLParser::EndDivision ( )
private

Definition at line 385 of file htmlsect.cxx.

References EndContext(), m_aContexts, m_bReadingHeaderOrFooter, m_nContextStMin, nPos, and SetAttr().

Referenced by NextToken().

◆ EndField()

void SwHTMLParser::EndField ( )
private

Definition at line 539 of file htmlfld.cxx.

References Author, DocInfo, ExtUser, Filename, SwField::IsFixed(), m_aContents, m_bInField, m_pPam, m_xDoc, and m_xField.

Referenced by NextToken().

◆ EndFontAttr()

void SwHTMLParser::EndFontAttr ( HtmlTokenId  nToken)
private

Definition at line 3937 of file swhtml.cxx.

References EndTag(), m_aFontStack, m_nFontStMin, and nToken.

Referenced by NextToken().

◆ EndForm()

void SwHTMLParser::EndForm ( bool  bAppend = true)
private

◆ EndHeading()

void SwHTMLParser::EndHeading ( )
private

◆ EndMarquee()

void SwHTMLParser::EndMarquee ( )
private

Definition at line 526 of file htmldrawreader.cxx.

References m_aContents, m_bFixMarqueeWidth, m_pMarquee, SetText(), and tools::Rectangle::TopLeft().

Referenced by NextToken().

◆ EndNumberBulletList()

void SwHTMLParser::EndNumberBulletList ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private

◆ EndNumberBulletListItem()

void SwHTMLParser::EndNumberBulletListItem ( HtmlTokenId  nToken,
bool  bSetColl 
)
private

◆ EndObject()

void SwHTMLParser::EndObject ( )
private

◆ EndPara()

void SwHTMLParser::EndPara ( bool  bReal = false)
private

◆ EndScript()

void SwHTMLParser::EndScript ( )
private

◆ EndSection()

bool SwHTMLParser::EndSection ( bool  bLFStripped = false)
private

◆ EndSections()

bool SwHTMLParser::EndSections ( bool  bLFStripped)
private

◆ EndSelect()

void SwHTMLParser::EndSelect ( )
private

◆ EndStyle()

void SwHTMLParser::EndStyle ( )
private

Definition at line 1681 of file htmlcss1.cxx.

References m_aStyleSource, m_bIgnoreRawData, and m_pCSS1Parser.

Referenced by NextToken().

◆ EndTag()

void SwHTMLParser::EndTag ( HtmlTokenId  nToken)
private

Definition at line 3616 of file swhtml.cxx.

References EndContext(), getOnToken(), nToken, and PopContext().

Referenced by EndAnchor(), EndBasefontAttr(), EndFontAttr(), and NextToken().

◆ EndTextArea()

void SwHTMLParser::EndTextArea ( )
private

◆ EndTextFormatColl()

void SwHTMLParser::EndTextFormatColl ( HtmlTokenId  nToken)
private

◆ FileDownload()

bool SwHTMLParser::FileDownload ( const OUString &  rURL,
OUString &  rStr 
)
private

◆ FillEndNoteInfo()

void SwHTMLParser::FillEndNoteInfo ( std::u16string_view  aContent)
private

Definition at line 119 of file htmlftn.cxx.

References lcl_html_getEndNoteInfo(), and m_xDoc.

Referenced by ParseMoreMetaOptions().

◆ FillFootNoteInfo()

void SwHTMLParser::FillFootNoteInfo ( std::u16string_view  aContent)
private

◆ FindImageMap()

ImageMap * SwHTMLParser::FindImageMap ( std::u16string_view  rURL) const
private

Definition at line 96 of file htmlgrin.cxx.

References o3tl::equalsIgnoreAsciiCase(), and m_pImageMaps.

Referenced by ConnectImageMaps(), and InsertImage().

◆ FinishFootEndNote()

void SwHTMLParser::FinishFootEndNote ( )
private

◆ FixHeaderFooterDistance()

void SwHTMLParser::FixHeaderFooterDistance ( bool  bHeader,
const SwPosition pOldPos 
)
private

◆ GetAttrTabEntry()

HTMLAttr ** SwHTMLParser::GetAttrTabEntry ( sal_uInt16  nWhich)
private

◆ GetCurrentBrowseWidth()

SwTwips SwHTMLParser::GetCurrentBrowseWidth ( )
private

◆ GetCurrFormatColl()

const SwFormatColl * SwHTMLParser::GetCurrFormatColl ( ) const
private

Definition at line 4610 of file swhtml.cxx.

References SwContentNode::GetAnyFormatColl(), SwPaM::GetPointContentNode(), and m_pPam.

Referenced by InsertHorzRule(), and NewFontAttr().

◆ GetDefaultScriptType()

void SwHTMLParser::GetDefaultScriptType ( ScriptType rType,
OUString &  rTypeStr 
) const
private

◆ GetDoc()

SwDoc * SwHTMLParser::GetDoc ( ) const

Definition at line 1060 of file htmltab.cxx.

References m_xDoc.

Referenced by HTMLTable::FixFrameFormat().

◆ GetFootEndNoteSection()

SwNodeIndex * SwHTMLParser::GetFootEndNoteSection ( const OUString &  rName)
private

Definition at line 220 of file htmlftn.cxx.

References aName, i, m_pFootEndNoteImpl, and nCount.

Referenced by NewDivision().

◆ GetMarginsFromContext()

void SwHTMLParser::GetMarginsFromContext ( sal_uInt16 &  nLeft,
sal_uInt16 &  nRight,
short &  nIndent,
bool  bIgnoreCurrent = false 
) const
private

◆ GetMarginsFromContextWithNumberBullet()

void SwHTMLParser::GetMarginsFromContextWithNumberBullet ( sal_uInt16 &  nLeft,
sal_uInt16 &  nRight,
short &  nIndent 
) const
private

◆ GetNumInfo()

SwHTMLNumRuleInfo & SwHTMLParser::GetNumInfo ( )
inlineprivate

◆ GetNumType()

SvxNumType SwHTMLParser::GetNumType ( std::u16string_view  rStr,
SvxNumType  eDfltType 
)
static

◆ GetULSpaceFromContext()

void SwHTMLParser::GetULSpaceFromContext ( sal_uInt16 &  rUpper,
sal_uInt16 &  rLower 
) const
private

◆ HasCurrentParaBookmarks()

bool SwHTMLParser::HasCurrentParaBookmarks ( bool  bIgnoreStack = false) const
private

◆ HasCurrentParaFlys()

bool SwHTMLParser::HasCurrentParaFlys ( bool  bNoSurroundOnly = false,
bool  bSurroundOnly = false 
) const
private
Parameters
bNoSurroundOnlyThe paragraph contains at least one frame without wrapping.
bSurroundOnlyThe paragraph contains at least one frame with wrapping, but none without wrapping.

Otherwise the paragraph contains any frame.

Definition at line 4546 of file swhtml.cxx.

References SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwPosition::GetNode(), SwPaM::GetPoint(), m_pPam, and m_xDoc.

Referenced by BuildTableCell(), Continue(), EndNumberBulletList(), and SetAnchorAndAdjustment().

◆ HasStyleOptions()

bool SwHTMLParser::HasStyleOptions ( std::u16string_view  rStyle,
std::u16string_view  rId,
std::u16string_view  rClass,
const OUString *  pLang = nullptr,
const OUString *  pDir = nullptr 
)
inlinestaticprivate

◆ IncGrfsThatResizeTable()

sal_uInt16 SwHTMLParser::IncGrfsThatResizeTable ( )
private

Definition at line 3181 of file htmltab.cxx.

References m_xTable.

Referenced by InsertImage(), and InsertInput().

◆ InsertAttr() [1/2]

void SwHTMLParser::InsertAttr ( const SfxPoolItem rItem,
bool  bInsAtStart 
)
private

◆ InsertAttr() [2/2]

void SwHTMLParser::InsertAttr ( HTMLAttr **  ppAttr,
const SfxPoolItem rItem,
HTMLAttrContext pCntxt 
)
private

◆ InsertAttrs() [1/2]

void SwHTMLParser::InsertAttrs ( SfxItemSet rItemSet,
SvxCSS1PropertyInfo const &  rPropInfo,
HTMLAttrContext pContext,
bool  bCharLvl = false 
)
private

◆ InsertAttrs() [2/2]

void SwHTMLParser::InsertAttrs ( std::deque< std::unique_ptr< HTMLAttr > >  rAttrs)
private

◆ InsertBasicDocEvent()

void SwHTMLParser::InsertBasicDocEvent ( const OUString &  aEventName,
const OUString &  rName,
ScriptType  eScrType,
const OUString &  rScrType 
)
private

◆ InsertBodyOptions()

void SwHTMLParser::InsertBodyOptions ( )
private

◆ InsertBookmark()

void SwHTMLParser::InsertBookmark ( const OUString &  rName)
private

◆ InsertComment()

void SwHTMLParser::InsertComment ( const OUString &  rName,
std::string_view  pTag = {} 
)
private

◆ InsertCommentText()

void SwHTMLParser::InsertCommentText ( std::string_view  pTag)
private

Definition at line 588 of file htmlfld.cxx.

References m_aContents.

Referenced by NextToken().

◆ InsertControl()

uno::Reference< drawing::XShape > SwHTMLParser::InsertControl ( const css::uno::Reference< css::form::XFormComponent > &  rFormComp,
const css::uno::Reference< css::beans::XPropertySet > &  rFCompPropSet,
const Size rSize,
sal_Int16  eVertOri,
sal_Int16  eHoriOri,
SfxItemSet rCSS1ItemSet,
SvxCSS1PropertyInfo rCSS1PropInfo,
const SvxMacroTableDtor rMacroTable,
const std::vector< OUString > &  rUnoMacroTable,
const std::vector< OUString > &  rUnoMacroParamTable,
bool  bSetPropSet = true,
bool  bHidden = false 
)
private

copy color, if color is not "no fill"/"auto fill"

copy complete color with transparency

Definition at line 845 of file htmlform.cxx.

References Any, SfxItemSet::ClearItem(), COL_TRANSPARENT(), vcl::unohelper::ConvertFontWeight(), convertTwipToMm100(), SvxMacroTableDtor::empty(), SwNode::FindFlyStartNode(), SvxBrushItem::GetColor(), SwHTMLForm_Impl::GetControlEventManager(), SwHTMLForm_Impl::GetFormComps(), SwHTMLForm_Impl::GetHeaderAttrs(), SvxFontHeightItem::GetHeight(), SfxItemSet::GetItemIfSet(), SvxTextLineItem::GetLineStyle(), SwPosition::GetNode(), SwPaM::GetPoint(), SvxPostureItem::GetPosture(), Color::GetRGBColor(), SfxHTMLParser::GetScriptTypeString(), SwHTMLForm_Impl::GetServiceFactory(), SwHTMLForm_Impl::GetShapes(), SvxCrossedOutItem::GetStrikeout(), SvxColorItem::GetValue(), SvxWeightItem::GetWeight(), Size::Height(), lcl_html_setEvents(), SvxCSS1PropertyInfo::m_bBottomMargin, SvxCSS1PropertyInfo::m_bLeftMargin, SvxCSS1PropertyInfo::m_bRightMargin, SvxCSS1PropertyInfo::m_bTopMargin, SvxCSS1PropertyInfo::m_eFloat, SvxCSS1PropertyInfo::m_eLeftType, SvxCSS1PropertyInfo::m_ePosition, SvxCSS1PropertyInfo::m_eTopType, SvxCSS1PropertyInfo::m_nLeft, SvxCSS1PropertyInfo::m_nTop, m_pFormImpl, m_pPam, SwPostItHelper::NONE, NotifyMacroEventRead(), RES_BACKGROUND(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_POSTURE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_UL_SPACE(), SwHTMLForm_Impl::SetFCompPropSet(), SVX_CSS1_LTYPE_TWIP, SVX_CSS1_POS_ABSOLUTE, and Size::Width().

Referenced by InsertInput(), NewSelect(), and NewTextArea().

◆ InsertDrawObject()

void SwHTMLParser::InsertDrawObject ( SdrObject pNewDrawObj,
const Size rSpace,
sal_Int16  eVertOri,
sal_Int16  eHoriOri,
SfxItemSet rCSS1ItemSet,
SvxCSS1PropertyInfo rCSS1PropInfo 
)
private

◆ InsertEmbed()

bool SwHTMLParser::InsertEmbed ( )
private

Definition at line 349 of file htmlplug.cxx.

References aArguments, SL::aData, aHTMLImgHAlignTable, aHTMLImgVAlignTable, aName, SvCommandList::Append(), aURL, SfxItemSet::ClearItem(), comphelper::OStorageHelper::CopyInputToOutput(), comphelper::EmbeddedObjectContainer::CreateEmbeddedObject(), comphelper::EmbeddedObjectContainer::CreateUniqueObjectName(), ERRCODE_NONE, SwReqIfReader::ExtractOleFromRtf(), SvCommandList::FillSequence(), SwFormat::GetAttrSet(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), Application::GetDefaultDevice(), SwNode::GetDoc(), comphelper::EmbeddedObjectContainer::GetEmbeddedObject(), SwNode::GetFlyFormat(), GraphicFilter::GetGraphicFilter(), SwNodeIndex::GetIndex(), INetURLObject::GetMainURL(), URIHelper::GetMaybeFileHdl(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwPaM::GetPoint(), Graphic::GetSizePixel(), HasStyleOptions(), Size::Height(), HTML_DFLT_EMBED_HEIGHT, HTML_DFLT_EMBED_WIDTH, comphelper::InitPropertySequence(), comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), SvFileStream::IsOpen(), m_aAllowedRTFOLEMimeTypes, m_aEmbeds, m_aEmbedURL, m_bXHTML, m_pCSS1Parser, m_pPam, m_sBaseURL, m_xDoc, comphelper::makePropertyValue(), INetURLObject::NONE, SwPostItHelper::NONE, OOO_STRING_SW_HTML_O_Hidden, ParseStyleOptions(), OutputDevice::PixelToLogic(), read_uInt8s_ToOString(), RegisterFlyFrame(), RES_CNTNT(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), Reader::ResetFrameFormatAttrs(), SvStream::Seek(), SwFormatAnchor::SetAnchor(), SetAnchorAndAdjustment(), SetFixSize(), SwDoc::SetFlyFrameAttr(), SwFrameFormat::SetFormatName(), svt::EmbeddedObjectRef::SetGraphic(), Size::setHeight(), SetSpace(), SwNoTextNode::SetTitle(), INetURLObject::SetURL(), Size::setWidth(), URIHelper::SmartRel2Abs(), SO3_PLUGIN_CLASSID, StripQueryFromPath(), comphelper::EmbeddedObjectContainer::SwitchPersistence(), SwFormatFrameSize::SYNCED, svt::EmbeddedObjectRef::TryRunningState(), u, and Size::Width().

Referenced by NextToken().

◆ InsertFieldText()

void SwHTMLParser::InsertFieldText ( )
private

Definition at line 579 of file htmlfld.cxx.

References m_aContents, and m_xField.

Referenced by NextToken().

◆ InsertFloatingFrame()

void SwHTMLParser::InsertFloatingFrame ( )
private

◆ InsertFlyFrame()

void SwHTMLParser::InsertFlyFrame ( const SfxItemSet rItemSet,
HTMLAttrContext pCntxt,
const OUString &  rId 
)
private

◆ InsertFootEndNote()

void SwHTMLParser::InsertFootEndNote ( const OUString &  rName,
bool  bEndNote,
bool  bFixed 
)
private

Definition at line 178 of file htmlftn.cxx.

References m_pFootEndNoteImpl.

Referenced by NewAnchor().

◆ InsertFootEndNoteText()

void SwHTMLParser::InsertFootEndNoteText ( )
private

Definition at line 214 of file htmlftn.cxx.

References m_pFootEndNoteImpl.

Referenced by NextToken().

◆ InsertHorzRule()

void SwHTMLParser::InsertHorzRule ( )
private

◆ InsertIDOption()

void SwHTMLParser::InsertIDOption ( )
private

Definition at line 5118 of file swhtml.cxx.

References HTMLOption::GetString(), HTMLOption::GetToken(), i, and InsertBookmark().

Referenced by NextToken().

◆ InsertImage()

void SwHTMLParser::InsertImage ( )
private

Definition at line 318 of file htmlgrin.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), aHTMLImgHAlignTable, aHTMLImgVAlignTable, aMap, aName, aURL, Box, convertLineEnd(), GraphicDescriptor::Detect(), SvxMacroTableDtor::empty(), ERRCODE_NONE, EXTENDED_STYPE, FindImageMap(), Fixed, fnMoveBackward, fnMoveForward, INetURLObject::GetAbsURL(), SwTextNode::GetActualListLevel(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), editeng::SvxBorderLine::GetColor(), SwFormat::GetColor(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), INetURLObject::getData(), Application::GetDefaultDevice(), GetDefaultScriptType(), HTMLOption::GetEnum(), GraphicFilter::GetGraphicFilter(), Size::getHeight(), SwNodeIndex::GetIndex(), SwFormatINetFormat::GetMacro(), SvxMacroItem::GetMacroTable(), MapMode::GetMapUnit(), SwFormatINetFormat::GetName(), SwPosition::GetNode(), SwNode::GetNodeType(), HTMLOption::GetNumber(), GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), TextFormatCollFunc::GetNumRule(), SwPaM::GetPoint(), SwPaM::GetPointNode(), Graphic::GetPrefMapMode(), Graphic::GetPrefSize(), INetURLObject::GetProtocol(), GraphicDescriptor::GetSizePixel(), Graphic::GetSizePixel(), HTMLOption::GetString(), GetSystemLineEnd(), SwFormatINetFormat::GetTargetFrame(), SwNode::GetTextNode(), HTMLOption::GetToken(), SwGrfNode::GetTwipSize(), SwFormat::GetURL(), SvxColorItem::GetValue(), SwFormatINetFormat::GetValue(), GetValue, Size::getWidth(), Graphic, HasStyleOptions(), Size::Height(), HTML_DFLT_IMG_HEIGHT, HTML_DFLT_IMG_WIDTH, i, GraphicFilter::ImportGraphic(), GraphicFilter::ImportUnloadedGraphic(), IncGrfsThatResizeTable(), InsertBookmark(), SwTextNode::IsCountedInList(), OutputDevice::LogicToLogic(), m_aBulletGrfs, m_aEmbedURL, m_bChkJumpMark, SvxCSS1PropertyInfo::m_eHeightType, m_eJumpTo, SvxCSS1PropertyInfo::m_eWidthType, SvxCSS1PropertyInfo::m_nHeight, m_nMissingImgMaps, SvxCSS1PropertyInfo::m_nWidth, m_pCSS1Parser, m_pPam, m_sBaseURL, m_sJmpMark, m_xAttrTab, m_xDoc, m_xTable, MAXLEVEL, MINFLY, SwPaM::Move(), nBorder, SwPostItHelper::NONE, NONE, NotifyMacroEventRead(), nPos, ParseStyleOptions(), OutputDevice::PixelToLogic(), SvxCSS1Parser::PixelToTwip(), RegisterFlyFrame(), RES_BOX(), RES_CHRATR_COLOR(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_FRMMACRO(), RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, Reader::ResetFrameFormatAttrs(), SAL_WARN_IF, SetAnchorAndAdjustment(), SwGrfNode::SetChgTwipSize(), editeng::SvxBorderLine::SetColor(), SwTextNode::SetCountedInList(), Graphic::SetDefaultType(), SwFormat::SetFormatAttr(), SwFrameFormat::SetFormatName(), SetFrameFormatAttrs(), Size::setHeight(), SwFormatFrameSize::SetHeightPercent(), SwNumRule::SetInvalidRule(), SvxBoxItem::SetLine(), SvxMacroItem::SetMacro(), SwGrfNode::SetScaleImageMap(), SetSpace(), SetTextCollAttrs(), SwNoTextNode::SetTitle(), SwGrfNode::SetTwipSize(), Size::setWidth(), SwFormatFrameSize::SetWidthPercent(), STARBASIC, comphelper::string::stripEnd(), StripQueryFromPath(), SVX_CSS1_LTYPE_PERCENTAGE, SVX_CSS1_LTYPE_TWIP, SwFormatFrameSize::SYNCED, Table, Text, u, and Size::Width().

Referenced by NextToken().

◆ InsertInput()

void SwHTMLParser::InsertInput ( )
private

◆ InsertLineBreak()

void SwHTMLParser::InsertLineBreak ( )
private

◆ InsertLink()

void SwHTMLParser::InsertLink ( )
private

◆ InsertMarqueeText()

void SwHTMLParser::InsertMarqueeText ( )
private

Definition at line 554 of file htmldrawreader.cxx.

References m_aContents, and m_pMarquee.

Referenced by NextToken().

◆ InsertParaAttrs()

void SwHTMLParser::InsertParaAttrs ( const SfxItemSet rItemSet)
private

◆ InsertParam()

void SwHTMLParser::InsertParam ( )
private

Definition at line 1019 of file htmlplug.cxx.

References aName, HTMLOption::GetString(), HTMLOption::GetToken(), i, and m_pAppletImpl.

Referenced by NextToken().

◆ InsertSelectOption()

void SwHTMLParser::InsertSelectOption ( )
private

◆ InsertSelectText()

void SwHTMLParser::InsertSelectText ( )
private

◆ InsertSpacer()

void SwHTMLParser::InsertSpacer ( )
private

◆ InsertTableContents()

std::unique_ptr< HTMLTableCnts > SwHTMLParser::InsertTableContents ( bool  bHead)

◆ InsertTableSection() [1/2]

const SwStartNode * SwHTMLParser::InsertTableSection ( const SwStartNode pPrevStNd)

◆ InsertTableSection() [2/2]

const SwStartNode * SwHTMLParser::InsertTableSection ( sal_uInt16  nPoolId)

◆ InsertTempTableCaptionSection()

SwStartNode * SwHTMLParser::InsertTempTableCaptionSection ( )
private

◆ InsertTextAreaText()

void SwHTMLParser::InsertTextAreaText ( HtmlTokenId  nToken)
private

◆ IsReadingHeaderOrFooter()

bool SwHTMLParser::IsReadingHeaderOrFooter ( ) const
inline

Definition at line 951 of file swhtml.hxx.

References m_bReadingHeaderOrFooter.

Referenced by SwCSS1Parser::GetPageDesc().

◆ IsReqIF()

bool SwHTMLParser::IsReqIF ( ) const

Definition at line 1065 of file htmltab.cxx.

References m_bReqIF.

Referenced by HTMLTable::FixFrameFormat(), and StripTrailingLF().

◆ MovePageDescAttrs()

void SwHTMLParser::MovePageDescAttrs ( SwNode pSrcNd,
SwNodeOffset  nDestIdx,
bool  bFormatBreak 
)
private

◆ NewAnchor()

void SwHTMLParser::NewAnchor ( )
private

◆ NewAttr()

void SwHTMLParser::NewAttr ( const std::shared_ptr< HTMLAttrTable > &  rAttrTab,
HTMLAttr **  ppAttr,
const SfxPoolItem rItem 
)
private

◆ NewBasefontAttr()

void SwHTMLParser::NewBasefontAttr ( )
private

◆ NewCharFormat()

void SwHTMLParser::NewCharFormat ( HtmlTokenId  nToken)
private

◆ NewDefList()

void SwHTMLParser::NewDefList ( )
private

◆ NewDefListItem()

void SwHTMLParser::NewDefListItem ( HtmlTokenId  nToken)
private

◆ NewDivision()

void SwHTMLParser::NewDivision ( HtmlTokenId  nToken)
private

Definition at line 55 of file htmlsect.cxx.

References aHTMLPAlignTable, AM_NORMAL, AM_NOSPACE, aName, AppendTextNode(), SwPosition::Assign(), aURL, cDelim, SfxItemSet::ClearItem(), Content, CreateContainer(), sfx2::cTokenSeparator, DoPositioning(), SwNode::EndOfSectionIndex(), FileLink, fnMoveBackward, FooterDist, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), SwPosition::GetContentIndex(), HTMLOption::GetEnum(), GetFootEndNoteSection(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemIfSet(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), HTMLOption::GetString(), SwNode::GetTextNode(), HTMLOption::GetToken(), HasStyleOptions(), HeaderDist, i, InsertAttr(), InsertAttrs(), SwNode::IsSectionNode(), m_aContexts, SvxCSS1PropertyInfo::m_aId, m_bChkJumpMark, m_bReadingHeaderOrFooter, SvxCSS1PropertyInfo::m_bVisible, m_eJumpTo, SvxCSS1PropertyInfo::m_nColumnCount, m_pCSS1Parser, m_pPam, m_sBaseURL, m_sJmpMark, m_xAttrTab, m_xDoc, SwPaM::Move(), MovePageDescAttrs(), MultiColMask, NewMultiCol(), NONE, nPos, nToken, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdfootnote, ParseStyleOptions(), PushContext(), Region, RES_BACKGROUND(), RES_FRAMEDIR(), RES_FRMATR_BEGIN(), RES_FRMATR_END(), RES_PARATR_ADJUST(), RES_POOLCOLL_TEXT, RES_POOLPAGE_HTML, Reader::ResetFrameFormatAttrs(), SaveDocContext(), SetAttr(), SwFormat::SetFormatAttr(), SwSectionData::SetLinkFileName(), SwPaM::SetMark(), SwSectionData::SetProtectFlag(), and URIHelper::SmartRel2Abs().

Referenced by NextToken().

◆ NewField()

void SwHTMLParser::NewField ( )
private

◆ NewFontAttr()

void SwHTMLParser::NewFontAttr ( HtmlTokenId  nToken)
private

◆ NewForm()

void SwHTMLParser::NewForm ( bool  bAppend = true)
private

◆ NewHeading()

void SwHTMLParser::NewHeading ( HtmlTokenId  nToken)
private

◆ NewMarquee()

void SwHTMLParser::NewMarquee ( HTMLTable pCurTable = nullptr)
private

Definition at line 243 of file htmldrawreader.cxx.

References aHTMLImgHAlignTable, aHTMLImgVAlignTable, aHTMLMarqBehaviorTable, aHTMLMarqDirectionTable, EE_CHAR_COLOR(), EE_CHAR_END(), EE_CHAR_START(), equalsIgnoreAsciiCase(), SwContentNode::GetAnyFormatColl(), SwFormat::GetAttrSet(), SfxItemIter::GetCurItem(), GetCurrentBrowseWidth(), Application::GetDefaultDevice(), HTMLAttr::GetItem(), SdrModel::GetItemPool(), SfxItemSet::GetItemState(), SwPosition::GetNode(), SdrModel::GetPage(), SwPaM::GetPoint(), SwNode::GetTextNode(), HasStyleOptions(), Size::Height(), i, InsertBookmark(), InsertDrawObject(), SdrObjList::InsertObject(), m_aContents, m_bFixMarqueeWidth, SvxCSS1PropertyInfo::m_eHeightType, SvxCSS1PropertyInfo::m_eWidthType, SvxCSS1PropertyInfo::m_nHeight, SvxCSS1PropertyInfo::m_nWidth, m_pCSS1Parser, m_pMarquee, m_pPam, m_xAttrTab, m_xDoc, m_xTable, SdrObjFactory::MakeNewObject(), makeSdrTextAutoGrowHeightItem(), makeSdrTextAutoGrowWidthItem(), makeSdrTextMinFrameHeightItem(), MINFLY, MINLAY, nCount, SfxItemIter::NextItem(), SwPostItHelper::NONE, OOO_STRING_SVTOOLS_HTML_LOOP_infinite, ParseStyleOptions(), OutputDevice::PixelToLogic(), PutEEPoolItem(), RegisterDrawObjectToTable(), RES_CHRATR_BACKGROUND(), RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_COLOR(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_KERNING(), RES_CHRATR_POSTURE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_POOLCOLL_STANDARD, SDRATTR_MISC_FIRST(), SDRATTR_MISC_LAST(), SDRTEXTHORZADJUST_RIGHT, Size::setHeight(), Size::setWidth(), SVX_CSS1_LTYPE_TWIP, Size::Width(), XATTR_FILL_FIRST(), and XATTR_FILL_LAST().

Referenced by BuildTableCell(), and NextToken().

◆ NewMultiCol()

void SwHTMLParser::NewMultiCol ( sal_uInt16  columnsFromCss = 0)
private

◆ NewNumberBulletList()

void SwHTMLParser::NewNumberBulletList ( HtmlTokenId  nToken)
private

Definition at line 53 of file htmlnumreader.cxx.

References AddParSpace(), aHTMLImgVAlignTable, aHTMLULTypeTable, AM_NOSPACE, AM_SPACE, AppendTextNode(), cBulletChar, SfxItemSet::ClearItem(), DoPositioning(), SwNumRule::Get(), SfxItemSet::Get(), SvxNumberFormat::GetAbsLSpace(), SvxNumberFormat::GetBulletChar(), SwPosition::GetContentIndex(), Application::GetDefaultDevice(), numfunc::GetDefBulletFont(), SwHTMLNumRuleInfo::GetDepth(), HTMLOption::GetEnum(), SvxNumberFormat::GetFirstLineOffset(), HTMLOption::GetNumber(), SwNumRule::GetNumFormat(), GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), SwPaM::GetPoint(), SvxNumberFormat::GetStart(), HTMLOption::GetString(), HTMLOption::GetToken(), GPOS_AREA, HasStyleOptions(), HTML_NUMBER_BULLET_INDENT, HTML_NUMBER_BULLET_MARGINLEFT, i, SwHTMLNumRuleInfo::IncDepth(), InsertAttrs(), numfunc::IsDefBulletFontUserDefined(), m_aBulletGrfs, m_aContexts, SvxCSS1PropertyInfo::m_bBullet, SvxCSS1PropertyInfo::m_bLeftMargin, SvxCSS1PropertyInfo::m_bNumbering, SvxCSS1PropertyInfo::m_bRightMargin, SvxCSS1PropertyInfo::m_bTextIndent, SvxCSS1PropertyInfo::m_cBulletChar, m_nDefListDeep, SvxCSS1PropertyInfo::m_nLeftMargin, SvxCSS1PropertyInfo::m_nNumberingType, m_pCSS1Parser, m_pPam, m_sBaseURL, m_xDoc, MAXLEVEL, SwPostItHelper::NONE, nPos, nToken, ParseStyleOptions(), OutputDevice::PixelToLogic(), PushContext(), RES_BACKGROUND(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_POOLCHR_BULLET_LEVEL, RES_POOLCHR_NUM_LEVEL, SwNumRule::Set(), SvxNumberFormat::SetAbsLSpace(), SvxNumberFormat::SetBulletChar(), SvxNumberFormat::SetBulletFont(), SwNumFormat::SetCharFormat(), SvxNumberFormat::SetFirstLineOffset(), SwNumFormat::SetGraphicBrush(), SvxBrushItem::SetGraphicLink(), SvxBrushItem::SetGraphicPos(), SetNodeNum(), SwHTMLNumRuleInfo::SetNodeStartValue(), SvxNumberType::SetNumberingType(), SwHTMLNumRuleInfo::SetNumRule(), SvxNumberFormat::SetStart(), SetTextCollAttrs(), URIHelper::SmartRel2Abs(), SVX_NUM_ARABIC, SVX_NUM_BITMAP, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_ROMAN_LOWER, SVX_NUM_ROMAN_UPPER, and U.

Referenced by NextToken().

◆ NewNumberBulletListItem()

void SwHTMLParser::NewNumberBulletListItem ( HtmlTokenId  nToken)
private

◆ NewPara()

void SwHTMLParser::NewPara ( )
private

◆ NewScript()

void SwHTMLParser::NewScript ( )
private

Definition at line 58 of file htmlbas.cxx.

References m_aBasicLib, m_aBasicModule, m_aScriptType, m_aScriptURL, m_bIgnoreRawData, m_eScriptLang, and m_sBaseURL.

Referenced by NextToken().

◆ NewSelect()

void SwHTMLParser::NewSelect ( )
private

◆ NewStdAttr() [1/2]

void SwHTMLParser::NewStdAttr ( HtmlTokenId  nToken)
private

◆ NewStdAttr() [2/2]

void SwHTMLParser::NewStdAttr ( HtmlTokenId  nToken,
HTMLAttr **  ppAttr,
const SfxPoolItem rItem,
HTMLAttr **  ppAttr2 = nullptr,
const SfxPoolItem pItem2 = nullptr,
HTMLAttr **  ppAttr3 = nullptr,
const SfxPoolItem pItem3 = nullptr 
)
private

◆ NewStyle()

void SwHTMLParser::NewStyle ( )
private

◆ NewTextArea()

void SwHTMLParser::NewTextArea ( )
private

◆ NewTextFormatColl()

void SwHTMLParser::NewTextFormatColl ( HtmlTokenId  nToken,
sal_uInt16  nPoolId 
)
private

◆ NextToken()

void SwHTMLParser::NextToken ( HtmlTokenId  nToken)
overrideprotectedvirtual

Definition at line 989 of file swhtml.cxx.

References AddScriptSource(), AppendTextNode(), BuildTable(), CHAR_HARDBLANK, CHAR_SOFTHYPHEN, convertLineEnd(), DocumentDetected(), EndAnchor(), EndApplet(), EndAttr(), EndBasefontAttr(), EndDefList(), EndDefListItem(), EndDivision(), EndField(), EndFontAttr(), EndForm(), EndHeading(), EndMarquee(), EndNumberBulletList(), EndNumberBulletListItem(), EndObject(), EndPara(), EndScript(), EndSelect(), EndStyle(), EndTag(), EndTextArea(), EndTextFormatColl(), SwNode::FindFootnoteStartNode(), SwNode::FindTableNode(), SwPosition::GetContentIndex(), SwNode::GetFlyFormat(), SfxObjectShell::GetHeaderAttributes(), SfxObjectShell::GetModel(), SwPosition::GetNode(), SwPosition::GetNodeIndex(), SwPaM::GetPoint(), SwPaM::GetPointNode(), HTMLOption::GetString(), GetSystemLineEnd(), SwTextNode::GetText(), SwNode::GetTextNode(), HTMLOption::GetToken(), HTML_ESC_PROP, HTML_ESC_SUB, HTML_ESC_SUPER, i, InsertBodyOptions(), InsertComment(), InsertCommentText(), InsertEmbed(), InsertFieldText(), InsertFloatingFrame(), InsertFootEndNoteText(), InsertHorzRule(), InsertIDOption(), InsertImage(), InsertInput(), InsertLineBreak(), InsertLink(), InsertMarqueeText(), InsertParam(), InsertSelectOption(), InsertSelectText(), InsertSpacer(), InsertTextAreaText(), isOffToken(), ITALIC_NORMAL, LINESTYLE_SINGLE, m_aContents, m_aEmbeds, m_aParaAttrs, m_aStyleSource, m_aUnknownToken, m_bBodySeen, m_bCallNextToken, m_bDocInitialized, m_bIgnoreHTMLComments, m_bIgnoreRawData, m_bInField, m_bInFloatingFrame, m_bInFootEndNoteAnchor, m_bInFootEndNoteSymbol, m_bInNoEmbed, m_bInTitle, m_bKeepUnknown, m_bNoParSpace, m_bSelect, m_bTextArea, m_bUpperSpace, m_bXHTML, m_isInTableStructure, m_nFloatingFrames, m_nListItems, m_nOpenParaToken, m_nParaCnt, m_pAppletImpl, m_pCSS1Parser, m_pImageMap, m_pImageMaps, m_pMarquee, m_pPam, m_sBaseURL, m_sTitle, m_vPendingStack, m_xAttrTab, m_xDoc, m_xProgress, m_xTable, NewAnchor(), NewAttr(), NewBasefontAttr(), NewCharFormat(), NewDefList(), NewDefListItem(), NewDivision(), NewField(), NewFontAttr(), NewForm(), NewHeading(), NewMarquee(), NewMultiCol(), NewNumberBulletList(), NewNumberBulletListItem(), NewPara(), NewScript(), NewSelect(), NewStdAttr(), NewStyle(), NewTextArea(), NewTextFormatColl(), nPos, nToken, OOO_STRING_SVTOOLS_HTML_noembed, SfxHTMLParser::ParseAreaOptions(), SfxHTMLParser::ParseMapOptions(), ParseMetaOptions(), ParseStyleOptions(), pObject, RES_BREAK(), RES_CHRATR_BLINK(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_ESCAPEMENT(), RES_CHRATR_POSTURE(), RES_CHRATR_UNDERLINE(), RES_CHRATR_WEIGHT(), RES_POOLCOLL_HTML_BLOCKQUOTE, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_SEND_ADDRESS, SAL_WARN, SetAttr(), SetTextCollAttrs(), Show(), STRIKEOUT_SINGLE, comphelper::string::strip(), and WEIGHT_BOLD.

Referenced by BuildTable(), BuildTableCaption(), BuildTableCell(), BuildTableColGroup(), BuildTableRow(), BuildTableSection(), and Continue().

◆ Notify()

void SwHTMLParser::Notify ( const SfxHint rHint)
overrideprotectedvirtual

Reimplemented from SvtListener.

Definition at line 961 of file swhtml.cxx.

References SvtListener::EndListeningAll(), and SfxHint::GetId().

◆ NotifyMacroEventRead()

void SwHTMLParser::NotifyMacroEventRead ( )

◆ ParseMetaOptions()

bool SwHTMLParser::ParseMetaOptions ( const css::uno::Reference< css::document::XDocumentProperties > &  ,
SvKeyValueIterator  
)
overridevirtual

Definition at line 5563 of file swhtml.cxx.

References HTMLParser::ParseMetaOptions(), and ParseMoreMetaOptions().

Referenced by NextToken().

◆ ParseMoreMetaOptions()

void SwHTMLParser::ParseMoreMetaOptions ( )
private

◆ ParseStyleOptions()

bool SwHTMLParser::ParseStyleOptions ( const OUString &  rStyle,
const OUString &  rId,
const OUString &  rClass,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
const OUString *  pLang = nullptr,
const OUString *  pDir = nullptr 
)
private

◆ PopContext()

std::unique_ptr< HTMLAttrContext > SwHTMLParser::PopContext ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private

◆ PushContext()

void SwHTMLParser::PushContext ( std::unique_ptr< HTMLAttrContext > &  rCntxt)
inlineprivate

◆ RegisterDrawObjectToTable()

void SwHTMLParser::RegisterDrawObjectToTable ( HTMLTable pCurTable,
SdrObject pObj,
sal_uInt8  nWidth 
)
staticprivate

Definition at line 3186 of file htmltab.cxx.

References HTMLTable::RegisterDrawObject().

Referenced by NewMarquee().

◆ RegisterFlyFrame()

void SwHTMLParser::RegisterFlyFrame ( SwFrameFormat pFlyFrame)
private

◆ RegisterHTMLTable()

void SwHTMLParser::RegisterHTMLTable ( HTMLTable pNew)
inline

Definition at line 940 of file swhtml.hxx.

References m_aTables.

Referenced by HTMLTable::HTMLTable().

◆ ResizeDrawObject()

void SwHTMLParser::ResizeDrawObject ( SdrObject pObj,
SwTwips  nWidth 
)
static

◆ RestoreAttrTab()

void SwHTMLParser::RestoreAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab)
private

◆ RestoreDocContext()

void SwHTMLParser::RestoreDocContext ( HTMLAttrContext pCntxt)
private

◆ SaveAttrTab()

void SwHTMLParser::SaveAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab)
private

◆ SaveDocContext()

void SwHTMLParser::SaveDocContext ( HTMLAttrContext pCntxt,
HtmlContextFlags  nFlags,
const SwPosition pNewPos 
)
private

◆ SetAnchorAndAdjustment() [1/3]

void SwHTMLParser::SetAnchorAndAdjustment ( const SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFrameItemSet 
)
private

◆ SetAnchorAndAdjustment() [2/3]

void SwHTMLParser::SetAnchorAndAdjustment ( sal_Int16  eVertOri,
sal_Int16  eHoriOri,
const SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFrameSet 
)
private

◆ SetAnchorAndAdjustment() [3/3]

void SwHTMLParser::SetAnchorAndAdjustment ( sal_Int16  eVertOri,
sal_Int16  eHoriOri,
SfxItemSet rFrameSet,
bool  bDontAppend = false 
)
private

◆ SetAttr()

void SwHTMLParser::SetAttr ( bool  bChkEnd = true,
bool  bBeforeTable = false,
std::deque< std::unique_ptr< HTMLAttr > > *  pPostIts = nullptr 
)
inlineprivate

◆ SetAttr_()

void SwHTMLParser::SetAttr_ ( bool  bChkEnd,
bool  bBeforeTable,
std::deque< std::unique_ptr< HTMLAttr > > *  pPostIts 
)
private

Definition at line 2742 of file swhtml.cxx.

References SwPosition::Assign(), IDocumentMarkAccess::BOOKMARK, Database, SwPaM::DeleteMark(), SwFrameFormat::DelFrames(), DONTREPLACE, IDocumentMarkAccess::findMark(), fnMoveBackward, IDocumentMarkAccess::getAllMarksEnd(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwFormatAnchor::GetContentAnchor(), SwPosition::GetContentIndex(), SwNode::GetContentNode(), HTMLAttr::GetEndContent(), HTMLAttr::GetEndParagraph(), HTMLAttr::GetEndParagraphIdx(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwNode::GetIndex(), SwPaM::GetMark(), SwFormatINetFormat::GetName(), SwNodeIndex::GetNode(), SwPosition::GetNodeIndex(), GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), SwPaM::GetPoint(), HTMLAttr::GetPrev(), HTMLAttr::GetStartParagraph(), CntUnencodedStringItem::GetValue(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), SwNodes::GoPrevious(), isCHRATR(), HTMLAttr::IsLikePara(), isTXTATR_NOEND(), isTXTATR_WITHEND(), SwContentNode::Len(), m_aMoveFlyCnts, m_aMoveFlyFrames, m_aParaAttrs, m_aSetAttrTab, m_bChkJumpMark, HTMLAttr::m_bValid, m_eJumpTo, HTMLAttr::m_nEndContent, HTMLAttr::m_nEndPara, HTMLAttr::m_nStartContent, HTMLAttr::m_nStartPara, HTMLAttr::m_pItem, m_pPam, m_sJmpMark, m_xDoc, SwFrameFormat::MakeFrames(), IDocumentMarkAccess::makeMark(), Mark, SwPaM::Move(), n, NONE, Postit, RES_BACKGROUND(), RES_BREAK(), RES_FLTR_BOOKMARK(), RES_LR_SPACE(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_PAGEDESC(), RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), RES_TXTATR_INETFMT(), RES_TXTATR_INPUTFIELD(), SAL_WARN, Script, SwFormatAnchor::SetAnchor(), SwContentNode::SetAttr(), SwPosition::SetContent(), SwFormat::SetFormatAttr(), SwPaM::SetMark(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), setSvxBrushItemAsFillAttributesToTargetSet(), SwFormatAnchor::SetType(), sName, and SfxPoolItem::Which().

Referenced by SetAttr().

◆ SetControlSize()

void SwHTMLParser::SetControlSize ( const css::uno::Reference< css::drawing::XShape > &  rShape,
const Size rTextSz,
bool  bMinWidth,
bool  bMinHeight 
)
private

◆ SetFixSize()

void SwHTMLParser::SetFixSize ( const Size rPixSize,
const Size rTwipDfltSize,
bool  bPercentWidth,
bool  bPercentHeight,
SvxCSS1PropertyInfo const &  rPropInfo,
SfxItemSet rFlyItemSet 
)
staticprivate

◆ SetFrameFormatAttrs()

void SwHTMLParser::SetFrameFormatAttrs ( SfxItemSet rItemSet,
HtmlFrameFormatFlags  nFlags,
SfxItemSet rFrameItemSet 
)
staticprivate

◆ SetNodeNum()

void SwHTMLParser::SetNodeNum ( sal_uInt8  nLevel)
private

◆ SetSpace()

void SwHTMLParser::SetSpace ( const Size rPixSpace,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFlyItemSet 
)
staticprivate

◆ SetTextCollAttrs()

void SwHTMLParser::SetTextCollAttrs ( HTMLAttrContext pContext = nullptr)
private

Definition at line 4616 of file swhtml.cxx.

References SfxItemSet::Differentiate(), EndAttr(), SfxItemSet::Get(), SwFormat::GetAttrSet(), HTMLAttrContext::GetClass(), HTMLAttrContext::GetDefaultTextFormatColl(), SwFormat::GetFirstLineIndent(), SfxItemSet::GetItemIfSet(), HTMLAttrContext::GetMargins(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SvxRightMarginItem::GetRight(), SwFormat::GetRightMargin(), SvxFirstLineIndentItem::GetTextFirstLineOffset(), HTMLAttrContext::GetTextFormatColl(), SvxTextLeftMarginItem::GetTextLeft(), SwFormat::GetTextLeftMargin(), i, InsertParaAttrs(), HTMLAttrContext::IsLRSpaceChanged(), m_aContexts, m_aParaAttrs, m_nContextStAttrMin, m_pCSS1Parser, m_pPam, m_xAttrTab, m_xDoc, NewAttr(), nLeftMargin, nRightMargin, SfxItemSet::Put(), RES_MARGIN_FIRSTLINE(), RES_MARGIN_RIGHT(), RES_MARGIN_TEXTLEFT(), RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, RES_POOLCOLL_HTML_HR, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, RES_UL_SPACE(), SAL_WARN, SfxItemSet::Set(), HTMLAttrContext::SetMargins(), SvxRightMarginItem::SetRight(), SvxFirstLineIndentItem::SetTextFirstLineOffset(), SvxTextLeftMarginItem::SetTextLeft(), and HTMLAttrContext::SetULSpace().

Referenced by BuildTable(), EndDefList(), EndHeading(), EndNumberBulletList(), EndNumberBulletListItem(), EndPara(), EndTextFormatColl(), InsertHorzRule(), InsertImage(), NewDefList(), NewHeading(), NewNumberBulletList(), NewNumberBulletListItem(), NewPara(), NewTextFormatColl(), and NextToken().

◆ SetVarSize()

void SwHTMLParser::SetVarSize ( SvxCSS1PropertyInfo const &  rPropInfo,
SfxItemSet rFlyItemSet,
SwTwips  nDfltWidth = MINLAY,
sal_uInt8  nDefaultPercentWidth = 0 
)
staticprivate

◆ Show()

void SwHTMLParser::Show ( )
private

◆ ShowStatline()

void SwHTMLParser::ShowStatline ( )
private

◆ SplitAttrTab() [1/2]

void SwHTMLParser::SplitAttrTab ( const SwPosition rNewPos)
private

◆ SplitAttrTab() [2/2]

void SwHTMLParser::SplitAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab,
bool  bMoveEndBack 
)
private

◆ SplitPREListingXMP()

void SwHTMLParser::SplitPREListingXMP ( HTMLAttrContext pCntxt)
private

◆ StripQueryFromPath()

OUString SwHTMLParser::StripQueryFromPath ( std::u16string_view  rBase,
const OUString &  rPath 
)
static

Strips query and fragment from a URL path if base URL is a file:// one.

Definition at line 336 of file htmlplug.cxx.

References comphelper::isFileUrl(), and nIndex.

Referenced by InsertEmbed(), and InsertImage().

◆ StripTrailingLF()

sal_Int32 SwHTMLParser::StripTrailingLF ( )
private

◆ StripTrailingPara()

void SwHTMLParser::StripTrailingPara ( )
private

◆ ToTwips()

sal_uInt16 SwHTMLParser::ToTwips ( sal_uInt16  nPixel)
static

Friends And Related Function Documentation

◆ CaptionSaveStruct

friend class CaptionSaveStruct
friend

Definition at line 355 of file swhtml.hxx.

Referenced by BuildTableCaption().

◆ CellSaveStruct

friend class CellSaveStruct
friend

Definition at line 354 of file swhtml.hxx.

Referenced by BuildTableCell().

◆ SectionSaveStruct

friend class SectionSaveStruct
friend

Definition at line 353 of file swhtml.hxx.

Member Data Documentation

◆ m_aAllowedRTFOLEMimeTypes

std::set<OUString> SwHTMLParser::m_aAllowedRTFOLEMimeTypes
private

Definition at line 498 of file swhtml.hxx.

Referenced by InsertEmbed(), and SwHTMLParser().

◆ m_aBaseFontStack

std::vector<sal_uInt16> SwHTMLParser::m_aBaseFontStack
private

◆ m_aBasicLib

OUString SwHTMLParser::m_aBasicLib
private

Definition at line 364 of file swhtml.hxx.

Referenced by AddScriptSource(), EndScript(), and NewScript().

◆ m_aBasicModule

OUString SwHTMLParser::m_aBasicModule
private

Definition at line 365 of file swhtml.hxx.

Referenced by AddScriptSource(), EndScript(), and NewScript().

◆ m_aBulletGrfs

OUString SwHTMLParser::m_aBulletGrfs[MAXLEVEL]
private

Definition at line 373 of file swhtml.hxx.

Referenced by InsertImage(), and NewNumberBulletList().

◆ m_aContents

OUString SwHTMLParser::m_aContents
private

◆ m_aContexts

HTMLAttrContexts SwHTMLParser::m_aContexts
private

◆ m_aEmbeds

std::stack<SwOLENode*> SwHTMLParser::m_aEmbeds
private

Non-owning pointers to already inserted OLE nodes, matching opened <object> XHTML elements.

Definition at line 496 of file swhtml.hxx.

Referenced by InsertEmbed(), and NextToken().

◆ m_aEmbedURL

OUString SwHTMLParser::m_aEmbedURL
private

This is the URL of the outer <object> data if it's not OLE2 or an image.

Definition at line 501 of file swhtml.hxx.

Referenced by InsertEmbed(), and InsertImage().

◆ m_aFontHeights

sal_uInt32 SwHTMLParser::m_aFontHeights[7]
private

Definition at line 414 of file swhtml.hxx.

Referenced by InsertBodyOptions(), NewBasefontAttr(), NewFontAttr(), and SwHTMLParser().

◆ m_aFontStack

std::vector<sal_uInt16> SwHTMLParser::m_aFontStack
private

◆ m_aHTMLPageSize

Size SwHTMLParser::m_aHTMLPageSize
private

Definition at line 412 of file swhtml.hxx.

Referenced by GetCurrentBrowseWidth().

◆ m_aMoveFlyCnts

std::deque<sal_Int32> SwHTMLParser::m_aMoveFlyCnts
private

Definition at line 387 of file swhtml.hxx.

Referenced by RegisterFlyFrame(), and SetAttr_().

◆ m_aMoveFlyFrames

std::vector<std::unique_ptr<SwHTMLFrameFormatListener> > SwHTMLParser::m_aMoveFlyFrames
private

Definition at line 386 of file swhtml.hxx.

Referenced by RegisterFlyFrame(), SetAttr(), and SetAttr_().

◆ m_aOrphanedTableBoxes

std::vector<std::unique_ptr<SwTableBox> > SwHTMLParser::m_aOrphanedTableBoxes
private

Definition at line 390 of file swhtml.hxx.

Referenced by DeregisterHTMLTable().

◆ m_aParaAttrs

HTMLAttrs SwHTMLParser::m_aParaAttrs
private

◆ m_aPathToFile

OUString SwHTMLParser::m_aPathToFile
private

Definition at line 362 of file swhtml.hxx.

Referenced by Continue(), NewAnchor(), and NewForm().

◆ m_aScriptSource

OUString SwHTMLParser::m_aScriptSource
private

Definition at line 366 of file swhtml.hxx.

Referenced by AddScriptSource(), Continue(), and EndScript().

◆ m_aScriptType

OUString SwHTMLParser::m_aScriptType
private

Definition at line 367 of file swhtml.hxx.

Referenced by Continue(), EndScript(), NewScript(), NewSelect(), and NewTextArea().

◆ m_aScriptURL

OUString SwHTMLParser::m_aScriptURL
private

Definition at line 368 of file swhtml.hxx.

Referenced by EndScript(), and NewScript().

◆ m_aSetAttrTab

HTMLAttrs SwHTMLParser::m_aSetAttrTab
private

◆ m_aStyleSource

OUString SwHTMLParser::m_aStyleSource
private

Definition at line 369 of file swhtml.hxx.

Referenced by EndStyle(), and NextToken().

◆ m_aTables

std::vector<HTMLTable*> SwHTMLParser::m_aTables
private

Definition at line 403 of file swhtml.hxx.

Referenced by DeregisterHTMLTable(), and RegisterHTMLTable().

◆ m_aUnknownToken

OUString SwHTMLParser::m_aUnknownToken
private

Definition at line 372 of file swhtml.hxx.

Referenced by NextToken().

◆ m_bBodySeen

bool SwHTMLParser::m_bBodySeen
private

Definition at line 475 of file swhtml.hxx.

Referenced by NextToken().

◆ m_bCallNextToken

bool SwHTMLParser::m_bCallNextToken
private

◆ m_bChkJumpMark

bool SwHTMLParser::m_bChkJumpMark
private

◆ m_bDocInitialized

bool SwHTMLParser::m_bDocInitialized
private

Definition at line 441 of file swhtml.hxx.

Referenced by DocumentDetected(), and NextToken().

◆ m_bFixMarqueeWidth

bool SwHTMLParser::m_bFixMarqueeWidth
private

Definition at line 454 of file swhtml.hxx.

Referenced by EndMarquee(), and NewMarquee().

◆ m_bFixSelectWidth

bool SwHTMLParser::m_bFixSelectWidth
private

Definition at line 466 of file swhtml.hxx.

Referenced by EndSelect(), and NewSelect().

◆ m_bIgnoreHTMLComments

bool SwHTMLParser::m_bIgnoreHTMLComments
private

Definition at line 472 of file swhtml.hxx.

Referenced by EndScript(), NextToken(), and SwHTMLParser().

◆ m_bIgnoreRawData

bool SwHTMLParser::m_bIgnoreRawData
private

Definition at line 451 of file swhtml.hxx.

Referenced by EndScript(), EndStyle(), NewScript(), NewStyle(), and NextToken().

◆ m_bInField

bool SwHTMLParser::m_bInField
private

Definition at line 447 of file swhtml.hxx.

Referenced by EndField(), NewField(), and NextToken().

◆ m_bInFloatingFrame

bool SwHTMLParser::m_bInFloatingFrame
private

Definition at line 446 of file swhtml.hxx.

Referenced by InsertFloatingFrame(), and NextToken().

◆ m_bInFootEndNoteAnchor

bool SwHTMLParser::m_bInFootEndNoteAnchor
private

Definition at line 470 of file swhtml.hxx.

Referenced by EndAnchor(), NewAnchor(), and NextToken().

◆ m_bInFootEndNoteSymbol

bool SwHTMLParser::m_bInFootEndNoteSymbol
private

Definition at line 471 of file swhtml.hxx.

Referenced by EndAnchor(), NewAnchor(), and NextToken().

◆ m_bInNoEmbed

bool SwHTMLParser::m_bInNoEmbed
private

Definition at line 460 of file swhtml.hxx.

Referenced by NextToken().

◆ m_bInTitle

bool SwHTMLParser::m_bInTitle
private

Definition at line 462 of file swhtml.hxx.

Referenced by NextToken().

◆ m_bKeepUnknown

bool SwHTMLParser::m_bKeepUnknown
private

Definition at line 448 of file swhtml.hxx.

Referenced by NextToken(), and SwHTMLParser().

◆ m_bLBEntrySelected

bool SwHTMLParser::m_bLBEntrySelected
private

Definition at line 452 of file swhtml.hxx.

Referenced by InsertSelectOption().

◆ m_bNoParSpace

bool SwHTMLParser::m_bNoParSpace
private

◆ m_bNotifyMacroEventRead

bool SwHTMLParser::m_bNotifyMacroEventRead
private

Definition at line 477 of file swhtml.hxx.

Referenced by NotifyMacroEventRead().

◆ m_bOldIsHTMLMode

bool SwHTMLParser::m_bOldIsHTMLMode
private

Definition at line 439 of file swhtml.hxx.

Referenced by SwHTMLParser(), and ~SwHTMLParser().

◆ m_bReadingHeaderOrFooter

bool SwHTMLParser::m_bReadingHeaderOrFooter
private

Definition at line 476 of file swhtml.hxx.

Referenced by EndDivision(), IsReadingHeaderOrFooter(), and NewDivision().

◆ m_bRemoveHidden

bool SwHTMLParser::m_bRemoveHidden
private

Definition at line 473 of file swhtml.hxx.

Referenced by SetControlSize(), and ~SwHTMLParser().

◆ m_bReqIF

bool SwHTMLParser::m_bReqIF = false
private

Definition at line 490 of file swhtml.hxx.

Referenced by IsReqIF(), and SwHTMLParser().

◆ m_bSelect

bool SwHTMLParser::m_bSelect
private

Definition at line 469 of file swhtml.hxx.

Referenced by EndSelect(), InsertSelectOption(), InsertSelectText(), NewSelect(), and NextToken().

◆ m_bSetModEnabled

bool SwHTMLParser::m_bSetModEnabled
private

Definition at line 444 of file swhtml.hxx.

Referenced by Continue().

◆ m_bTAIgnoreNewPara

bool SwHTMLParser::m_bTAIgnoreNewPara
private

Definition at line 453 of file swhtml.hxx.

Referenced by InsertTextAreaText(), and NewTextArea().

◆ m_bTextArea

bool SwHTMLParser::m_bTextArea
private

Definition at line 467 of file swhtml.hxx.

Referenced by EndTextArea(), InsertTextAreaText(), NewTextArea(), and NextToken().

◆ m_bUpdateDocStat

bool SwHTMLParser::m_bUpdateDocStat
private

Definition at line 465 of file swhtml.hxx.

Referenced by Continue(), and NewField().

◆ m_bUpperSpace

bool SwHTMLParser::m_bUpperSpace
private

Definition at line 456 of file swhtml.hxx.

Referenced by BuildTable(), NextToken(), and SwHTMLParser().

◆ m_bViewCreated

bool SwHTMLParser::m_bViewCreated
private

Definition at line 443 of file swhtml.hxx.

Referenced by CallParser(), Continue(), and SwHTMLParser().

◆ m_bXHTML

bool SwHTMLParser::m_bXHTML = false
private

Definition at line 489 of file swhtml.hxx.

Referenced by EndPara(), InsertEmbed(), NextToken(), and SwHTMLParser().

◆ m_eJumpTo

JumpToMarks SwHTMLParser::m_eJumpTo
private

Definition at line 430 of file swhtml.hxx.

Referenced by BuildTable(), InsertImage(), NewDivision(), NewMultiCol(), SetAttr_(), and SwHTMLParser().

◆ m_eParaAdjust

SvxAdjust SwHTMLParser::m_eParaAdjust
private

Definition at line 436 of file swhtml.hxx.

Referenced by NewHeading(), and NewPara().

◆ m_eScriptLang

HTMLScriptLanguage SwHTMLParser::m_eScriptLang
private

Definition at line 437 of file swhtml.hxx.

Referenced by AddScriptSource(), EndScript(), NewScript(), and SwHTMLParser().

◆ m_InfoNames

OUString SwHTMLParser::m_InfoNames[4]
private

the names corresponding to the DOCINFO field subtypes INFO[1-4]

Definition at line 485 of file swhtml.hxx.

Referenced by AddMetaUserDefined(), and NewField().

◆ m_isInTableStructure

bool SwHTMLParser::m_isInTableStructure
private

Definition at line 478 of file swhtml.hxx.

Referenced by BuildTable(), BuildTableCell(), and NextToken().

◆ m_nBaseFontStMin

sal_uInt16 SwHTMLParser::m_nBaseFontStMin
private

◆ m_nContextStAttrMin

size_t SwHTMLParser::m_nContextStAttrMin
private

◆ m_nContextStMin

size_t SwHTMLParser::m_nContextStMin
private

◆ m_nContinue

sal_uInt16 SwHTMLParser::m_nContinue
private

Definition at line 433 of file swhtml.hxx.

Referenced by Continue(), and ~SwHTMLParser().

◆ m_nDefListDeep

sal_uInt16 SwHTMLParser::m_nDefListDeep
private

◆ m_nEventId

ImplSVEvent* SwHTMLParser::m_nEventId
private

Definition at line 415 of file swhtml.hxx.

Referenced by CallParser(), SetControlSize(), SwHTMLParser(), and ~SwHTMLParser().

◆ m_nFloatingFrames

int SwHTMLParser::m_nFloatingFrames
private

Definition at line 481 of file swhtml.hxx.

Referenced by InsertFloatingFrame(), and NextToken().

◆ m_nFontStHeadStart

sal_uInt16 SwHTMLParser::m_nFontStHeadStart
private

◆ m_nFontStMin

sal_uInt16 SwHTMLParser::m_nFontStMin
private

◆ m_nListItems

int SwHTMLParser::m_nListItems
private

Definition at line 482 of file swhtml.hxx.

Referenced by NextToken().

◆ m_nMissingImgMaps

sal_uInt16 SwHTMLParser::m_nMissingImgMaps
private

Definition at line 422 of file swhtml.hxx.

Referenced by ConnectImageMaps(), Continue(), and InsertImage().

◆ m_nOpenParaToken

HtmlTokenId SwHTMLParser::m_nOpenParaToken
private

◆ m_nParaCnt

size_t SwHTMLParser::m_nParaCnt
private

Definition at line 423 of file swhtml.hxx.

Referenced by AppendTextNode(), BuildTable(), NextToken(), and Show().

◆ m_nSBModuleCnt

sal_uInt16 SwHTMLParser::m_nSBModuleCnt
private

Definition at line 421 of file swhtml.hxx.

Referenced by EndScript().

◆ m_nSelectEntryCnt

sal_uInt16 SwHTMLParser::m_nSelectEntryCnt
private

Definition at line 426 of file swhtml.hxx.

Referenced by EndSelect(), NewSelect(), and SetControlSize().

◆ m_nTableDepth

int SwHTMLParser::m_nTableDepth
private

◆ m_pActionViewShell

SwViewShell* SwHTMLParser::m_pActionViewShell
private

Definition at line 400 of file swhtml.hxx.

Referenced by CallEndAction(), CallStartAction(), and CheckActionViewShell().

◆ m_pAppletImpl

std::unique_ptr<SwApplet_Impl> SwHTMLParser::m_pAppletImpl
private

Definition at line 392 of file swhtml.hxx.

Referenced by Continue(), EndApplet(), EndObject(), InsertParam(), and NextToken().

◆ m_pCSS1Parser

std::unique_ptr<SwCSS1Parser> SwHTMLParser::m_pCSS1Parser
private

◆ m_pFootEndNoteImpl

std::unique_ptr<SwHTMLFootEndNote_Impl> SwHTMLParser::m_pFootEndNoteImpl
private

◆ m_pFormImpl

SwHTMLForm_Impl* SwHTMLParser::m_pFormImpl
private

◆ m_pImageMap

ImageMap* SwHTMLParser::m_pImageMap
private

Definition at line 408 of file swhtml.hxx.

Referenced by NextToken().

◆ m_pImageMaps

std::unique_ptr<ImageMaps> SwHTMLParser::m_pImageMaps
private

all Image-Maps that have been read

Definition at line 409 of file swhtml.hxx.

Referenced by FindImageMap(), NextToken(), and ~SwHTMLParser().

◆ m_pMarquee

rtl::Reference<SdrObject> SwHTMLParser::m_pMarquee
private

Definition at line 406 of file swhtml.hxx.

Referenced by DeleteSection(), EndMarquee(), InsertMarqueeText(), NewMarquee(), and NextToken().

◆ m_pNumRuleInfo

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

Definition at line 395 of file swhtml.hxx.

Referenced by GetNumInfo(), and ~SwHTMLParser().

◆ m_pPam

SwPaM* SwHTMLParser::m_pPam
private

◆ m_pSttNdIdx

SwNodeIndex* SwHTMLParser::m_pSttNdIdx
private

Definition at line 401 of file swhtml.hxx.

Referenced by CallParser(), Continue(), and ~SwHTMLParser().

◆ m_pTempViewFrame

SfxViewFrame* SwHTMLParser::m_pTempViewFrame
private

Definition at line 487 of file swhtml.hxx.

Referenced by SetControlSize(), and ~SwHTMLParser().

◆ m_sBaseURL

OUString SwHTMLParser::m_sBaseURL
private

◆ m_sJmpMark

OUString SwHTMLParser::m_sJmpMark
private

Definition at line 374 of file swhtml.hxx.

Referenced by BuildTable(), InsertImage(), NewDivision(), NewMultiCol(), SetAttr_(), and SwHTMLParser().

◆ m_sTitle

OUStringBuffer SwHTMLParser::m_sTitle
private

Definition at line 371 of file swhtml.hxx.

Referenced by NextToken().

◆ m_vPendingStack

std::vector<SwPending> SwHTMLParser::m_vPendingStack
private

◆ m_xAttrTab

std::shared_ptr<HTMLAttrTable> SwHTMLParser::m_xAttrTab
private

◆ m_xDoc

rtl::Reference<SwDoc> SwHTMLParser::m_xDoc
private

◆ m_xField

std::unique_ptr<SwField> SwHTMLParser::m_xField
private

Definition at line 407 of file swhtml.hxx.

Referenced by EndField(), InsertFieldText(), and NewField().

◆ m_xProgress

std::unique_ptr<ImportProgress> SwHTMLParser::m_xProgress
private

Definition at line 360 of file swhtml.hxx.

Referenced by CallParser(), Continue(), NextToken(), and ShowStatline().

◆ m_xTable

std::shared_ptr<HTMLTable> SwHTMLParser::m_xTable
private

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