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, const OUString &rFileName, const OUString &rBaseURL, 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
 
- Public Member Functions inherited from SfxHTMLParser
bool ParseMapOptions (ImageMap *pImageMap)
 
bool ParseAreaOptions (ImageMap *pImageMap, const OUString &rBaseURL, SvMacroItemId nEventMouseOver, SvMacroItemId nEventMouseOut)
 
- Public Member Functions inherited from SwClient
 SwClient ()
 
 SwClient (SwClient &&) noexcept
 
virtual ~SwClient () override
 
virtual void SwClientNotify (const SwModify &, const SfxHint &rHint) override
 
std::unique_ptr< sw::ModifyChangedHintCheckRegistration (const SfxPoolItem *pOldValue)
 
virtual void ModifyNotification (const SfxPoolItem *pOldValue, const SfxPoolItem *pNewValue)
 
void SwClientNotifyCall (const SwModify &rModify, const SfxHint &rHint)
 
const SwModifyGetRegisteredIn () const
 
SwModifyGetRegisteredIn ()
 
void EndListeningAll ()
 
void StartListeningToSameModifyAs (const SwClient &)
 
virtual bool GetInfo (SfxPoolItem &) const
 
- Public Member Functions inherited from sw::WriterListener
bool IsLast () const
 

Static Public Member Functions

static SvxNumType GetNumType (const OUString &rStr, SvxNumType eDfltType)
 
static void ResizeDrawObject (SdrObject *pObj, SwTwips nWidth)
 
static sal_uInt16 ToTwips (sal_uInt16 nPixel)
 
static OUString StripQueryFromPath (const OUString &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, const OUString &rBaseURL, const HTMLOptions &rOptions, SvMacroItemId nEventMouseOver, SvMacroItemId nEventMouseOut)
 
static double GetTableDataOptionsValNum (sal_uInt32 &nNumForm, LanguageType &eNumLang, const OUString &aValStr, const OUString &aNumStr, SvNumberFormatter &rFormatter)
 

Protected Member Functions

virtual void NextToken (HtmlTokenId nToken) override
 
virtual ~SwHTMLParser () override
 
virtual void Modify (const SfxPoolItem *pOld, const SfxPoolItem *pNew) 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
 
- Protected Member Functions inherited from SwClient
 SwClient (SwModify *pToRegisterIn)
 
SwModifyGetRegisteredInNonConst () const
 
- Protected Member Functions inherited from sw::WriterListener
 WriterListener ()
 
virtual ~WriterListener () COVERITY_NOEXCEPT_FALSE
 

Private Types

enum  JumpToMarks {
  JumpToMarks::NONE,
  JumpToMarks::Mark,
  JumpToMarks::Table,
  JumpToMarks::Region,
  JumpToMarks::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 (const OUString &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 GetMarginsFromContextWithNumBul (sal_uInt16 &nLeft, sal_uInt16 &nRight, short &nIndent) const
 
void GetULSpaceFromContext (sal_uInt16 &rUpper, sal_uInt16 &rLower) const
 
void MovePageDescAttrs (SwNode *pSrcNd, sal_uLong 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 NewNumBulList (HtmlTokenId nToken)
 
void EndNumBulList (HtmlTokenId nToken=HtmlTokenId::NONE)
 
void NewNumBulListItem (HtmlTokenId nToken)
 
void EndNumBulListItem (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 ClearFootnotesMarksInRange (const SwNodeIndex &rSttIdx, const SwNodeIndex &rEndIdx)
 
void DeleteSection (SwStartNode *pSttNd)
 
void NewField ()
 
void EndField ()
 
void InsertFieldText ()
 
void InsertSpacer ()
 
ImageMapFindImageMap (const OUString &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 (const sal_Char *pTag)
 
void InsertComment (const OUString &rName, const sal_Char *pTag=nullptr)
 
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 (const OUString &rContent)
 
void FillFootNoteInfo (const OUString &rContent)
 
void InsertFootEndNote (const OUString &rName, bool bEndNote, bool bFixed)
 
void FinishFootEndNote ()
 
void InsertFootEndNoteText ()
 
SwNodeIndexGetFootEndNoteSection (const OUString &rName)
 
void DeleteFootEndNoteImpl ()
 
sal_Int32 StripTrailingLF ()
 
void StripTrailingPara ()
 
bool CanRemoveNode (sal_uLong nNodeIdx) const
 
bool HasCurrentParaFlys (bool bNoSurroundOnly=false, bool bSurroundOnly=false) const
 
bool PendingObjectsInPaM (SwPaM &rPam) const
 

Static Private Member Functions

static void SetFrameFormatAttrs (SfxItemSet &rItemSet, HtmlFrameFormatFlags nFlags, SfxItemSet &rFrameItemSet)
 
static void SetFixSize (const Size &rPixSize, const Size &rTwipDfltSize, bool bPrcWidth, bool bPrcHeight, SvxCSS1PropertyInfo const &rPropInfo, SfxItemSet &rFlyItemSet)
 
static void SetVarSize (SvxCSS1PropertyInfo const &rPropInfo, SfxItemSet &rFlyItemSet, SwTwips nDfltWidth=MINLAY, sal_uInt8 nDltPrcWidth=0)
 
static void SetSpace (const Size &rPixSpace, SfxItemSet &rItemSet, SvxCSS1PropertyInfo &rPropInfo, SfxItemSet &rFlyItemSet)
 
static bool HasStyleOptions (const OUString &rStyle, const OUString &rId, const OUString &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 const 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< SwFrameFormat * > 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
 
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_bDocInitalized: 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_isInTableStructure
 
sal_Int32 m_nTableDepth
 
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...
 

Friends

class SectionSaveStruct
 
class CellSaveStruct
 
class CaptionSaveStruct
 

Detailed Description

Definition at line 329 of file swhtml.hxx.

Member Enumeration Documentation

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

Definition at line 407 of file swhtml.hxx.

Constructor & Destructor Documentation

SwHTMLParser::~SwHTMLParser ( )
overrideprotectedvirtual
SwHTMLParser::SwHTMLParser ( SwDoc pD,
SwPaM rCursor,
SvStream rIn,
const OUString &  rFileName,
const OUString &  rBaseURL,
bool  bReadNewDoc,
SfxMedium pMed,
bool  bReadUTF8,
bool  bIgnoreHTMLComments,
const OUString &  rNamespace 
)

Member Function Documentation

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

Definition at line 5536 of file swhtml.cxx.

References m_InfoNames.

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

Definition at line 2146 of file swhtml.cxx.

References AM_NOSPACE, AM_SOFTNOSPACE, AM_SPACE, HTMLAttr::ClearPrev(), HTMLAttr::Clone(), SwpHints::Count(), SwTextNode::DeleteAttribute(), g_pBreakIt, SwpHints::Get(), SwContentNode::GetAnyFormatColl(), SwTextAttr::GetAttr(), SwBreakIt::GetBreakIter(), SwTextAttr::GetEnd(), SwNodeIndex::GetIndex(), HTMLAttr::GetItem(), SwHTMLNumRuleInfo::GetLevel(), SvxULSpaceItem::GetLower(), HTMLAttr::GetNext(), SwNodeIndex::GetNode(), SwPaM::GetNode(), GetNumInfo(), SwPaM::GetPoint(), HTMLAttr::GetPrev(), SwTextNode::GetpSwpHints(), SwTextAttr::GetStart(), HTMLAttr::GetSttCnt(), HTMLAttr::GetSttPara(), HTMLAttr::GetSttParaIdx(), 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, SwPosition::nNode, 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(), SwTextNode::SetAttr(), SetAttr(), SetNodeNum(), HTMLAttr::SetStart(), Show(), StripTrailingLF(), swhtml_css1atr_equalFontItems(), SfxPoolItem::Which(), and SwTextAttr::Which().

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

std::shared_ptr< HTMLTable > SwHTMLParser::BuildTable ( SvxAdjust  eCellAdjust,
bool  bIsParentHead = false,
bool  bHasParentSection = true,
bool  bHasToFlow = false 
)
private
void SwHTMLParser::BuildTableCaption ( HTMLTable pTable)
private
void SwHTMLParser::BuildTableCell ( HTMLTable pTable,
bool  bReadOptions,
bool  bHead 
)
private

Definition at line 3186 of file htmltab.cxx.

References aHTMLPAlignTable, AM_NOSPACE, AppendTextNode(), SwIndex::Assign(), ATT_VAR_SIZE, BuildTable(), CellSaveStruct, SwHTMLNumRuleInfo::Clear(), ClearContext(), EndContext(), SwNode::EndOfSectionNode(), EndSections(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), fnMoveBackward, Get(), HTMLTable::GetClass(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), HTMLTable::GetContext(), HTMLTable::GetDirection(), HTMLTable::GetHSpace(), HTMLTable::GetId(), SwIndex::GetIndex(), SwNode::GetIndex(), SfxItemSet::GetItemState(), GetMarginsFromContextWithNumBul(), SwNodeIndex::GetNode(), GetNumInfo(), SwPaM::GetPoint(), HTMLTableContext::GetPos(), HTMLTable::GetStyle(), SwContentNode::GetSwAttrSet(), HTMLTable::GetTableAdjust(), SwNode::GetTextNode(), GetValue, HTMLTable::GetVSpace(), HTMLTable::HasColTags(), HasCurrentParaBookmarks(), HasCurrentParaFlys(), HTMLTable::HasParentSection(), HTMLTable::HasToFly(), HeadlineNoBorder, i, InsertAttrs(), InsertTableContents(), InsertTableSection(), HTMLTable::IsNewDoc(), LEFT, 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, MM50, SwPaM::Move(), SwPosition::nContent, NewMarquee(), NextToken(), SwPosition::nNode, sw::sidebar::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(), RIGHT, SaveAttrTab(), SetAnchorAndAdjustment(), SwContentNode::SetAttr(), SetAttr(), HTMLTable::SetBGBrush(), SwFormat::SetFormatAttr(), HTMLTable::SetTable(), SwFormatFrameSize::SetWidthPercent(), SplitAttrTab(), StripTrailingLF(), and StripTrailingPara().

Referenced by BuildTableRow().

void SwHTMLParser::BuildTableColGroup ( HTMLTable pTable,
bool  bReadOptions 
)
private
void SwHTMLParser::BuildTableRow ( HTMLTable pTable,
bool  bReadOptions,
SvxAdjust  eGrpAdjust,
sal_Int16  eVertOri 
)
private
void SwHTMLParser::BuildTableSection ( HTMLTable pTable,
bool  bReadOptions,
bool  bHead 
)
private
SwViewShell * SwHTMLParser::CallEndAction ( bool  bChkAction = false,
bool  bChkPtr = true 
)
private
SvParserState SwHTMLParser::CallParser ( )
overridevirtual
SwViewShell * SwHTMLParser::CallStartAction ( SwViewShell pVSh = nullptr,
bool  bChkPtr = true 
)
private
bool SwHTMLParser::CanRemoveNode ( sal_uLong  nNodeIdx) const
private
SwViewShell * SwHTMLParser::CheckActionViewShell ( )
private

Definition at line 2675 of file swhtml.cxx.

References m_pActionViewShell, and m_xDoc.

Referenced by Continue(), and ShowStatline().

void SwHTMLParser::ClearContext ( HTMLAttrContext pContext)
private
void SwHTMLParser::ClearFootnotesMarksInRange ( const SwNodeIndex rSttIdx,
const SwNodeIndex rEndIdx 
)
private
void SwHTMLParser::ConnectImageMaps ( )
private
void SwHTMLParser::Continue ( HtmlTokenId  nToken)
overridevirtual

Definition at line 589 of file swhtml.cxx.

References SwIndex::Assign(), CallEndAction(), CallStartAction(), SwContentNode::CanJoinNext(), SwContentNode::CanJoinPrev(), CanRemoveNode(), CheckActionViewShell(), SwTextNode::ChgFormatColl(), SwCursorShell::ClearMark(), ConnectImageMaps(), HTMLParser::Continue(), SwPaM::DeleteMark(), EndApplet(), EndContext(), EndNumBulList(), EndObject(), SwNode::EndOfSectionIndex(), fnMoveBackward, fnMoveForward, fnParaEnd, SwTextNode::FormatToTextAttr(), SwPaM::GetBound(), SwPaM::GetContentNode(), SwCursorShell::GetCursor(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SfxHTMLParser::GetMedium(), SwNodeIndex::GetNode(), GetNumInfo(), TextFormatCollFunc::GetNumRule(), SwPaM::GetPoint(), SwContentNode::GetpSwAttrSet(), SwTextNode::GetText(), SwTextNode::GetTextColl(), SwNode::GetTextNode(), GoInNode(), GoPrevPara(), HasCurrentParaBookmarks(), HasCurrentParaFlys(), 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(), SwPosition::nNode, PopContext(), SwTextNode::ResetAllAttr(), Script, SwTextNode::SetAttr(), SetAttr(), SwPaM::SetMark(), SwCursorShell::SetMark(), SwNode::StartOfSectionIndex(), and StripTrailingLF().

SvxBrushItem * SwHTMLParser::CreateBrushItem ( const Color pColor,
const OUString &  rImageURL,
const OUString &  rStyle,
const OUString &  rId,
const OUString &  rClass 
)
bool SwHTMLParser::CreateContainer ( const OUString &  rClass,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
HTMLAttrContext pContext 
)
private
SwHTMLParser::DECL_LINK ( AsyncCallback  ,
void ,
void   
)
private
void SwHTMLParser::DeleteAttr ( HTMLAttr pAttr)
private
void SwHTMLParser::DeleteFootEndNoteImpl ( )
private

Definition at line 215 of file htmlftn.cxx.

References m_pFootEndNoteImpl.

Referenced by ~SwHTMLParser().

void SwHTMLParser::DeleteFormImpl ( )
private

Definition at line 582 of file htmlform.cxx.

References m_pFormImpl.

Referenced by ~SwHTMLParser().

void SwHTMLParser::DeleteSection ( SwStartNode pSttNd)
private
void SwHTMLParser::DeregisterHTMLTable ( HTMLTable pOld)

Definition at line 1051 of file htmltab.cxx.

References m_aOrphanedTableBoxes, m_aTables, and HTMLTable::m_xBox1.

Referenced by HTMLTable::~HTMLTable().

void SwHTMLParser::DocumentDetected ( )
private

Definition at line 946 of file swhtml.cxx.

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

Referenced by NextToken().

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

Definition at line 1331 of file htmlgrin.cxx.

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

Referenced by NextToken().

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

Definition at line 3650 of file swhtml.cxx.

References EndTag(), m_aBaseFontStack, and m_nBaseFontStMin.

Referenced by NextToken().

void SwHTMLParser::EndContext ( HTMLAttrContext pContext)
private
void SwHTMLParser::EndContextAttrs ( HTMLAttrContext pContext)
private
void SwHTMLParser::EndDefList ( )
private
void SwHTMLParser::EndDefListItem ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private
void SwHTMLParser::EndDivision ( )
private

Definition at line 388 of file htmlsect.cxx.

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

Referenced by NextToken().

void SwHTMLParser::EndField ( )
private

Definition at line 533 of file htmlfld.cxx.

References Author, DocInfo, ExtUser, and Filename.

Referenced by NextToken().

void SwHTMLParser::EndFontAttr ( HtmlTokenId  nToken)
private

Definition at line 3878 of file swhtml.cxx.

References EndTag(), m_aFontStack, and m_nFontStMin.

Referenced by NextToken().

void SwHTMLParser::EndForm ( bool  bAppend = true)
private
void SwHTMLParser::EndHeading ( )
private
void SwHTMLParser::EndMarquee ( )
private
void SwHTMLParser::EndNumBulList ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private
void SwHTMLParser::EndNumBulListItem ( HtmlTokenId  nToken,
bool  bSetColl 
)
private

Definition at line 560 of file htmlnumreader.cxx.

References AM_NOSPACE, getOnToken(), nPos, SetAttr, and SetTextCollAttrs().

Referenced by NextToken().

void SwHTMLParser::EndObject ( )
private
void SwHTMLParser::EndPara ( bool  bReal = false)
private
void SwHTMLParser::EndScript ( )
private
bool SwHTMLParser::EndSection ( bool  bLFStripped = false)
private
bool SwHTMLParser::EndSections ( bool  bLFStripped)
private
void SwHTMLParser::EndSelect ( )
private
void SwHTMLParser::EndStyle ( )
private

Definition at line 1673 of file htmlcss1.cxx.

References m_aStyleSource, m_bIgnoreRawData, and m_pCSS1Parser.

Referenced by NextToken().

void SwHTMLParser::EndTag ( HtmlTokenId  nToken)
private

Definition at line 3558 of file swhtml.cxx.

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

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

void SwHTMLParser::EndTextArea ( )
private
void SwHTMLParser::EndTextFormatColl ( HtmlTokenId  nToken)
private
bool SwHTMLParser::FileDownload ( const OUString &  rURL,
OUString &  rStr 
)
private
void SwHTMLParser::FillEndNoteInfo ( const OUString &  rContent)
private

Definition at line 114 of file htmlftn.cxx.

References lcl_html_getEndNoteInfo(), and m_xDoc.

Referenced by ParseMoreMetaOptions().

void SwHTMLParser::FillFootNoteInfo ( const OUString &  rContent)
private
ImageMap * SwHTMLParser::FindImageMap ( const OUString &  rURL) const
private

Definition at line 99 of file htmlgrin.cxx.

References m_pImageMaps.

Referenced by ConnectImageMaps(), and InsertImage().

void SwHTMLParser::FinishFootEndNote ( )
private
void SwHTMLParser::FixHeaderFooterDistance ( bool  bHeader,
const SwPosition pOldPos 
)
private
HTMLAttr ** SwHTMLParser::GetAttrTabEntry ( sal_uInt16  nWhich)
private
SwTwips SwHTMLParser::GetCurrentBrowseWidth ( )
private
const SwFormatColl * SwHTMLParser::GetCurrFormatColl ( ) const
private

Definition at line 4552 of file swhtml.cxx.

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

Referenced by InsertHorzRule(), and NewFontAttr().

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

Definition at line 1058 of file htmltab.cxx.

References m_xDoc.

Referenced by HTMLTable::FixFrameFormat().

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

Definition at line 220 of file htmlftn.cxx.

References aName, i, and m_pFootEndNoteImpl.

Referenced by NewDivision().

void SwHTMLParser::GetMarginsFromContext ( sal_uInt16 &  nLeft,
sal_uInt16 &  nRight,
short &  nIndent,
bool  bIgnoreCurrent = false 
) const
private
void SwHTMLParser::GetMarginsFromContextWithNumBul ( sal_uInt16 &  nLeft,
sal_uInt16 &  nRight,
short &  nIndent 
) const
private
SwHTMLNumRuleInfo& SwHTMLParser::GetNumInfo ( )
inlineprivate
SvxNumType SwHTMLParser::GetNumType ( const OUString &  rStr,
SvxNumType  eDfltType 
)
static
void SwHTMLParser::GetULSpaceFromContext ( sal_uInt16 &  rUpper,
sal_uInt16 &  rLower 
) const
private
bool SwHTMLParser::HasCurrentParaBookmarks ( bool  bIgnoreStack = false) const
private
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 4486 of file swhtml.cxx.

References SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwPaM::GetPoint(), SwFormatSurround::GetSurround(), SwFormat::GetSurround(), i, m_pPam, m_xDoc, SwPosition::nNode, and SwFrameFormats::size().

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

bool SwHTMLParser::HasStyleOptions ( const OUString &  rStyle,
const OUString &  rId,
const OUString &  rClass,
const OUString *  pLang = nullptr,
const OUString *  pDir = nullptr 
)
inlinestaticprivate
sal_uInt16 SwHTMLParser::IncGrfsThatResizeTable ( )
private

Definition at line 3175 of file htmltab.cxx.

References m_xTable.

Referenced by InsertImage(), and InsertInput().

void SwHTMLParser::InsertAttr ( const SfxPoolItem rItem,
bool  bInsAtStart 
)
private
void SwHTMLParser::InsertAttr ( HTMLAttr **  ppAttr,
const SfxPoolItem rItem,
HTMLAttrContext pCntxt 
)
private
void SwHTMLParser::InsertAttrs ( std::deque< std::unique_ptr< HTMLAttr >>  rAttrs)
private
void SwHTMLParser::InsertAttrs ( SfxItemSet rItemSet,
SvxCSS1PropertyInfo const &  rPropInfo,
HTMLAttrContext pContext,
bool  bCharLvl = false 
)
private
void SwHTMLParser::InsertBasicDocEvent ( const OUString &  aEventName,
const OUString &  rName,
ScriptType  eScrType,
const OUString &  rScrType 
)
private
void SwHTMLParser::InsertBodyOptions ( )
private
void SwHTMLParser::InsertBookmark ( const OUString &  rName)
private
void SwHTMLParser::InsertComment ( const OUString &  rName,
const sal_Char pTag = nullptr 
)
private
void SwHTMLParser::InsertCommentText ( const sal_Char pTag)
private

Definition at line 582 of file htmlfld.cxx.

Referenced by NextToken().

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 843 of file htmlform.cxx.

References Any, BOTTOM, SfxItemSet::ClearItem(), COL_TRANSPARENT(), vcl::unohelper::ConvertFontWeight(), convertTwipToMm100(), SvxMacroTableDtor::empty(), SwNode::FindFlyStartNode(), SvxFontItem::GetCharSet(), SwHTMLForm_Impl::GetControlEventManager(), SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), SwHTMLForm_Impl::GetFormComps(), SwHTMLForm_Impl::GetHeaderAttrs(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwNodeIndex::GetNode(), SvxFontItem::GetPitch(), SwPaM::GetPoint(), SvxLRSpaceItem::GetRight(), SfxHTMLParser::GetScriptTypeString(), SwHTMLForm_Impl::GetServiceFactory(), SwHTMLForm_Impl::GetShapes(), SvxFontItem::GetStyleName(), SvxULSpaceItem::GetUpper(), GetValue, Size::Height(), lcl_html_setEvents(), LEFT, 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, SwPosition::nNode, sw::sidebar::NONE, RES_BACKGROUND, RES_CHRATR_COLOR, RES_CHRATR_CROSSEDOUT, RES_CHRATR_FONT, RES_CHRATR_FONTSIZE, RES_CHRATR_POSTURE, RES_CHRATR_UNDERLINE, RES_CHRATR_WEIGHT, RES_LR_SPACE, RES_UL_SPACE, SwHTMLForm_Impl::SetFCompPropSet(), SvxLRSpaceItem::SetTextFirstLineOfst(), SVX_CSS1_LTYPE_TWIP, SVX_CSS1_POS_ABSOLUTE, TOP, and Size::Width().

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

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

Definition at line 351 of file htmlplug.cxx.

References aData, aHTMLImgHAlignTable, aHTMLImgVAlignTable, aName, SvCommandList::Append(), ATT_FIX_SIZE, 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(), Size::getHeight(), SwNodeIndex::GetIndex(), INetURLObject::GetMainURL(), URIHelper::GetMaybeFileHdl(), SwNode::GetNodes(), SwOLEObj::GetObject(), SwNode::GetOLENode(), SwOLENode::GetOLEObj(), Graphic::GetSizePixel(), Size::getWidth(), Size::Height(), HTML_DFLT_EMBED_HEIGHT, HTML_DFLT_EMBED_WIDTH, comphelper::InitPropertySequence(), comphelper::EmbeddedObjectContainer::InsertEmbeddedObject(), LEFT, com::sun::star::uno::makeAny(), comphelper::makePropertyValue(), INetURLObject::NONE, sw::sidebar::NONE, OOO_STRING_SW_HTML_O_Hidden, OutputDevice::PixelToLogic(), read_uInt8s_ToOString(), RES_CNTNT, RES_FRMATR_BEGIN, RES_FRMATR_END, Reader::ResetFrameFormatAttrs(), SwFormatAnchor::SetAnchor(), SwDoc::SetFlyFrameAttr(), svt::EmbeddedObjectRef::SetGraphic(), Size::setHeight(), SwFrameFormat::SetName(), SwNoTextNode::SetTitle(), INetURLObject::SetURL(), Size::setWidth(), URIHelper::SmartRel2Abs(), SO3_PLUGIN_CLASSID, StripQueryFromPath(), comphelper::EmbeddedObjectContainer::SwitchPersistence(), TOP, svt::EmbeddedObjectRef::TryRunningState(), USHRT_MAX, and Size::Width().

Referenced by NextToken().

void SwHTMLParser::InsertFieldText ( )
private

Definition at line 573 of file htmlfld.cxx.

Referenced by NextToken().

void SwHTMLParser::InsertFloatingFrame ( )
private
void SwHTMLParser::InsertFlyFrame ( const SfxItemSet rItemSet,
HTMLAttrContext pCntxt,
const OUString &  rId 
)
private
void SwHTMLParser::InsertFootEndNote ( const OUString &  rName,
bool  bEndNote,
bool  bFixed 
)
private

Definition at line 173 of file htmlftn.cxx.

References m_pFootEndNoteImpl.

Referenced by NewAnchor().

void SwHTMLParser::InsertFootEndNoteText ( )
private

Definition at line 209 of file htmlftn.cxx.

References m_pFootEndNoteImpl.

Referenced by NextToken().

void SwHTMLParser::InsertHorzRule ( )
private
void SwHTMLParser::InsertIDOption ( )
private

Definition at line 5038 of file swhtml.cxx.

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

Referenced by NextToken().

void SwHTMLParser::InsertImage ( )
private

Definition at line 320 of file htmlgrin.cxx.

References Size::AdjustHeight(), Size::AdjustWidth(), aName, ATT_FIX_SIZE, Box, convertLineEnd(), GraphicDescriptor::Detect(), SvxMacroTableDtor::empty(), ERRCODE_NONE, EXTENDED_STYPE, FindImageMap(), fnMoveBackward, fnMoveForward, INetURLObject::GetAbsURL(), SwTextNode::GetActualListLevel(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), editeng::SvxBorderLine::GetColor(), SwFormat::GetColor(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), INetURLObject::getData(), Application::GetDefaultDevice(), GetDefaultScriptType(), SwHTMLNumRuleInfo::GetDepth(), HTMLOption::GetEnum(), GraphicFilter::GetGraphicFilter(), Size::getHeight(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwHTMLNumRuleInfo::GetLevel(), SwFormatINetFormat::GetMacro(), SvxMacroItem::GetMacroTable(), MapMode::GetMapUnit(), SwFormatINetFormat::GetName(), SwPaM::GetNode(), SwNode::GetNodeType(), HTMLOption::GetNumber(), GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), TextFormatCollFunc::GetNumRule(), SwPaM::GetPoint(), 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(), GetValue, SwFormatINetFormat::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_bChkJumpMark, m_eJumpTo, m_nMissingImgMaps, m_pCSS1Parser, m_pPam, m_sBaseURL, m_sJmpMark, m_xAttrTab, m_xDoc, m_xTable, MAXLEVEL, MINFLY, SwPaM::Move(), nBorder, SwPosition::nContent, SwPosition::nNode, sw::sidebar::NONE, NONE, 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(), SetFrameFormatAttrs(), Size::setHeight(), SwNumRule::SetInvalidRule(), SvxBoxItem::SetLine(), SvxMacroItem::SetMacro(), SwFormatURL::SetMap(), SwFrameFormat::SetName(), SwGrfNode::SetScaleImageMap(), SetSpace(), SetTextCollAttrs(), SwNoTextNode::SetTitle(), SwGrfNode::SetTwipSize(), SwFormatURL::SetURL(), Size::setWidth(), SwFormatFrameSize::SetWidthPercent(), STARBASIC, comphelper::string::stripEnd(), StripQueryFromPath(), SVX_CSS1_LTYPE_PERCENTAGE, SVX_CSS1_LTYPE_TWIP, Table, Text, TOP, and Size::Width().

Referenced by NextToken().

void SwHTMLParser::InsertInput ( )
private
void SwHTMLParser::InsertLineBreak ( )
private
void SwHTMLParser::InsertLink ( )
private
void SwHTMLParser::InsertMarqueeText ( )
private

Definition at line 565 of file htmldrawreader.cxx.

References OBJ_TEXT.

Referenced by NextToken().

void SwHTMLParser::InsertParaAttrs ( const SfxItemSet rItemSet)
private
void SwHTMLParser::InsertParam ( )
private

Definition at line 987 of file htmlplug.cxx.

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

Referenced by NextToken().

void SwHTMLParser::InsertSelectOption ( )
private
void SwHTMLParser::InsertSelectText ( )
private
void SwHTMLParser::InsertSpacer ( )
private
std::unique_ptr< HTMLTableCnts > SwHTMLParser::InsertTableContents ( bool  bHead)
const SwStartNode * SwHTMLParser::InsertTableSection ( const SwStartNode pPrevStNd)
const SwStartNode * SwHTMLParser::InsertTableSection ( sal_uInt16  nPoolId)
SwStartNode * SwHTMLParser::InsertTempTableCaptionSection ( )
private
void SwHTMLParser::InsertTextAreaText ( HtmlTokenId  nToken)
private
bool SwHTMLParser::IsReqIF ( ) const

Definition at line 1063 of file htmltab.cxx.

References m_bReqIF.

Referenced by HTMLTable::FixFrameFormat().

void SwHTMLParser::Modify ( const SfxPoolItem pOld,
const SfxPoolItem pNew 
)
overrideprotectedvirtual

Reimplemented from SwClient.

Definition at line 931 of file swhtml.cxx.

References SwClient::EndListeningAll(), SwClient::GetRegisteredIn(), RES_OBJECTDYING, and SfxPoolItem::Which().

void SwHTMLParser::MovePageDescAttrs ( SwNode pSrcNd,
sal_uLong  nDestIdx,
bool  bFormatBreak 
)
private
void SwHTMLParser::NewAnchor ( )
private
void SwHTMLParser::NewAttr ( const std::shared_ptr< HTMLAttrTable > &  rAttrTab,
HTMLAttr **  ppAttr,
const SfxPoolItem rItem 
)
private
void SwHTMLParser::NewBasefontAttr ( )
private
void SwHTMLParser::NewCharFormat ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewDefList ( )
private
void SwHTMLParser::NewDefListItem ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewDivision ( HtmlTokenId  nToken)
private

Definition at line 59 of file htmlsect.cxx.

References aHTMLPAlignTable, AM_NORMAL, AM_NOSPACE, aName, AppendTextNode(), cDelim, ClearFootnotesMarksInRange(), CONTENT_SECTION, CreateContainer(), sfx2::cTokenSeparator, DoPositioning(), SwNode::EndOfSectionIndex(), FILE_LINK_SECTION, fnMoveBackward, FooterDist, SwFormat::GetContent(), SwFormatContent::GetContentIdx(), HTMLOption::GetEnum(), GetFootEndNoteSection(), SwFormat::GetFooter(), SwFormatFooter::GetFooterFormat(), SwFormat::GetHeader(), SwFormatHeader::GetHeaderFormat(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwPaM::GetMark(), SwPageDesc::GetMaster(), SwNodeIndex::GetNode(), SwPaM::GetPoint(), HTMLOption::GetString(), SwNode::GetTextNode(), HTMLOption::GetToken(), HasStyleOptions(), HeaderDist, i, InsertAttr(), InsertAttrs(), m_bChkJumpMark, m_bReadingHeaderOrFooter, m_eJumpTo, m_pCSS1Parser, m_pPam, m_sBaseURL, m_sJmpMark, m_xAttrTab, m_xDoc, SwPaM::Move(), MovePageDescAttrs(), MultiColMask, SwPosition::nContent, NewMultiCol(), SwPosition::nNode, NONE, nPos, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdfootnote, ParseStyleOptions(), PendingObjectsInPaM(), 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().

void SwHTMLParser::NewField ( )
private
void SwHTMLParser::NewFontAttr ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewForm ( bool  bAppend = true)
private
void SwHTMLParser::NewHeading ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewMarquee ( HTMLTable pCurTable = nullptr)
private
void SwHTMLParser::NewMultiCol ( sal_uInt16  columnsFromCss = 0)
private
void SwHTMLParser::NewNumBulList ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewNumBulListItem ( HtmlTokenId  nToken)
private
void SwHTMLParser::NewPara ( )
private
void SwHTMLParser::NewScript ( )
private

Definition at line 63 of file htmlbas.cxx.

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

Referenced by NextToken().

void SwHTMLParser::NewSelect ( )
private
void SwHTMLParser::NewStdAttr ( HtmlTokenId  nToken)
private
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
void SwHTMLParser::NewStyle ( )
private

Definition at line 1657 of file htmlcss1.cxx.

References HTMLOption::GetString(), HTMLOption::GetToken(), i, m_bIgnoreRawData, and sCSS_mimetype.

Referenced by NextToken().

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

Definition at line 965 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(), EndNumBulList(), EndNumBulListItem(), EndObject(), EndPara(), EndScript(), EndSelect(), EndStyle(), EndTag(), EndTextArea(), EndTextFormatColl(), SwNode::FindFootnoteStartNode(), SwNode::FindTableNode(), SwNode::GetFlyFormat(), SfxObjectShell::GetHeaderAttributes(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), SwPaM::GetNode(), SwXFrame::GetOrCreateSdrObject(), SwPaM::GetPoint(), 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_bDocInitalized, 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_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, SwPosition::nContent, NewAnchor(), NewAttr(), NewBasefontAttr(), NewCharFormat(), NewDefList(), NewDefListItem(), NewDivision(), NewField(), NewFontAttr(), NewForm(), NewHeading(), NewMarquee(), NewMultiCol(), NewNumBulList(), NewNumBulListItem(), NewPara(), NewScript(), NewSelect(), NewStdAttr(), NewStyle(), NewTextArea(), NewTextFormatColl(), SwPosition::nNode, nPos, OOO_STRING_SVTOOLS_HTML_noembed, SfxHTMLParser::ParseAreaOptions(), SfxHTMLParser::ParseMapOptions(), ParseMetaOptions(), ParseStyleOptions(), 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_SENDADRESS, SetAttr(), SetTextCollAttrs(), Show(), STRIKEOUT_SINGLE, comphelper::string::strip(), and WEIGHT_BOLD.

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

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

Definition at line 5522 of file swhtml.cxx.

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

Referenced by NextToken().

void SwHTMLParser::ParseMoreMetaOptions ( )
private
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
bool SwHTMLParser::PendingObjectsInPaM ( SwPaM rPam) const
private

Definition at line 5289 of file htmltab.cxx.

References SwPaM::End(), SwTable::GetTableNode(), m_aTables, SwPosition::nNode, and SwPaM::Start().

Referenced by NewDivision().

std::unique_ptr< HTMLAttrContext > SwHTMLParser::PopContext ( HtmlTokenId  nToken = HtmlTokenId::NONE)
private
void SwHTMLParser::PushContext ( std::unique_ptr< HTMLAttrContext > &  rCntxt)
inlineprivate
void SwHTMLParser::RegisterDrawObjectToTable ( HTMLTable pCurTable,
SdrObject pObj,
sal_uInt8  nWidth 
)
staticprivate

Definition at line 3180 of file htmltab.cxx.

References HTMLTable::RegisterDrawObject().

void SwHTMLParser::RegisterFlyFrame ( SwFrameFormat pFlyFrame)
private
void SwHTMLParser::RegisterHTMLTable ( HTMLTable pNew)
inline

Definition at line 915 of file swhtml.hxx.

Referenced by HTMLTable::HTMLTable().

void SwHTMLParser::ResizeDrawObject ( SdrObject pObj,
SwTwips  nWidth 
)
static
void SwHTMLParser::RestoreAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab)
private
void SwHTMLParser::RestoreDocContext ( HTMLAttrContext pCntxt)
private
void SwHTMLParser::SaveAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab)
private
void SwHTMLParser::SaveDocContext ( HTMLAttrContext pCntxt,
HtmlContextFlags  nFlags,
const SwPosition pNewPos 
)
private
void SwHTMLParser::SetAnchorAndAdjustment ( sal_Int16  eVertOri,
sal_Int16  eHoriOri,
const SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFrameSet 
)
private
void SwHTMLParser::SetAnchorAndAdjustment ( sal_Int16  eVertOri,
sal_Int16  eHoriOri,
SfxItemSet rFrameSet,
bool  bDontAppend = false 
)
private
void SwHTMLParser::SetAnchorAndAdjustment ( const SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFrameItemSet 
)
private
void SwHTMLParser::SetAttr ( bool  bChkEnd = true,
bool  bBeforeTable = false,
std::deque< std::unique_ptr< HTMLAttr >> *  pPostIts = nullptr 
)
inlineprivate
void SwHTMLParser::SetAttr_ ( bool  bChkEnd,
bool  bBeforeTable,
std::deque< std::unique_ptr< HTMLAttr >> *  pPostIts 
)
private

Definition at line 2690 of file swhtml.cxx.

References IDocumentMarkAccess::BOOKMARK, Database, SwFrameFormat::DelFrames(), DONTREPLACE, fnMoveBackward, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetContentAnchor(), SwNode::GetContentNode(), HTMLAttr::GetEndCnt(), HTMLAttr::GetEndPara(), HTMLAttr::GetEndParaIdx(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SwIndex::GetIndex(), SwNodeIndex::GetIndex(), SwNodeIndex::GetNode(), GetNumInfo(), SwHTMLNumRuleInfo::GetNumRule(), SwPaM::GetPoint(), HTMLAttr::GetPrev(), HTMLAttr::GetSttPara(), GetValue, SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), SwNodes::GoPrevious(), isCHRATR(), HTMLAttr::IsLikePara(), isTXTATR_NOEND(), isTXTATR_WITHEND(), LEFT, 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(), Mark, SwPosition::nContent, sw::mark::New, SwPosition::nNode, NONE, Postit, RES_BACKGROUND, RES_BREAK, RES_FLTR_BOOKMARK, RES_LR_SPACE, RES_PAGEDESC, RES_TXTATR_ANNOTATION, RES_TXTATR_FIELD, RES_TXTATR_INETFMT, RES_TXTATR_INPUTFIELD, Script, SwFormatAnchor::SetAnchor(), SwContentNode::SetAttr(), SwFormat::SetFormatAttr(), SwFormatVertOrient::SetRelationOrient(), SwFormatHoriOrient::SetRelationOrient(), setSvxBrushItemAsFillAttributesToTargetSet(), SwFormatAnchor::SetType(), sName, TOP, and SfxPoolItem::Which().

Referenced by SetAttr().

void SwHTMLParser::SetControlSize ( const css::uno::Reference< css::drawing::XShape > &  rShape,
const Size rTextSz,
bool  bMinWidth,
bool  bMinHeight 
)
private
void SwHTMLParser::SetFixSize ( const Size rPixSize,
const Size rTwipDfltSize,
bool  bPrcWidth,
bool  bPrcHeight,
SvxCSS1PropertyInfo const &  rPropInfo,
SfxItemSet rFlyItemSet 
)
staticprivate
void SwHTMLParser::SetFrameFormatAttrs ( SfxItemSet rItemSet,
HtmlFrameFormatFlags  nFlags,
SfxItemSet rFrameItemSet 
)
staticprivate
void SwHTMLParser::SetNodeNum ( sal_uInt8  nLevel)
private
void SwHTMLParser::SetSpace ( const Size rPixSpace,
SfxItemSet rItemSet,
SvxCSS1PropertyInfo rPropInfo,
SfxItemSet rFlyItemSet 
)
staticprivate
void SwHTMLParser::SetTextCollAttrs ( HTMLAttrContext pContext = nullptr)
private
void SwHTMLParser::SetVarSize ( SvxCSS1PropertyInfo const &  rPropInfo,
SfxItemSet rFlyItemSet,
SwTwips  nDfltWidth = MINLAY,
sal_uInt8  nDltPrcWidth = 0 
)
staticprivate
void SwHTMLParser::Show ( )
private
void SwHTMLParser::ShowStatline ( )
private
void SwHTMLParser::SplitAttrTab ( const SwPosition rNewPos)
private
void SwHTMLParser::SplitAttrTab ( std::shared_ptr< HTMLAttrTable > const &  rNewAttrTab,
bool  bMoveEndBack 
)
private
void SwHTMLParser::SplitPREListingXMP ( HTMLAttrContext pCntxt)
private
OUString SwHTMLParser::StripQueryFromPath ( const OUString &  rBase,
const OUString &  rPath 
)
static

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

Definition at line 338 of file htmlplug.cxx.

References comphelper::isFileUrl().

Referenced by InsertEmbed(), and InsertImage().

sal_Int32 SwHTMLParser::StripTrailingLF ( )
private
void SwHTMLParser::StripTrailingPara ( )
private
sal_uInt16 SwHTMLParser::ToTwips ( sal_uInt16  nPixel)
static

Friends And Related Function Documentation

friend class CaptionSaveStruct
friend

Definition at line 333 of file swhtml.hxx.

Referenced by BuildTableCaption().

friend class CellSaveStruct
friend

Definition at line 332 of file swhtml.hxx.

Referenced by BuildTableCell().

friend class SectionSaveStruct
friend

Definition at line 331 of file swhtml.hxx.

Member Data Documentation

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

Definition at line 342 of file swhtml.hxx.

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

OUString SwHTMLParser::m_aBasicModule
private

Definition at line 343 of file swhtml.hxx.

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

OUString SwHTMLParser::m_aBulletGrfs[MAXLEVEL]
private

Definition at line 351 of file swhtml.hxx.

Referenced by InsertImage().

OUString SwHTMLParser::m_aContents
private

Definition at line 348 of file swhtml.hxx.

Referenced by NextToken().

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

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

Definition at line 471 of file swhtml.hxx.

Referenced by NextToken().

sal_uInt32 SwHTMLParser::m_aFontHeights[7]
private

Definition at line 392 of file swhtml.hxx.

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

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

Definition at line 390 of file swhtml.hxx.

Referenced by GetCurrentBrowseWidth().

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

Definition at line 365 of file swhtml.hxx.

Referenced by RegisterFlyFrame(), and SetAttr_().

std::vector<SwFrameFormat *> SwHTMLParser::m_aMoveFlyFrames
private

Definition at line 364 of file swhtml.hxx.

Referenced by RegisterFlyFrame(), and SetAttr_().

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

Definition at line 368 of file swhtml.hxx.

Referenced by DeregisterHTMLTable().

HTMLAttrs SwHTMLParser::m_aParaAttrs
private
OUString const SwHTMLParser::m_aPathToFile
private

Definition at line 340 of file swhtml.hxx.

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

OUString SwHTMLParser::m_aScriptSource
private

Definition at line 344 of file swhtml.hxx.

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

OUString SwHTMLParser::m_aScriptType
private

Definition at line 345 of file swhtml.hxx.

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

OUString SwHTMLParser::m_aScriptURL
private

Definition at line 346 of file swhtml.hxx.

Referenced by EndScript(), and NewScript().

HTMLAttrs SwHTMLParser::m_aSetAttrTab
private
OUString SwHTMLParser::m_aStyleSource
private

Definition at line 347 of file swhtml.hxx.

Referenced by EndStyle(), and NextToken().

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

Definition at line 381 of file swhtml.hxx.

Referenced by DeregisterHTMLTable(), and PendingObjectsInPaM().

OUString SwHTMLParser::m_aUnknownToken
private

Definition at line 350 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bBodySeen
private

Definition at line 453 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bCallNextToken
private
bool SwHTMLParser::m_bChkJumpMark
private
bool SwHTMLParser::m_bDocInitalized
private

Definition at line 419 of file swhtml.hxx.

Referenced by DocumentDetected(), and NextToken().

bool SwHTMLParser::m_bFixMarqueeWidth
private

Definition at line 432 of file swhtml.hxx.

bool SwHTMLParser::m_bFixSelectWidth
private

Definition at line 444 of file swhtml.hxx.

Referenced by EndSelect(), and NewSelect().

bool SwHTMLParser::m_bIgnoreHTMLComments
private

Definition at line 450 of file swhtml.hxx.

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

bool SwHTMLParser::m_bIgnoreRawData
private

Definition at line 429 of file swhtml.hxx.

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

bool SwHTMLParser::m_bInField
private

Definition at line 425 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bInFloatingFrame
private

Definition at line 424 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bInFootEndNoteAnchor
private

Definition at line 448 of file swhtml.hxx.

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

bool SwHTMLParser::m_bInFootEndNoteSymbol
private

Definition at line 449 of file swhtml.hxx.

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

bool SwHTMLParser::m_bInNoEmbed
private

Definition at line 438 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bInTitle
private

Definition at line 440 of file swhtml.hxx.

Referenced by NextToken().

bool SwHTMLParser::m_bKeepUnknown
private

Definition at line 426 of file swhtml.hxx.

Referenced by NextToken(), and SwHTMLParser().

bool SwHTMLParser::m_bLBEntrySelected
private

Definition at line 430 of file swhtml.hxx.

Referenced by InsertSelectOption().

bool SwHTMLParser::m_bNoParSpace
private
bool SwHTMLParser::m_bOldIsHTMLMode
private

Definition at line 417 of file swhtml.hxx.

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

bool SwHTMLParser::m_bReadingHeaderOrFooter
private

Definition at line 454 of file swhtml.hxx.

Referenced by EndDivision(), and NewDivision().

bool SwHTMLParser::m_bRemoveHidden
private

Definition at line 451 of file swhtml.hxx.

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

bool SwHTMLParser::m_bReqIF = false
private

Definition at line 465 of file swhtml.hxx.

Referenced by IsReqIF(), and SwHTMLParser().

bool SwHTMLParser::m_bSelect
private

Definition at line 447 of file swhtml.hxx.

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

bool SwHTMLParser::m_bSetModEnabled
private

Definition at line 422 of file swhtml.hxx.

Referenced by Continue().

bool SwHTMLParser::m_bTAIgnoreNewPara
private

Definition at line 431 of file swhtml.hxx.

Referenced by InsertTextAreaText(), and NewTextArea().

bool SwHTMLParser::m_bTextArea
private

Definition at line 445 of file swhtml.hxx.

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

bool SwHTMLParser::m_bUpdateDocStat
private

Definition at line 443 of file swhtml.hxx.

Referenced by Continue().

bool SwHTMLParser::m_bUpperSpace
private

Definition at line 434 of file swhtml.hxx.

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

bool SwHTMLParser::m_bViewCreated
private

Definition at line 421 of file swhtml.hxx.

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

bool SwHTMLParser::m_bXHTML = false
private

Definition at line 464 of file swhtml.hxx.

Referenced by NextToken(), and SwHTMLParser().

JumpToMarks SwHTMLParser::m_eJumpTo
private

Definition at line 408 of file swhtml.hxx.

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

SvxAdjust SwHTMLParser::m_eParaAdjust
private

Definition at line 414 of file swhtml.hxx.

Referenced by NewHeading(), and NewPara().

HTMLScriptLanguage SwHTMLParser::m_eScriptLang
private

Definition at line 415 of file swhtml.hxx.

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

OUString SwHTMLParser::m_InfoNames[4]
private

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

Definition at line 460 of file swhtml.hxx.

Referenced by AddMetaUserDefined().

bool SwHTMLParser::m_isInTableStructure
private

Definition at line 455 of file swhtml.hxx.

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

sal_uInt16 SwHTMLParser::m_nBaseFontStMin
private
size_t SwHTMLParser::m_nContextStAttrMin
private
size_t SwHTMLParser::m_nContextStMin
private
sal_uInt16 SwHTMLParser::m_nContinue
private

Definition at line 411 of file swhtml.hxx.

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

sal_uInt16 SwHTMLParser::m_nDefListDeep
private
ImplSVEvent* SwHTMLParser::m_nEventId
private

Definition at line 393 of file swhtml.hxx.

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

sal_uInt16 SwHTMLParser::m_nFontStHeadStart
private
sal_uInt16 SwHTMLParser::m_nFontStMin
private
sal_uInt16 SwHTMLParser::m_nMissingImgMaps
private

Definition at line 400 of file swhtml.hxx.

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

HtmlTokenId SwHTMLParser::m_nOpenParaToken
private
size_t SwHTMLParser::m_nParaCnt
private

Definition at line 401 of file swhtml.hxx.

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

sal_uInt16 SwHTMLParser::m_nSBModuleCnt
private

Definition at line 399 of file swhtml.hxx.

Referenced by EndScript().

sal_uInt16 SwHTMLParser::m_nSelectEntryCnt
private

Definition at line 404 of file swhtml.hxx.

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

sal_Int32 SwHTMLParser::m_nTableDepth
private
SwViewShell* SwHTMLParser::m_pActionViewShell
private

Definition at line 378 of file swhtml.hxx.

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

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

Definition at line 370 of file swhtml.hxx.

Referenced by Continue(), and NextToken().

std::unique_ptr<SwCSS1Parser> SwHTMLParser::m_pCSS1Parser
private
std::unique_ptr<SwHTMLFootEndNote_Impl> SwHTMLParser::m_pFootEndNoteImpl
private
SwHTMLForm_Impl* SwHTMLParser::m_pFormImpl
private
ImageMap* SwHTMLParser::m_pImageMap
private

Definition at line 386 of file swhtml.hxx.

Referenced by NextToken().

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

all Image-Maps that have been read

Definition at line 387 of file swhtml.hxx.

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

SdrObject* SwHTMLParser::m_pMarquee
private

Definition at line 384 of file swhtml.hxx.

Referenced by DeleteSection(), and NextToken().

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

Definition at line 373 of file swhtml.hxx.

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

SwPaM* SwHTMLParser::m_pPam
private
SwNodeIndex* SwHTMLParser::m_pSttNdIdx
private

Definition at line 379 of file swhtml.hxx.

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

SfxViewFrame* SwHTMLParser::m_pTempViewFrame
private

Definition at line 462 of file swhtml.hxx.

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

OUString SwHTMLParser::m_sBaseURL
private
OUString SwHTMLParser::m_sJmpMark
private

Definition at line 352 of file swhtml.hxx.

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

OUStringBuffer SwHTMLParser::m_sTitle
private

Definition at line 349 of file swhtml.hxx.

Referenced by NextToken().

std::vector<SwPending> SwHTMLParser::m_vPendingStack
private
std::shared_ptr<HTMLAttrTable> SwHTMLParser::m_xAttrTab
private
rtl::Reference<SwDoc> SwHTMLParser::m_xDoc
private
std::unique_ptr<SwField> SwHTMLParser::m_xField
private

Definition at line 385 of file swhtml.hxx.

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

Definition at line 338 of file swhtml.hxx.

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

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

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