LibreOffice Module sw (master) 1
|
#include <wrthtml.hxx>
Public Member Functions | |
SwHTMLWriter (const OUString &rBaseURL, std::u16string_view rFilterOptions=std::u16string_view()) | |
Construct an instance of SwHTMLWriter and optionally give it the filter options directly, which can also be set via SetupFilterOptions(). More... | |
virtual | ~SwHTMLWriter () override |
void | Out_SwDoc (SwPaM *) |
void | OutAnchor (const OUString &rName) |
void | OutBookmarks () |
void | OutPointFieldmarks (const SwPosition &rPos) |
void | OutImplicitMark (std::u16string_view rMark, const char *pMarkType) |
OUString | convertHyperlinkHRefValue (const OUString &rURL) |
void | OutHyperlinkHRefValue (const OUString &rURL) |
bool | OutFlyFrame (SwNodeOffset nNdIdx, sal_Int32 nContentIdx, HtmlPosition nPos) |
void | OutFrameFormat (AllHtmlFlags nType, const SwFrameFormat &rFormat, const SdrObject *pSdrObj) |
void | OutForm (bool bTagOn=true, const SwStartNode *pStNd=nullptr) |
void | OutHiddenForms () |
void | OutHiddenForm (const css::uno::Reference< css::form::XForm > &rForm) |
void | OutForm (bool bOn, const css::uno::Reference< css::container::XIndexContainer > &rFormComps) |
void | OutHiddenControls (const css::uno::Reference< css::container::XIndexContainer > &rFormComps, const css::uno::Reference< css::beans::XPropertySet > &rPropSet) |
bool | HasControls () const |
void | OutFootEndNoteInfo () |
void | OutFootEndNotes () |
OUString | GetFootEndNoteSym (const SwFormatFootnote &rFormatFootnote) |
void | OutFootEndNoteSym (const SwFormatFootnote &rFormatFootnote, const OUString &rNum, sal_uInt16 nScript) |
void | OutBasic (const SwHTMLWriter &rHTMLWrt) |
void | OutAndSetDefList (sal_uInt16 nNewLvl) |
void | OutStyleSheet (const SwPageDesc &rPageDesc) |
void | OutCSS1_PropertyAscii (std::string_view pProp, std::string_view rVal) |
void | OutCSS1_Property (std::string_view pProp, const OUString &rVal) |
void | OutCSS1_Property (std::string_view pProp, std::string_view pVal, const OUString *pSVal, std::optional< sw::Css1Background > oBackground=std::nullopt) |
void | OutCSS1_UnitProperty (std::string_view pProp, tools::Long nVal) |
void | OutCSS1_PixelProperty (std::string_view pProp, tools::Long nVal, bool bVert) |
void | OutCSS1_SfxItemSet (const SfxItemSet &rItemSet, bool bDeep=true) |
void | OutBasicBodyEvents () |
void | OutBackground (const SvxBrushItem *pBrushItem, bool bGraphic) |
void | OutBackground (const SfxItemSet &rItemSet, bool bGraphic) |
void | OutLanguage (LanguageType eLang) |
SvxFrameDirection | GetHTMLDirection (SvxFrameDirection nDir) const |
SvxFrameDirection | GetHTMLDirection (const SfxItemSet &rItemSet) const |
void | OutDirection (SvxFrameDirection nDir) |
OString | OutFrameFormatOptions (const SwFrameFormat &rFrameFormat, const OUString &rAltText, HtmlFrmOpts nFrameOpts) |
void | writeFrameFormatOptions (HtmlWriter &aHtml, const SwFrameFormat &rFrameFormat, std::u16string_view rAltText, HtmlFrmOpts nFrameOpts) |
void | OutCSS1_TableFrameFormatOptions (const SwFrameFormat &rFrameFormat) |
Writes the formatting for tables. More... | |
void | OutCSS1_TableCellBordersAndBG (const SwFrameFormat &rFrameFormat, const SvxBrushItem *pBrushItem) |
Writes the borders and background for table cells. More... | |
void | OutCSS1_SectionFormatOptions (const SwFrameFormat &rFrameFormat, const SwFormatCol *pCol) |
void | OutCSS1_FrameFormatOptions (const SwFrameFormat &rFrameFormat, HtmlFrmOpts nFrameOpts, const SdrObject *pSdrObj=nullptr, const SfxItemSet *pItemSet=nullptr) |
void | OutCSS1_FrameFormatBackground (const SwFrameFormat &rFrameFormat) |
void | ChangeParaToken (HtmlTokenId nNew) |
void | IncIndentLevel () |
void | DecIndentLevel () |
OString | GetIndentString (sal_uInt16 nIncLvl=0) |
sal_Int32 | GetLineLen () |
void | OutNewLine (bool bCheck=false) |
SwPaM * | GetEndPaM () |
void | SetEndPaM (SwPaM *pPam) |
SwHTMLFrameType | GuessFrameType (const SwFrameFormat &rFrameFormat, const SdrObject *&rpStrObj) |
void | CollectFlyFrames () |
sal_uInt16 | GetHTMLFontSize (sal_uInt32 nFontHeight) const |
SwHTMLNumRuleInfo & | GetNumInfo () |
SwHTMLNumRuleInfo * | GetNextNumInfo () |
std::unique_ptr< SwHTMLNumRuleInfo > | ReleaseNextNumInfo () |
void | SetNextNumInfo (std::unique_ptr< SwHTMLNumRuleInfo > pNxt) |
void | FillNextNumInfo () |
void | ClearNextNumInfo () |
sal_uInt32 | GetHTMLMode () const |
bool | IsHTMLMode (sal_uInt32 nMode) const |
bool | IsCSS1Source (sal_uInt16 n) const |
bool | IsCSS1Script (sal_uInt16 n) const |
FieldUnit | GetCSS1Unit () const |
sal_Int32 | indexOfDotLeaders (sal_uInt16 nPoolId, std::u16string_view rText) |
OString | GetNamespace () const |
Determines the prefix string needed to respect the requested namespace alias. More... | |
Public Member Functions inherited from Writer | |
Writer () | |
virtual | ~Writer () override |
virtual ErrCode | Write (SwPaM &, SfxMedium &, const OUString *) |
ErrCode | Write (SwPaM &, SvStream &, const OUString *) |
virtual ErrCode | Write (SwPaM &, const css::uno::Reference< css::embed::XStorage > &, const OUString *, SfxMedium *=nullptr) |
virtual ErrCode | Write (SwPaM &, SotStorage &, const OUString *) |
virtual void | SetupFilterOptions (SfxMedium &rMedium) |
virtual bool | IsStgWriter () const |
void | SetShowProgress (bool bFlag) |
const OUString * | GetOrigFileName () const |
const SwAsciiOptions & | GetAsciiOptions () const |
void | SetAsciiOptions (const SwAsciiOptions &rOpt) |
const OUString & | GetBaseURL () const |
sal_Int32 | FindPos_Bkmk (const SwPosition &rPos) const |
void | CreateBookmarkTable () |
bool | GetBookmarks (const SwContentNode &rNd, sal_Int32 nStt, sal_Int32 nEnd, std::vector< const ::sw::mark::IMark * > &rArr) |
bool | CopyLocalFileToINet (OUString &rFileNm) |
void | SetStream (SvStream *const pStream) |
SvStream & | Strm () |
void | SetOrganizerMode (bool bSet) |
Public Member Functions inherited from SvRefBase | |
SvRefBase () | |
SvRefBase (const SvRefBase &) | |
SvRefBase & | operator= (const SvRefBase &) |
void | RestoreNoDelete () |
void | AddNextRef () |
void | AddFirstRef () |
void | ReleaseRef () |
unsigned int | GetRefCount () const |
Static Public Member Functions | |
static OString | convertDirection (SvxFrameDirection nDirection) |
static sal_uInt32 | ToPixel (sal_uInt32 nVal, const bool bVert) |
static SwHTMLFrameType | GuessOLENodeFrameType (const SwNode &rNd) |
static const SdrObject * | GetHTMLControl (const SwDrawFrameFormat &rFormat) |
static const SdrObject * | GetMarqueeTextObj (const SwDrawFrameFormat &rFormat) |
static sal_uInt16 | GetCSS1Selector (const SwFormat *pFormat, OString &rToken, OUString &rClass, sal_uInt16 &rRefPoolId, OUString *pPseudo=nullptr) |
static const SwFormat * | GetTemplateFormat (sal_uInt16 nPoolId, IDocumentStylePoolAccess *pTemplate) |
static const SwFormat * | GetParentFormat (const SwFormat &rFormat, sal_uInt16 nDeep) |
static void | SubtractItemSet (SfxItemSet &rItemSet, const SfxItemSet &rRefItemSet, bool bSetDefaults, bool bClearSame=true, const SfxItemSet *pRefScriptItemSet=nullptr) |
static bool | HasScriptDependentItems (const SfxItemSet &rItemSet, bool bCheckDropCap) |
static void | GetEEAttrsFromDrwObj (SfxItemSet &rItemSet, const SdrObject *pObj) |
static sal_uInt16 | GetDefListLvl (std::u16string_view rNm, sal_uInt16 nPoolId) |
static const char * | GetNumFormat (sal_uInt16 nFormat) |
static void | PrepareFontList (const SvxFontItem &rFontItem, OUString &rNames, sal_Unicode cQuote, bool bGeneric) |
static sal_uInt16 | GetCSS1ScriptForScriptType (sal_uInt16 nScriptType) |
static sal_uInt16 | GetLangWhichIdFromScript (sal_uInt16 nScript) |
Static Public Member Functions inherited from Writer | |
static std::shared_ptr< SwUnoCursor > | NewUnoCursor (SwDoc &rDoc, SwNodeOffset const nStartIdx, SwNodeOffset const nEndIdx) |
Protected Member Functions | |
ErrCode | WriteStream () override |
void | SetupFilterOptions (SfxMedium &rMedium) override |
void | SetupFilterFromPropertyValues (const css::uno::Sequence< css::beans::PropertyValue > &rPropertyValues) |
Protected Member Functions inherited from Writer | |
void | ResetWriter () |
bool | CopyNextPam (SwPaM **) |
void | PutNumFormatFontsInAttrPool () |
void | PutEditEngFontsInAttrPool () |
virtual ErrCode | WriteStream ()=0 |
void | SetBaseURL (const OUString &rURL) |
IDocumentSettingAccess & | getIDocumentSettingAccess () |
const IDocumentSettingAccess & | getIDocumentSettingAccess () const |
IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () |
const IDocumentStylePoolAccess & | getIDocumentStylePoolAccess () const |
Protected Member Functions inherited from SvRefBase | |
virtual | ~SvRefBase () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
sal_uInt16 | OutHeaderAttrs () |
const SwPageDesc * | MakeHeader (sal_uInt16 &rHeaderAtrs) |
void | GetControls () |
void | AddLinkTarget (std::u16string_view aURL) |
void | CollectLinkTargets () |
void | SetupFilterOptions (std::u16string_view rFilterOptions) |
Private Attributes | |
SwHTMLPosFlyFrames | m_aHTMLPosFlyFrames |
std::unique_ptr< SwHTMLNumRuleInfo > | m_pNumRuleInfo |
std::unique_ptr< SwHTMLNumRuleInfo > | m_pNextNumRuleInfo |
sal_uInt32 | m_nHTMLMode |
FieldUnit | m_eCSS1Unit |
Additional Inherited Members | |
Protected Attributes inherited from Writer | |
const OUString * | m_pOrigFileName |
Definition at line 272 of file wrthtml.hxx.
|
explicit |
Construct an instance of SwHTMLWriter and optionally give it the filter options directly, which can also be set via SetupFilterOptions().
Definition at line 97 of file wrthtml.cxx.
References Horizontal_LR_TB, LANGUAGE_DONTKNOW, m_bNoAlign, mbXHTML, mpTempBaseURL, Writer::SetBaseURL(), and SetupFilterOptions().
|
overridevirtual |
Definition at line 177 of file wrthtml.cxx.
|
private |
Definition at line 2178 of file htmlflywriter.cxx.
References aURL, cMarkSeparator, SwPosition::GetNodeIndex(), SwDoc::GotoOutline(), m_aImplicitMarks, m_aOutlineMarkPoss, m_aOutlineMarks, Writer::m_pCurrentPam, Writer::m_pDoc, and nPos.
Referenced by CollectLinkTargets().
void SwHTMLWriter::ChangeParaToken | ( | HtmlTokenId | nNew | ) |
Definition at line 160 of file htmlatr.cxx.
References GetNamespace(), m_bLFPossible, m_nLastParaToken, OOO_STRING_SVTOOLS_HTML_preformtxt, HTMLOutFuncs::Out_AsciiTag(), and Writer::Strm().
Referenced by Out_SwDoc(), OutAndSetDefList(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_Section(), OutHTML_SwFormat(), OutHTML_SwFormatOff(), and OutHTML_SwTextNode().
void SwHTMLWriter::ClearNextNumInfo | ( | ) |
Definition at line 76 of file htmlnumwriter.cxx.
References m_pNextNumRuleInfo.
Referenced by HTMLSaveData::HTMLSaveData(), OutHTML_SwFormat(), OutHTML_SwTableNode(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
void SwHTMLWriter::CollectFlyFrames | ( | ) |
Definition at line 289 of file htmlflywriter.cxx.
References eType, SwDoc::GetAllFlyFormats(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwContentNode::GetAttr(), SwNode::GetContentNode(), SwFormat::GetHoriOrient(), getHTMLOutFramePageFlyTable(), getHTMLOutFrameParaFrameTable(), getHTMLOutFrameParaOtherTable(), getHTMLOutFrameParaPrtAreaTable(), SwFormatHoriOrient::GetRelationOrient(), SvxRightMarginItem::GetRight(), SvxTextLeftMarginItem::GetTextLeft(), GuessFrameType(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::insert(), m_aHTMLPosFlyFrames, Writer::m_bWriteAll, m_nExportMode, Writer::m_pCurrentPam, Writer::m_pDoc, RES_MARGIN_RIGHT(), and RES_MARGIN_TEXTLEFT().
Referenced by WriteStream().
|
private |
Definition at line 2259 of file htmlflywriter.cxx.
References AddLinkTarget(), SwDoc::GetAttrPool(), ImageMap::GetIMapObject(), ImageMap::GetIMapObjectCount(), SfxItemPool::GetItemSurrogates(), SwNode::GetNodes(), SwTextINetFormat::GetpTextNode(), IMapObject::GetURL(), i, SwNodes::IsDocNodes(), Writer::m_pDoc, RES_TXTATR_INETFMT(), and RES_URL().
Referenced by WriteStream().
|
static |
Definition at line 1502 of file wrthtml.cxx.
Referenced by OutCSS1_SectionFormatOptions(), OutDirection(), and writeFrameFormatOptions().
OUString SwHTMLWriter::convertHyperlinkHRefValue | ( | const OUString & | rURL | ) |
Definition at line 1344 of file wrthtml.cxx.
References aURL, cMarkSeparator, Writer::GetBaseURL(), INetURLObject::NONE, nPos, and URIHelper::simpleNormalizedMakeRelative().
Referenced by OutHTML_ImageStart(), and OutHyperlinkHRefValue().
|
inline |
Definition at line 529 of file wrthtml.hxx.
Referenced by lcl_html_OutSectionEndTag(), MakeHeader(), OutAndSetDefList(), OutFootEndNotes(), OutFrameFormat(), OutHTML_DrawFrameFormatAsControl(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatOLENode(), OutHTML_HeaderFooter(), OutHTML_NumberBulletListEnd(), OutHTML_SwFormatOff(), OutHTML_SwTableNode(), and OutStyleSheet().
void SwHTMLWriter::FillNextNumInfo | ( | ) |
Definition at line 36 of file htmlnumwriter.cxx.
References SwNode::EndOfSectionIndex(), SwDoc::GetNodes(), GetNumInfo(), TextFormatCollFunc::GetNumRule(), SwNode::GetTextNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), Writer::m_pCurrentPam, Writer::m_pDoc, m_pNextNumRuleInfo, and nPos.
Referenced by OutHTML_SwFormatOff(), and OutHTML_SwTableNode().
|
private |
Definition at line 1296 of file htmlforw.cxx.
References AddControl(), Control, SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), GetHTMLControl(), SwNodeIndex::GetIndex(), SwNode::GetIndex(), SwHTMLPosFlyFrame::GetNdIndex(), SwHTMLPosFlyFrame::GetOutFn(), SwHTMLPosFlyFrame::GetSdrObject(), SwDoc::GetSpzFrameFormats(), i, m_aHTMLControls, m_aHTMLPosFlyFrames, Writer::m_pDoc, RES_DRAWFRMFMT(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by WriteStream().
|
static |
Definition at line 170 of file htmlatr.cxx.
References CSS1_OUTMODE_ANY_SCRIPT, CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, and CSS1_OUTMODE_WESTERN.
Referenced by OutHTML_SwField().
|
static |
Definition at line 600 of file css1atr.cxx.
References CSS1_FMT_CMPREF, CSS1_FMT_ISTAG, CSS1_FMT_SPECIAL, SwFormat::DerivedFrom(), GetAppCharClass(), GetDefListLvl(), SwFormat::GetName(), SwFormat::GetPoolFormatId(), HTML_DLCOLL_DD, SwFormat::IsDefault(), CharClass::lowercase(), nPos, OOO_STRING_SVTOOLS_HTML_address, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_blockquote, OOO_STRING_SVTOOLS_HTML_citation, OOO_STRING_SVTOOLS_HTML_code, OOO_STRING_SVTOOLS_HTML_dd, OOO_STRING_SVTOOLS_HTML_definstance, OOO_STRING_SVTOOLS_HTML_dt, OOO_STRING_SVTOOLS_HTML_emphasis, OOO_STRING_SVTOOLS_HTML_head1, OOO_STRING_SVTOOLS_HTML_head2, OOO_STRING_SVTOOLS_HTML_head3, OOO_STRING_SVTOOLS_HTML_head4, OOO_STRING_SVTOOLS_HTML_head5, OOO_STRING_SVTOOLS_HTML_head6, OOO_STRING_SVTOOLS_HTML_horzrule, OOO_STRING_SVTOOLS_HTML_keyboard, OOO_STRING_SVTOOLS_HTML_listing, OOO_STRING_SVTOOLS_HTML_parabreak, OOO_STRING_SVTOOLS_HTML_preformtxt, OOO_STRING_SVTOOLS_HTML_sample, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdfootnote, OOO_STRING_SVTOOLS_HTML_strong, OOO_STRING_SVTOOLS_HTML_tabledata, OOO_STRING_SVTOOLS_HTML_tableheader, OOO_STRING_SVTOOLS_HTML_teletype, OOO_STRING_SVTOOLS_HTML_variable, OOO_STRING_SVTOOLS_HTML_xmp, RES_CHRFMT(), RES_POOLCHR_HTML_CITATION, RES_POOLCHR_HTML_CODE, RES_POOLCHR_HTML_DEFINSTANCE, RES_POOLCHR_HTML_EMPHASIS, RES_POOLCHR_HTML_KEYBOARD, RES_POOLCHR_HTML_SAMPLE, RES_POOLCHR_HTML_STRONG, RES_POOLCHR_HTML_TELETYPE, RES_POOLCHR_HTML_VARIABLE, RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_ENDNOTE, RES_POOLCOLL_FOOTNOTE, RES_POOLCOLL_HEADLINE1, RES_POOLCOLL_HEADLINE2, RES_POOLCOLL_HEADLINE3, RES_POOLCOLL_HEADLINE4, RES_POOLCOLL_HEADLINE5, RES_POOLCOLL_HEADLINE6, RES_POOLCOLL_HEADLINE_BASE, RES_POOLCOLL_HTML_BLOCKQUOTE, RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, RES_POOLCOLL_HTML_HR, RES_POOLCOLL_HTML_PRE, RES_POOLCOLL_SEND_ADDRESS, RES_POOLCOLL_STANDARD, RES_POOLCOLL_TABLE, RES_POOLCOLL_TABLE_HDLN, RES_POOLCOLL_TEXT, sCSS1_link, sCSS1_visited, u, USER_FMT, and SwFormat::Which().
Referenced by GetCSS1Selector(), and SwHTMLFormatInfo::SwHTMLFormatInfo().
|
inline |
Definition at line 612 of file wrthtml.hxx.
Referenced by OutCSS1_SvxBox(), and OutCSS1_SwPageDesc().
|
static |
Definition at line 96 of file htmlatr.cxx.
References HTML_DLCOLL_DD, HTML_DLCOLL_DT, OOO_STRING_SVTOOLS_HTML_dd, OOO_STRING_SVTOOLS_HTML_dt, RES_POOLCOLL_HTML_DD, RES_POOLCOLL_HTML_DT, o3tl::starts_with(), and o3tl::toInt32().
Referenced by GetCSS1Selector().
|
static |
Definition at line 62 of file htmldrawwriter.cxx.
References SfxPoolItem::CloneSetWhich(), EE_CHAR_COLOR(), EE_CHAR_ESCAPEMENT(), EE_CHAR_FONTHEIGHT(), EE_CHAR_FONTHEIGHT_CJK(), EE_CHAR_FONTHEIGHT_CTL(), EE_CHAR_FONTINFO(), EE_CHAR_FONTINFO_CJK(), EE_CHAR_FONTINFO_CTL(), EE_CHAR_ITALIC(), EE_CHAR_ITALIC_CJK(), EE_CHAR_ITALIC_CTL(), EE_CHAR_KERNING(), EE_CHAR_STRIKEOUT(), EE_CHAR_UNDERLINE(), EE_CHAR_WEIGHT(), EE_CHAR_WEIGHT_CJK(), EE_CHAR_WEIGHT_CTL(), SfxWhichIter::FirstWhich(), SfxItemPool::GetDefaultItem(), SfxWhichIter::GetItemState(), SdrObject::GetMergedItemSet(), SfxItemSet::GetPool(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), 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(), and RES_CHRATR_WEIGHT().
Referenced by OutHTML_FrameFormatAsMarquee().
|
inline |
Definition at line 542 of file wrthtml.hxx.
OUString SwHTMLWriter::GetFootEndNoteSym | ( | const SwFormatFootnote & | rFormatFootnote | ) |
Definition at line 411 of file htmlftn.cxx.
References SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), SwFormatFootnote::GetNumStr(), SwEndNoteInfo::GetPrefix(), SwEndNoteInfo::GetSuffix(), SwFormatFootnote::GetViewNumStr(), SwFormatFootnote::IsEndNote(), and Writer::m_pDoc.
Referenced by OutHTML_SwTextNode().
|
static |
Definition at line 614 of file htmlforw.cxx.
References SwFrameFormat::FindSdrObject(), SdrObject::GetObjInventor(), SdrUnoObj::GetUnoControlModel(), lcl_html_isHTMLControl(), n, RES_DRAWFRMFMT(), o3tl::tryAccess< sal_Int16 >(), and SwFormat::Which().
Referenced by GetControls(), and GuessFrameType().
SvxFrameDirection SwHTMLWriter::GetHTMLDirection | ( | const SfxItemSet & | rItemSet | ) | const |
Definition at line 1466 of file wrthtml.cxx.
References SfxItemSet::Get(), GetHTMLDirection(), and RES_FRAMEDIR().
SvxFrameDirection SwHTMLWriter::GetHTMLDirection | ( | SvxFrameDirection | nDir | ) | const |
Definition at line 1471 of file wrthtml.cxx.
References m_nDirection.
Referenced by GetHTMLDirection(), HTMLSaveData::HTMLSaveData(), lcl_html_OutSectionStartTag(), MakeHeader(), OutCSS1_SectionFormatOptions(), OutFrameFormatOptions(), OutHTML_SwFormat(), and writeFrameFormatOptions().
sal_uInt16 SwHTMLWriter::GetHTMLFontSize | ( | sal_uInt32 | nFontHeight | ) | const |
Definition at line 1553 of file wrthtml.cxx.
References i, and m_aFontHeights.
Referenced by OutHTML_SvxFontHeight().
|
inline |
Definition at line 594 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode().
OString SwHTMLWriter::GetIndentString | ( | sal_uInt16 | nIncLvl = 0 | ) |
Definition at line 1520 of file wrthtml.cxx.
References m_nIndentLvl, MAX_INDENT_LEVEL, and sIndentTabs.
Referenced by MakeHeader().
|
static |
Definition at line 1431 of file wrthtml.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, RES_CHRATR_CJK_LANGUAGE(), and RES_CHRATR_LANGUAGE().
Referenced by OutHTML_SwFormat(), SwHTMLFormatInfo::SwHTMLFormatInfo(), and WriteStream().
|
inline |
Definition at line 535 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode().
|
static |
Definition at line 56 of file htmldrawwriter.cxx.
References SwFrameFormat::FindSdrObject(), and IsMarqueeTextObj().
Referenced by GuessFrameType().
OString SwHTMLWriter::GetNamespace | ( | ) | const |
Determines the prefix string needed to respect the requested namespace alias.
Definition at line 1586 of file wrthtml.cxx.
References maNamespace.
Referenced by ChangeParaToken(), lcl_html_outFootEndNoteInfo(), lcl_html_OutSectionEndTag(), lcl_html_OutSectionStartTag(), MakeHeader(), OutAnchor(), OutAndSetDefList(), OutBasic(), OutCSS1_Property(), OutCSS1_SvxBox(), OutCSS1_SwFormatDrop(), OutFootEndNotes(), OutFootEndNoteSym(), OutFrameFormat(), OutHiddenControls(), OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_HeaderFooter(), OutHTML_ImageOLEEnd(), OutHTML_ImageOLEStart(), OutHTML_INetFormat(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SvxColor(), OutHTML_SvxEscapement(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutHTML_SvxLanguage(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwField(), OutHTML_SwFormat(), OutHTML_SwFormatField(), OutHTML_SwFormatFootnote(), OutHTML_SwFormatOff(), OutHTML_SwPosture(), OutHTML_SwTableNode(), OutHTML_SwTextCharFormat(), OutHTML_SwUnderline(), OutHTML_SwWeight(), OutStyleSheet(), and WriteStream().
|
inline |
Definition at line 560 of file wrthtml.hxx.
Referenced by OutHTML_SwFormat(), OutHTML_SwFormatOff(), and OutHTML_SwTableNode().
|
static |
Definition at line 47 of file htmlfldw.cxx.
References OOO_STRING_SW_HTML_FF_arabic, OOO_STRING_SW_HTML_FF_char, OOO_STRING_SW_HTML_FF_lletter, OOO_STRING_SW_HTML_FF_llettern, OOO_STRING_SW_HTML_FF_lroman, OOO_STRING_SW_HTML_FF_none, OOO_STRING_SW_HTML_FF_page, OOO_STRING_SW_HTML_FF_uletter, OOO_STRING_SW_HTML_FF_ulettern, OOO_STRING_SW_HTML_FF_uroman, SVX_NUM_ARABIC, SVX_NUM_CHAR_SPECIAL, SVX_NUM_CHARS_LOWER_LETTER, SVX_NUM_CHARS_LOWER_LETTER_N, SVX_NUM_CHARS_UPPER_LETTER, SVX_NUM_CHARS_UPPER_LETTER_N, SVX_NUM_NUMBER_NONE, SVX_NUM_PAGEDESC, SVX_NUM_ROMAN_LOWER, and SVX_NUM_ROMAN_UPPER.
Referenced by lcl_html_fillEndNoteInfo(), and OutHTML_SwField().
|
inline |
Definition at line 556 of file wrthtml.hxx.
Referenced by FillNextNumInfo(), HTMLSaveData::HTMLSaveData(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwFormatOff(), OutHTML_SwTableNode(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
|
static |
Definition at line 957 of file css1atr.cxx.
References SwFormat::DerivedFrom(), i, and SwFormat::IsDefault().
Referenced by OutCSS1_SwFormat(), and SwHTMLFormatInfo::SwHTMLFormatInfo().
|
static |
Definition at line 939 of file css1atr.cxx.
References IDocumentStylePoolAccess::GetCharFormatFromPool(), IDocumentStylePoolAccess::GetTextCollFromPool(), POOLGRP_NOCOLLID, and USER_FMT.
Referenced by OutBodyColor(), OutCSS1_SwFormat(), and SwHTMLFormatInfo::SwHTMLFormatInfo().
SwHTMLFrameType SwHTMLWriter::GuessFrameType | ( | const SwFrameFormat & | rFrameFormat, |
const SdrObject *& | rpStrObj | ||
) |
background is not empty, if it has a background graphic or its background color is not "no fill"/"auto fill".
Definition at line 162 of file htmlflywriter.cxx.
References COL_TRANSPARENT(), SwNode::EndOfSectionIndex(), eType, SwFormat::GetAttrSet(), SwFormat::GetContent(), SwFormatContent::GetContentIdx(), GetHTMLControl(), SwNodeIndex::GetIndex(), SfxItemSet::GetItemIfSet(), GetMarqueeTextObj(), SwDoc::GetNodes(), SwFormatCol::GetNumCols(), SwNode::GetTableNode(), SwNode::GetTextNode(), GPOS_NONE, GuessOLENodeFrameType(), HTML_FRMTYPE_CONTROL, HTML_FRMTYPE_DRAW, HTML_FRMTYPE_EMPTY, HTML_FRMTYPE_GRF, HTML_FRMTYPE_MARQUEE, HTML_FRMTYPE_MULTICOL, HTML_FRMTYPE_TABLE, HTML_FRMTYPE_TABLE_CAP, HTML_FRMTYPE_TEXT, SwNode::IsGrfNode(), SwNode::IsOLENode(), SwNode::IsTableNode(), SwNode::IsTextNode(), SwTextNode::Len(), m_aHTMLPosFlyFrames, Writer::m_pDoc, SwFormat::makeBackgroundBrushItem(), RES_COL(), RES_DRAWFRMFMT(), and SwFormat::Which().
Referenced by CollectFlyFrames(), and OutHTML_SwFlyCnt().
|
static |
Definition at line 1193 of file htmlplug.cxx.
References eType, SwNode::GetOLENode(), SwOLENode::GetOLEObj(), SwOLEObj::GetOleRef(), HTML_FRMTYPE_APPLET, HTML_FRMTYPE_IFRAME, HTML_FRMTYPE_OLE, HTML_FRMTYPE_PLUGIN, SO3_APPLET_CLASSID, SO3_IFRAME_CLASSID, and SO3_PLUGIN_CLASSID.
Referenced by GuessFrameType().
bool SwHTMLWriter::HasControls | ( | ) | const |
Definition at line 213 of file htmlforw.cxx.
References i, m_aHTMLControls, Writer::m_pCurrentPam, and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by OutHTML_SwFormat().
|
static |
Definition at line 1145 of file css1atr.cxx.
References SwFormat::GetAttrSet(), SwFormatDrop::GetCharFormat(), SfxItemSet::GetItemIfSet(), SfxItemSet::GetItemState(), SwAttrSet::GetPool(), HasScriptDependentItems(), i, 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_DROP(), and swhtml_css1atr_equalFontItems().
Referenced by HasScriptDependentItems(), OutCSS1DropCapRule(), and OutCSS1Rule().
|
inline |
Definition at line 525 of file wrthtml.hxx.
Referenced by lcl_html_OutSectionStartTag(), MakeHeader(), OutAndSetDefList(), OutCSS1_Property(), OutFootEndNotes(), OutFrameFormat(), OutHTML_DrawFrameFormatAsControl(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatOLENode(), OutHTML_HeaderFooter(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), and OutHTML_SwTableNode().
sal_Int32 SwHTMLWriter::indexOfDotLeaders | ( | sal_uInt16 | nPoolId, |
std::u16string_view | rText | ||
) |
Definition at line 1570 of file wrthtml.cxx.
References i, m_bCfgPrintLayout, OUStringToOString(), RES_POOLCOLL_TOX_AUTHORITIES1, RES_POOLCOLL_TOX_CNTNT1, RES_POOLCOLL_TOX_CNTNT10, RES_POOLCOLL_TOX_CNTNT5, RES_POOLCOLL_TOX_IDX1, RES_POOLCOLL_TOX_IDX3, RES_POOLCOLL_TOX_ILLUS1, RES_POOLCOLL_TOX_OBJECT1, RES_POOLCOLL_TOX_TABLES1, RES_POOLCOLL_TOX_USER1, and RES_POOLCOLL_TOX_USER10.
Referenced by OutHTML_SwFormat(), and OutHTML_SwTextNode().
|
inline |
Definition at line 625 of file wrthtml.hxx.
Referenced by OutCSS1_SvxFont(), OutCSS1_SvxFontHeight(), OutCSS1_SvxFontWeight(), OutCSS1_SvxLanguage(), and OutCSS1_SvxPosture().
|
inline |
Definition at line 620 of file wrthtml.hxx.
Referenced by OutCSS1_SfxItemSet(), OutCSS1_SvxAdjust(), OutCSS1_SvxBlink(), OutCSS1_SvxBox(), OutCSS1_SvxBrush(), OutCSS1_SvxColor(), OutCSS1_SvxCrossedOut(), OutCSS1_SvxFont(), OutCSS1_SvxFontHeight(), OutCSS1_SvxFontWeight(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutCSS1_SvxFrameDirection(), OutCSS1_SvxLanguage(), OutCSS1_SvxOverline(), OutCSS1_SvxPosture(), OutCSS1_SvxTextLn_SvxCrOut_SvxBlink(), OutCSS1_SvxUnderline(), and OutCSS1_SwFormatDrop().
|
inline |
Definition at line 598 of file wrthtml.hxx.
Referenced by lcl_html_OutSectionStartTag(), OutCSS1_FrameFormatOptions(), OutCSS1_NumberBulletListStyleOpt(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutCSS1_TableFrameFormatOptions(), OutFrameFormat(), OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_HeaderFooter(), OutHTML_ImageStart(), OutHTML_SvxFont(), OutHTML_SwFormat(), OutHTML_SwTextNode(), OutStyleSheet(), and WriteStream().
|
private |
Definition at line 1082 of file wrthtml.cxx.
References Count, DecIndentLevel(), SwContentNode::GetAttr(), SwFormat::GetAttrSet(), Writer::GetBaseURL(), IDocumentStylePoolAccess::GetCharFormatFromPool(), SwNode::GetContentNode(), SwDoc::GetDocShell(), SwTable::GetFrameFormat(), GetHTMLDirection(), SwDoc::getIDocumentStylePoolAccess(), GetIndentString(), SwPageDesc::GetMaster(), SfxObjectShell::GetModel(), GetNamespace(), SwDoc::GetNodes(), SwFormatPageDesc::GetPageDesc(), SwFormat::GetPageDesc(), SwDoc::GetPageDesc(), getSvxBrushItemFromSourceSet(), SwTableNode::GetTable(), SwNode::GetTableNode(), IDocumentStylePoolAccess::GetTextCollFromPool(), IncIndentLevel(), SwNode::IsContentNode(), SwNode::IsTableNode(), m_bCfgOutStyles, m_eLang, m_nDirection, Writer::m_pCurrentPam, Writer::m_pDoc, mbReqIF, mbSkipHeaderFooter, mbXHTML, OOO_STRING_SVTOOLS_HTML_body, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_doctype, OOO_STRING_SVTOOLS_HTML_doctype5, OOO_STRING_SVTOOLS_HTML_head, OOO_STRING_SVTOOLS_HTML_html, OOO_STRING_SVTOOLS_HTML_O_link, OOO_STRING_SVTOOLS_HTML_O_text, OOO_STRING_SVTOOLS_HTML_O_vlink, OOO_STRING_SVTOOLS_XHTML_doctype11, HTMLOutFuncs::Out_AsciiTag(), SfxFrameHTMLWriter::Out_DocInfo(), OutBackground(), OutBasic(), OutBasicBodyEvents(), OutBodyColor(), OutCSS1_BodyTagStyleOpt(), OutDirection(), OutFootEndNoteInfo(), OutHeaderAttrs(), OutLanguage(), OutNewLine(), OutStyleSheet(), RES_BACKGROUND(), RES_PAGEDESC(), RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_STANDARD, Writer::Strm(), SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by WriteStream().
void SwHTMLWriter::Out_SwDoc | ( | SwPaM * | pPam | ) |
Definition at line 900 of file wrthtml.cxx.
References ChangeParaToken(), Writer::CopyNextPam(), Writer::FindPos_Bkmk(), sw::proofreadingiterator::get(), SwDoc::GetDocShell(), SwNodes::GetEndOfContent(), SwDoc::GetNodes(), SwSectionNode::GetSection(), SwNode::GetSectionNode(), SwNode::GetTableNode(), SwNode::GetTextNode(), SwNode::IsGrfNode(), SwTextNode::IsHidden(), SwSection::IsHiddenFlag(), SwNode::IsOLENode(), SwNode::IsSectionNode(), SwNode::IsTableNode(), SwNode::IsTextNode(), m_bFirstLine, m_bOutFooter, Writer::m_bShowProgress, Writer::m_bWriteAll, m_nBkmkTabPos, Writer::m_pCurrentPam, Writer::m_pDoc, nPos, OutAndSetDefList(), OutHTML_Section(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), and SetProgressState().
Referenced by OutFootEndNotes(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_HeaderFooter(), OutHTML_Section(), and WriteStream().
void SwHTMLWriter::OutAnchor | ( | const OUString & | rName | ) |
Definition at line 1215 of file wrthtml.cxx.
References GetNamespace(), mbReqIF, mbXHTML, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_O_name, HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), Writer::Strm(), and SvStream::WriteOString().
Referenced by OutBookmarks(), and OutImplicitMark().
void SwHTMLWriter::OutAndSetDefList | ( | sal_uInt16 | nNewLvl | ) |
Definition at line 120 of file htmlatr.cxx.
References ChangeParaToken(), DecIndentLevel(), GetNamespace(), i, IncIndentLevel(), m_bLFPossible, m_nDefListLvl, OOO_STRING_SVTOOLS_HTML_dd, OOO_STRING_SVTOOLS_HTML_deflist, HTMLOutFuncs::Out_AsciiTag(), OutNewLine(), and Writer::Strm().
Referenced by Out_SwDoc(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_Section(), OutHTML_SwFormat(), and OutHTML_SwTableNode().
void SwHTMLWriter::OutBackground | ( | const SfxItemSet & | rItemSet, |
bool | bGraphic | ||
) |
Definition at line 1423 of file wrthtml.cxx.
References SfxItemSet::GetItemIfSet(), OutBackground(), and RES_BACKGROUND().
void SwHTMLWriter::OutBackground | ( | const SvxBrushItem * | pBrushItem, |
bool | bGraphic | ||
) |
check, if background color is not "no fill"/"auto fill", instead of only checking, if transparency is not set.
Definition at line 1379 of file wrthtml.cxx.
References COL_TRANSPARENT(), Writer::CopyLocalFileToINet(), Writer::GetBaseURL(), SvxBrushItem::GetColor(), SvxBrushItem::GetGraphic(), SvxBrushItem::GetGraphicLink(), XOutBitmap::GraphicToBase64(), m_bCfgCpyLinkedGrfs, m_nWarn, mbEmbedImages, OOO_STRING_SVTOOLS_HTML_O_background, OOO_STRING_SVTOOLS_HTML_O_bgcolor, OOO_STRING_SVTOOLS_HTML_O_data, HTMLOutFuncs::Out_Color(), HTMLOutFuncs::Out_String(), URIHelper::simpleNormalizedMakeRelative(), Writer::Strm(), WARN_SWG_POOR_LOAD, SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by MakeHeader(), and OutBackground().
void SwHTMLWriter::OutBasic | ( | const SwHTMLWriter & | rHTMLWrt | ) |
Definition at line 248 of file htmlbas.cxx.
References Writer::GetBaseURL(), SfxApplication::GetBasicManager(), SfxObjectShell::GetBasicManager(), SwDoc::GetDocShell(), BasicManager::GetLib(), BasicManager::GetLibCount(), StarBASIC::GetModules(), SbxVariable::GetName(), GetNamespace(), i, m_bCfgStarBasic, Writer::m_pDoc, OOO_STRING_SVTOOLS_HTML_meta, OOO_STRING_SVTOOLS_HTML_META_content_script_type, OOO_STRING_SVTOOLS_HTML_O_content, OOO_STRING_SVTOOLS_HTML_O_httpequiv, OUStringToOString(), OutNewLine(), HTMLOutFuncs::OutScript(), SAL_NEWLINE_STRING, STARBASIC, Writer::Strm(), SVX_MACRO_LANGUAGE_STARBASIC, and SvStream::WriteOString().
Referenced by MakeHeader().
void SwHTMLWriter::OutBasicBodyEvents | ( | ) |
Definition at line 306 of file htmlbas.cxx.
References aBodyEventTable, aEventNames, SfxEventConfiguration::ConvertToMacro(), SvxMacroTableDtor::empty(), SwDoc::GetDocShell(), SfxObjectShell::GetModel(), i, SvxMacroTableDtor::Insert(), m_bCfgStarBasic, Writer::m_pDoc, HTMLOutFuncs::Out_Events(), and Writer::Strm().
Referenced by MakeHeader().
void SwHTMLWriter::OutBookmarks | ( | ) |
Definition at line 1245 of file wrthtml.cxx.
References IDocumentMarkAccess::getAllMarksBegin(), IDocumentMarkAccess::getAllMarksCount(), SwDoc::getIDocumentMarkAccess(), sw::mark::IMark::GetName(), m_aOutlineMarkPoss, m_aOutlineMarks, m_nBkmkTabPos, Writer::m_pCurrentPam, Writer::m_pDoc, nPos, and OutAnchor().
Referenced by OutHTML_SwTextNode().
void SwHTMLWriter::OutCSS1_FrameFormatBackground | ( | const SwFrameFormat & | rFrameFormat | ) |
Definition at line 2128 of file css1atr.cxx.
References BROWSE_MODE, COL_TRANSPARENT(), COL_WHITE(), SwNode::FindTableBoxStartNode(), SwNode::FindTableNode(), IDocumentSettingAccess::get(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormatAnchor::GetAnchorNode(), SwAttrSet::GetBackground(), SwNode::GetContentNode(), GetCSS1_Color(), IDocumentLayoutAccess::GetCurrentViewShell(), SwNode::GetFlyFormat(), SwTable::GetFrameFormat(), SwTableLine::GetFrameFormat(), SwTableBox::GetFrameFormat(), SwDoc::getIDocumentLayoutAccess(), SwDoc::getIDocumentSettingAccess(), SwNode::GetIndex(), SwPageDesc::GetMaster(), SwViewOption::GetRetoucheColor(), SwContentNode::GetSwAttrSet(), SwTableNode::GetTable(), SwTable::GetTableBox(), SwTableLine::GetUpper(), SwTableBox::GetUpper(), SwViewShell::GetViewOptions(), HTML_MODE, SwNode::IsContentNode(), m_pCurrPageDesc, Writer::m_pDoc, SwFormat::makeBackgroundBrushItem(), OutCSS1_FrameFormatBackground(), OutCSS1_FrameFormatBrush(), OutCSS1_PropertyAscii(), and sCSS1_P_background.
Referenced by OutCSS1_FrameFormatBackground(), and OutCSS1_FrameFormatOptions().
void SwHTMLWriter::OutCSS1_FrameFormatOptions | ( | const SwFrameFormat & | rFrameFormat, |
HtmlFrmOpts | nFrameOpts, | ||
const SdrObject * | pSdrObj = nullptr , |
||
const SfxItemSet * | pItemSet = nullptr |
||
) |
Definition at line 1840 of file css1atr.cxx.
References AbsSize, Align, AnySize, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_FRAME, CSS1_OUTMODE_STYLE_OPT_ON, SwFrameFormat::FindSdrObject(), SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), SwFormat::GetBox(), SwFormat::GetFrameSize(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemState(), SvxLRSpaceItem::GetLeft(), SdrObject::GetLogicRect(), SwFormat::GetLRSpace(), SwFormatVertOrient::GetPos(), SwFormatHoriOrient::GetPos(), SwFormatVertOrient::GetRelationOrient(), SwFormatHoriOrient::GetRelationOrient(), SdrObject::GetRelativePos(), tools::Rectangle::GetSize(), SwFormat::GetULSpace(), SvxULSpaceItem::GetUpper(), SwFormatVertOrient::GetVertOrient(), SwFormat::GetVertOrient(), Size::Height(), HTMLMODE_FLY_MARGINS, IsHTMLMode(), m_bFirstCSS1Property, SwPostItHelper::NONE, OutCSS1_FrameFormatBackground(), OutCSS1_PixelProperty(), OutCSS1_PropertyAscii(), OutCSS1_SfxItemSet(), OutCSS1_SvxBox(), OutCSS1_SvxULSpace_SvxLRSpace(), OutCSS1_SwFormatFrameSize(), OutCSS1_UnitProperty(), RES_BOX(), RES_DRAWFRMFMT(), RES_LR_SPACE(), RES_UL_SPACE(), SAlign, SBackground, SBorder, sCSS1_P_float, sCSS1_P_height, sCSS1_P_left, sCSS1_P_position, sCSS1_P_top, sCSS1_P_width, sCSS1_PV_absolute, sCSS1_PV_left, sCSS1_PV_right, SvxLRSpaceItem::SetLeft(), SvxULSpaceItem::SetUpper(), SHeight, SNoBorder, SPixSize, SSize, SSpace, Writer::Strm(), SWidth, SwFormat::Which(), Size::Width(), SvStream::WriteChar(), Point::X(), and Point::Y().
Referenced by OutFrameFormat(), OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatOLENode(), and OutHTML_ImageStart().
void SwHTMLWriter::OutCSS1_PixelProperty | ( | std::string_view | pProp, |
tools::Long | nVal, | ||
bool | bVert | ||
) |
Definition at line 469 of file css1atr.cxx.
References OutCSS1_PropertyAscii(), sCSS1_UNIT_px, and ToPixel().
Referenced by OutCSS1_FrameFormatOptions(), and OutCSS1_SwFormatFrameSize().
|
inline |
Definition at line 637 of file wrthtml.hxx.
Referenced by OutCSS1_SectionFormatOptions(), OutCSS1_SvxBrush(), OutCSS1_SvxFont(), OutCSS1_SvxLanguage(), and OutCSS1_TableFrameFormatOptions().
void SwHTMLWriter::OutCSS1_Property | ( | std::string_view | pProp, |
std::string_view | pVal, | ||
const OUString * | pSVal, | ||
std::optional< sw::Css1Background > | oBackground = std::nullopt |
||
) |
Definition at line 258 of file css1atr.cxx.
References CSS1_OUTMODE_ANY_ON, CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_RULE_ON, CSS1_OUTMODE_SPAN_TAG1_ON, CSS1_OUTMODE_SPAN_TAG_ON, CSS1_OUTMODE_STYLE_OPT_ON, DOT_LEADERS_MAX_WIDTH, GetNamespace(), i, IgnorePropertyForReqIF(), IncIndentLevel(), m_aCSS1Selector, m_bCfgPrintLayout, m_bFirstCSS1Property, m_bFirstCSS1Rule, m_bTagOn, m_nCSS1OutMode, mbReqIF, OOO_STRING_SVTOOLS_HTML_O_style, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_span, OOO_STRING_SVTOOLS_HTML_style, OUStringToOString(), HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), OutNewLine(), sCSS2_P_CLASS_leaders, Writer::Strm(), and SvStream::WriteOString().
|
inline |
Definition at line 631 of file wrthtml.hxx.
Referenced by OutCSS1_FrameFormatBackground(), OutCSS1_FrameFormatOptions(), OutCSS1_PixelProperty(), OutCSS1_SectionFormatOptions(), OutCSS1_SvxAdjust(), OutCSS1_SvxBorderLine(), OutCSS1_SvxBox(), OutCSS1_SvxCaseMap(), OutCSS1_SvxColor(), OutCSS1_SvxFontHeight(), OutCSS1_SvxFontWeight(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutCSS1_SvxFormatSplit(), OutCSS1_SvxFrameDirection(), OutCSS1_SvxHidden(), OutCSS1_SvxKerning(), OutCSS1_SvxLineSpacing(), OutCSS1_SvxOrphans(), OutCSS1_SvxPosture(), OutCSS1_SvxTextLn_SvxCrOut_SvxBlink(), OutCSS1_SvxWidows(), OutCSS1_SwFootnoteInfo(), OutCSS1_SwFormatDropAttrs(), OutCSS1_SwFormatFrameSize(), OutCSS1_SwFormatLayoutSplit(), OutCSS1_SwPageDesc(), and OutCSS1_UnitProperty().
void SwHTMLWriter::OutCSS1_SectionFormatOptions | ( | const SwFrameFormat & | rFrameFormat, |
const SwFormatCol * | pCol | ||
) |
Definition at line 2080 of file css1atr.cxx.
References convertDirection(), CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_SECTION, CSS1_OUTMODE_STYLE_OPT_ON, SwFormat::GetAttrSet(), GetHTMLDirection(), SfxItemSet::GetItemState(), SwFormatCol::GetNumCols(), m_bFirstCSS1Property, mbXHTML, OutCSS1_Property(), OutCSS1_PropertyAscii(), OutCSS1_SvxBrush(), RES_BACKGROUND(), sCSS1_P_column_count, sCSS1_P_dir, sw::Section, Writer::Strm(), and SvStream::WriteChar().
Referenced by lcl_html_OutSectionStartTag().
void SwHTMLWriter::OutCSS1_SfxItemSet | ( | const SfxItemSet & | rItemSet, |
bool | bDeep = true |
||
) |
Definition at line 3578 of file css1atr.cxx.
References aCSS1AttrFnTab, CSS1_OUTMODE_ANY_OFF, CSS1_OUTMODE_HINT, CSS1_OUTMODE_RULE_OFF, CSS1_OUTMODE_SPAN_TAG_OFF, CSS1_OUTMODE_STYLE_OPT_OFF, SfxItemSet::GetItemIfSet(), IsCSS1Source(), m_bFirstCSS1Property, m_nCSS1OutMode, Out_SfxItemSet(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutCSS1_SvxTextLn_SvxCrOut_SvxBlink(), RES_CHRATR_BLINK(), RES_CHRATR_CROSSEDOUT(), RES_CHRATR_OVERLINE(), RES_CHRATR_UNDERLINE(), Writer::Strm(), and SvStream::WriteOString().
Referenced by OutCSS1_FrameFormatOptions(), OutCSS1_ParaTagStyleOpt(), OutCSS1_SwFormatDropAttrs(), and OutCSS1Rule().
void SwHTMLWriter::OutCSS1_TableCellBordersAndBG | ( | const SwFrameFormat & | rFrameFormat, |
const SvxBrushItem * | pBrushItem | ||
) |
Writes the borders and background for table cells.
Definition at line 2069 of file css1atr.cxx.
References CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_STYLE_OPT_ON, CSS1_OUTMODE_TABLEBOX, SwFormat::GetBox(), m_bFirstCSS1Property, OutCSS1_SvxBox(), OutCSS1_SvxBrush(), Writer::Strm(), sw::TableCell, and SvStream::WriteChar().
void SwHTMLWriter::OutCSS1_TableFrameFormatOptions | ( | const SwFrameFormat & | rFrameFormat | ) |
Writes the formatting for tables.
Definition at line 2037 of file css1atr.cxx.
References CSS1_OUTMODE_ENCODE, CSS1_OUTMODE_STYLE_OPT_ON, CSS1_OUTMODE_TABLE, SwFormat::GetAttrSet(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), SfxItemSet::GetItemState(), HTMLMODE_PRINT_EXT, IsHTMLMode(), m_bFirstCSS1Property, mbXHTML, OutCSS1_Property(), OutCSS1_SvxBrush(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutCSS1_SwFormatLayoutSplit(), RES_BACKGROUND(), RES_LAYOUT_SPLIT(), sCSS1_P_margin_left, sCSS1_P_margin_right, Writer::Strm(), sw::Table, and SvStream::WriteChar().
void SwHTMLWriter::OutCSS1_UnitProperty | ( | std::string_view | pProp, |
tools::Long | nVal | ||
) |
Definition at line 462 of file css1atr.cxx.
References AddUnitPropertyValue(), m_eCSS1Unit, and OutCSS1_PropertyAscii().
Referenced by OutCSS1_FrameFormatOptions(), OutCSS1_NumberBulletListStyleOpt(), OutCSS1_SvxBox(), OutCSS1_SvxFirstLineIndent(), OutCSS1_SvxLineSpacing(), OutCSS1_SvxLRSpace(), OutCSS1_SvxRightMargin(), OutCSS1_SvxTextLeftMargin(), OutCSS1_SvxULSpace(), OutCSS1_SvxULSpace_SvxLRSpace(), OutCSS1_SwFormatDropAttrs(), and OutCSS1_SwFormatFrameSize().
void SwHTMLWriter::OutDirection | ( | SvxFrameDirection | nDir | ) |
Definition at line 1490 of file wrthtml.cxx.
References convertDirection(), OOO_STRING_SVTOOLS_HTML_O_dir, Writer::Strm(), and SvStream::WriteOString().
Referenced by lcl_html_OutSectionStartTag(), MakeHeader(), OutFrameFormatOptions(), and OutHTML_SwFormat().
bool SwHTMLWriter::OutFlyFrame | ( | SwNodeOffset | nNdIdx, |
sal_Int32 | nContentIdx, | ||
HtmlPosition | nPos | ||
) |
Definition at line 349 of file htmlflywriter.cxx.
References Any, Div, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::erase_extract(), HTMLOutFuncs::FlushToAscii(), SwHTMLPosFlyFrame::GetContentIndex(), SwHTMLPosFlyFrame::GetFormat(), SwHTMLPosFlyFrame::GetOutFn(), SwHTMLPosFlyFrame::GetOutMode(), SwHTMLPosFlyFrame::GetOutPos(), SwHTMLPosFlyFrame::GetSdrObject(), i, m_aHTMLPosFlyFrames, MultiCol, nPos, OutFrameFormat(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), Span, Writer::Strm(), and TableNode.
Referenced by OutHTML_FrameFormatAsDivOrSpan(), and OutHTML_SwTextNode().
void SwHTMLWriter::OutFootEndNoteInfo | ( | ) |
Definition at line 548 of file htmlftn.cxx.
References FTNNUM_CHAPTER, FTNNUM_DOC, FTNPOS_PAGE, SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), lcl_html_fillEndNoteInfo(), lcl_html_outFootEndNoteInfo(), SwFootnoteInfo::m_aErgoSum, SwFootnoteInfo::m_aQuoVadis, SwFootnoteInfo::m_eNum, SwFootnoteInfo::m_ePos, Writer::m_pDoc, OOO_STRING_SVTOOLS_HTML_META_sdendnote, OOO_STRING_SVTOOLS_HTML_META_sdfootnote, and u.
Referenced by MakeHeader().
void SwHTMLWriter::OutFootEndNotes | ( | ) |
Definition at line 331 of file htmlftn.cxx.
References DecIndentLevel(), SwNode::EndOfSectionIndex(), SwNodeIndex::GetIndex(), GetNamespace(), SwNodeIndex::GetNode(), IncIndentLevel(), SwFormatFootnote::IsEndNote(), m_bLFPossible, m_nEndNote, m_nFootNote, Writer::m_pCurrentPam, m_pFormatFootnote, m_xFootEndNotes, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdfootnote, HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), Out_SwDoc(), OutNewLine(), Writer::Strm(), and SvStream::WriteOString().
Referenced by WriteStream().
void SwHTMLWriter::OutFootEndNoteSym | ( | const SwFormatFootnote & | rFormatFootnote, |
const OUString & | rNum, | ||
sal_uInt16 | nScript | ||
) |
Definition at line 428 of file htmlftn.cxx.
References CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_WESTERN, SwEndNoteInfo::GetCharFormat(), SwDoc::GetEndNoteInfo(), SwDoc::GetFootnoteInfo(), SwFormat::GetName(), GetNamespace(), SwFormatFootnote::IsEndNote(), m_aScriptTextStyles, m_nEndNote, m_nFootNote, Writer::m_pDoc, OOO_STRING_SVTOOLS_HTML_anchor, OOO_STRING_SVTOOLS_HTML_FTN_anchor, OOO_STRING_SVTOOLS_HTML_FTN_symbol, OOO_STRING_SVTOOLS_HTML_O_class, OOO_STRING_SVTOOLS_HTML_O_href, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_sdendnote, OOO_STRING_SVTOOLS_HTML_sdendnote_sym, OOO_STRING_SVTOOLS_HTML_sdfootnote, OOO_STRING_SVTOOLS_HTML_sdfootnote_sym, HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), Writer::Strm(), and SvStream::WriteOString().
Referenced by OutHTML_SwTextNode().
void SwHTMLWriter::OutForm | ( | bool | bOn, |
const css::uno::Reference< css::container::XIndexContainer > & | rFormComps | ||
) |
void SwHTMLWriter::OutForm | ( | bool | bTagOn = true , |
const SwStartNode * | pStNd = nullptr |
||
) |
!!nWarn = 1; // Control will be assigned to wrong form
Definition at line 225 of file htmlforw.cxx.
References SwNode::EndOfSectionIndex(), SwNode::GetIndex(), SwDoc::GetNodes(), i, m_aHTMLControls, m_bPreserveForm, m_nFormCntrlCnt, Writer::m_pCurrentPam, Writer::m_pDoc, mxFormComps, OutForm(), OutHiddenControls(), and o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size().
Referenced by OutForm(), OutHiddenForm(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), and WriteStream().
void SwHTMLWriter::OutFrameFormat | ( | AllHtmlFlags | nType, |
const SwFrameFormat & | rFormat, | ||
const SdrObject * | pSdrObj | ||
) |
Definition at line 409 of file htmlflywriter.cxx.
References AMarquee, Control, DecIndentLevel(), Div, GetNamespace(), GraphicFrame, GraphicNode, HTML_FRMOPTS_CNTNR, HTMLMODE_BORDER_NONE, IncIndentLevel(), IsHTMLMode(), m_bLFPossible, Marquee, MultiCol, AllHtmlFlags::nContainer, NONE, AllHtmlFlags::nOut, OleGraphic, OleNode, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_O_class, OOO_STRING_SVTOOLS_HTML_span, HTMLOutFuncs::Out_AsciiTag(), OutCSS1_FrameFormatOptions(), OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatAsMarquee(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_FrameFormatTableNode(), OutNewLine(), SBackground, SBorder, SNoBorder, Spacer, Span, Writer::Strm(), TableNode, SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by OutFlyFrame(), and OutHTML_SwFlyCnt().
OString SwHTMLWriter::OutFrameFormatOptions | ( | const SwFrameFormat & | rFrameFormat, |
const OUString & | rAltText, | ||
HtmlFrmOpts | nFrameOpts | ||
) |
Definition at line 507 of file htmlflywriter.cxx.
References AbsSize, Size::AdjustHeight(), Size::AdjustWidth(), Align, Alt, AnySize, BrClear, SvxBoxItem::CalcLineSpace(), Dir, Fixed, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), Application::GetDefaultDevice(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwFormatFrameSize::GetHeightSizeType(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), GetHTMLDirection(), SfxItemSet::GetItemIfSet(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwFormat::GetName(), SwFormatHoriOrient::GetRelationOrient(), SvxLRSpaceItem::GetRight(), SwFormatSurround::GetSurround(), SvxULSpaceItem::GetUpper(), SwFormatVertOrient::GetVertOrient(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), Height, Id, SwFormatSurround::IsAnchorOnly(), OutputDevice::LogicToPixel(), m_bClearLeft, m_bClearRight, m_nDfltBottomMargin, m_nDfltLeftMargin, m_nDfltRightMargin, m_nDfltTopMargin, MarginSize, mbReqIF, Name, SwPostItHelper::NONE, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_linebreak, OOO_STRING_SVTOOLS_HTML_O_align, OOO_STRING_SVTOOLS_HTML_O_alt, OOO_STRING_SVTOOLS_HTML_O_clear, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_hspace, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_vspace, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_VA_absbottom, OOO_STRING_SVTOOLS_HTML_VA_absmiddle, OOO_STRING_SVTOOLS_HTML_VA_bottom, OOO_STRING_SVTOOLS_HTML_VA_middle, OOO_STRING_SVTOOLS_HTML_VA_texttop, OOO_STRING_SVTOOLS_HTML_VA_top, HTMLOutFuncs::Out_String(), OutDirection(), RES_BOX(), RES_FRM_SIZE(), RES_LR_SPACE(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), SAlign, Size::setHeight(), Size::setWidth(), Size, Space, Writer::Strm(), Size::Width(), Width, and SvStream::WriteOString().
Referenced by OutHTML_DrawFrameFormatAsControl(), OutHTML_DrawFrameFormatAsMarquee(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), and OutHTML_FrameFormatOLENode().
|
private |
Definition at line 1037 of file wrthtml.cxx.
References SwpHints::Count(), SwTextAttr::End(), SwpHints::Get(), SwTextAttr::GetAttr(), SwDoc::GetNodes(), SwTextAttr::GetStart(), SwTextNode::GetSwpHints(), SwTextNode::HasHints(), i, Writer::m_pCurrentPam, Writer::m_pDoc, nPos, OutHTML_SwFormatField(), OutNewLine(), Postit, RES_TXTATR_ANNOTATION(), RES_TXTATR_FIELD(), SAL_MAX_UINT16, Script, SfxPoolItem::Which(), and SwTextAttr::Which().
Referenced by MakeHeader().
void SwHTMLWriter::OutHiddenControls | ( | const css::uno::Reference< css::container::XIndexContainer > & | rFormComps, |
const css::uno::Reference< css::beans::XPropertySet > & | rPropSet | ||
) |
Definition at line 530 of file htmlforw.cxx.
References GetNamespace(), lcl_html_isHTMLControl(), m_bLFPossible, m_nFormCntrlCnt, n, nCount, nPos, OOO_STRING_SVTOOLS_HTML_input, OOO_STRING_SVTOOLS_HTML_IT_hidden, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, HTMLOutFuncs::Out_String(), OutNewLine(), Writer::Strm(), o3tl::tryAccess< sal_Int16 >(), SvStream::WriteOString(), and x.
Referenced by OutForm(), OutHiddenForm(), and OutHTML_DrawFrameFormatAsControl().
void SwHTMLWriter::OutHiddenForm | ( | const css::uno::Reference< css::form::XForm > & | rForm | ) |
Definition at line 380 of file htmlforw.cxx.
References i, lcl_html_isHTMLControl(), n, nCount, OutForm(), OutHiddenControls(), OutHiddenForm(), and o3tl::tryAccess< sal_Int16 >().
Referenced by OutHiddenForm(), and OutHiddenForms().
void SwHTMLWriter::OutHiddenForms | ( | ) |
Definition at line 338 of file htmlforw.cxx.
References SfxObjectShell::GetBaseModel(), SwDoc::GetDocShell(), IDocumentDrawModelAccess::GetDrawModel(), SwDoc::getIDocumentDrawModelAccess(), i, Writer::m_pDoc, nCount, OutHiddenForm(), o3tl::tryAccess(), and x.
Referenced by WriteStream().
void SwHTMLWriter::OutHyperlinkHRefValue | ( | const OUString & | rURL | ) |
Definition at line 1373 of file wrthtml.cxx.
References convertHyperlinkHRefValue(), HTMLOutFuncs::Out_String(), and Writer::Strm().
Referenced by OutHTML_INetFormat().
void SwHTMLWriter::OutImplicitMark | ( | std::u16string_view | rMark, |
const char * | pMarkType | ||
) |
Definition at line 1331 of file wrthtml.cxx.
References cMarkSeparator, m_aImplicitMarks, and OutAnchor().
Referenced by lcl_html_OutSectionStartTag(), OutHTML_FrameFormatOLENode(), OutHTML_ImageStart(), and OutHTML_SwTableNode().
void SwHTMLWriter::OutLanguage | ( | LanguageType | eLang | ) |
Definition at line 1449 of file wrthtml.cxx.
References LanguageTag::convertToBcp47(), LANGUAGE_DONTKNOW, mbReqIF, mbXHTML, nLang, OOO_STRING_SVTOOLS_HTML_O_lang, OOO_STRING_SVTOOLS_XHTML_O_lang, HTMLOutFuncs::Out_String(), Writer::Strm(), SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by MakeHeader(), OutHTML_SvxLanguage(), and OutHTML_SwFormat().
void SwHTMLWriter::OutNewLine | ( | bool | bCheck = false | ) |
Definition at line 1537 of file wrthtml.cxx.
References m_nIndentLvl, m_nLastLFPos, MAX_INDENT_LEVEL, SAL_NEWLINE_STRING, sIndentTabs, Writer::Strm(), SvStream::Tell(), and SvStream::WriteOString().
Referenced by lcl_html_outFootEndNoteInfo(), lcl_html_OutSectionEndTag(), lcl_html_OutSectionStartTag(), MakeHeader(), OutAndSetDefList(), OutBasic(), OutCSS1_Property(), OutCSS1_SwPageDesc(), OutFootEndNotes(), OutFrameFormat(), OutHeaderAttrs(), OutHiddenControls(), OutHTML_DrawFrameFormatAsControl(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_HeaderFooter(), OutHTML_ImageOLEStart(), OutHTML_ImageStart(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwFormatField(), OutHTML_SwFormatOff(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), OutStyleSheet(), and WriteStream().
void SwHTMLWriter::OutPointFieldmarks | ( | const SwPosition & | rPos | ) |
Definition at line 1286 of file wrthtml.cxx.
References IDocumentMarkAccess::getFieldmarkAt(), SwDoc::getIDocumentMarkAccess(), sw::mark::ICheckboxFieldmark::IsChecked(), Writer::m_pDoc, ODF_FORMCHECKBOX, OOO_STRING_SVTOOLS_HTML_input, OOO_STRING_SVTOOLS_HTML_IT_checkbox, OOO_STRING_SVTOOLS_HTML_O_checked, OOO_STRING_SVTOOLS_HTML_O_type, Writer::Strm(), and SvStream::WriteOString().
Referenced by OutHTML_SwTextNode().
void SwHTMLWriter::OutStyleSheet | ( | const SwPageDesc & | rPageDesc | ) |
Definition at line 476 of file css1atr.cxx.
References DecIndentLevel(), SwDoc::GetCharFormats(), SwDoc::GetEndNoteInfo(), SwPageDesc::GetFollow(), SwDoc::GetFootnoteIdxs(), SwDoc::GetFootnoteInfo(), Writer::getIDocumentStylePoolAccess(), SwDoc::getIDocumentStylePoolAccess(), GetNamespace(), SwFormat::GetPoolFormatId(), SwPageDesc::GetPoolFormatId(), IDocumentStylePoolAccess::GetTextCollFromPool(), SwDoc::GetTextFormatColls(), HTMLMODE_PRINT_EXT, i, IsHTMLMode(), IsPoolUserFormat(), SwDoc::IsUsed(), m_bCSS1IgnoreFirstPageDesc, m_bFirstCSS1Rule, m_nDfltBottomMargin, m_nDfltTopMargin, Writer::m_pDoc, m_xTemplate, OOO_STRING_SVTOOLS_HTML_style, HTMLOutFuncs::Out_AsciiTag(), OutCSS1_SwFootnoteInfo(), OutCSS1_SwFormat(), OutCSS1_SwPageDesc(), OutNewLine(), RES_POOLCHR_INET_NORMAL, RES_POOLCHR_INET_VISIT, RES_POOLCOLL_TEXT, RES_POOLPAGE_FIRST, RES_POOLPAGE_HTML, RES_POOLPAGE_LEFT, RES_POOLPAGE_RIGHT, SwCharFormats::size(), SwVectorModifyBase< Value >::size(), and Writer::Strm().
Referenced by MakeHeader().
|
static |
Definition at line 1067 of file css1atr.cxx.
References aName, comphelper::string::encodeForXml(), FAMILY_DECORATIVE, FAMILY_MODERN, FAMILY_ROMAN, FAMILY_SCRIPT, FAMILY_SWISS, SvxFontItem::GetFamily(), SvxFontItem::GetFamilyName(), sCSS1_PV_cursive, sCSS1_PV_fantasy, sCSS1_PV_monospace, sCSS1_PV_sans_serif, sCSS1_PV_serif, and comphelper::string::strip().
Referenced by OutCSS1_SvxFont(), and OutHTML_SvxFont().
std::unique_ptr< SwHTMLNumRuleInfo > SwHTMLWriter::ReleaseNextNumInfo | ( | ) |
Definition at line 181 of file wrthtml.cxx.
References m_pNextNumRuleInfo.
Referenced by HTMLSaveData::HTMLSaveData().
|
inline |
Definition at line 543 of file wrthtml.hxx.
Referenced by HTMLSaveData::HTMLSaveData(), and HTMLSaveData::~HTMLSaveData().
void SwHTMLWriter::SetNextNumInfo | ( | std::unique_ptr< SwHTMLNumRuleInfo > | pNxt | ) |
Definition at line 81 of file htmlnumwriter.cxx.
References m_pNextNumRuleInfo.
Referenced by HTMLSaveData::~HTMLSaveData().
|
protected |
Definition at line 252 of file wrthtml.cxx.
References comphelper::SequenceAsHashMap::end(), comphelper::SequenceAsHashMap::find(), m_aRTFOLEMimeType, m_bExportImagesAsOLE, m_bPrettyPrint, m_nLeadingTabWidth, m_nShapeDPI, m_nWishLineLen, maNamespace, mbEmbedImages, mbReqIF, mbSkipHeaderFooter, mbSkipImages, and mbXHTML.
Referenced by SetupFilterOptions().
|
overrideprotectedvirtual |
Reimplemented from Writer.
Definition at line 186 of file wrthtml.cxx.
References comphelper::containerToSequence(), SfxMedium::GetArgs(), SfxItemSet::GetItemIfSet(), SfxMedium::GetItemSet(), comphelper::JsonToPropertyValues(), SetupFilterFromPropertyValues(), and SetupFilterOptions().
|
private |
Definition at line 206 of file wrthtml.cxx.
References comphelper::string::convertCommaSeparated(), comphelper::SequenceAsHashMap::getAsConstPropertyValueList(), SetupFilterFromPropertyValues(), and u.
Referenced by SetupFilterOptions(), and SwHTMLWriter().
|
static |
Definition at line 984 of file css1atr.cxx.
References SfxItemSet::ClearItem(), SfxWhichIter::FirstWhich(), SfxItemPool::GetDefaultItem(), SfxWhichIter::GetItemState(), SfxItemSet::GetItemState(), SfxItemSet::GetPool(), SfxItemSet::GetRanges(), SfxWhichIter::NextWhich(), SfxItemSet::Put(), 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(), SfxItemSet::Set(), and swhtml_css1atr_equalFontItems().
Referenced by OutCSS1_SwFootnoteInfo(), OutCSS1_SwFormat(), OutCSS1_SwPageDesc(), and SwHTMLFormatInfo::SwHTMLFormatInfo().
|
static |
Definition at line 2628 of file htmlatr.cxx.
References Application::GetDefaultDevice(), Size::Height(), OutputDevice::LogicToPixel(), and Size::Width().
Referenced by OutCSS1_PixelProperty(), and OutHTML_SwTextNode().
void SwHTMLWriter::writeFrameFormatOptions | ( | HtmlWriter & | aHtml, |
const SwFrameFormat & | rFrameFormat, | ||
std::u16string_view | rAltText, | ||
HtmlFrmOpts | nFrameOpts | ||
) |
Definition at line 792 of file htmlflywriter.cxx.
References AbsSize, Size::AdjustHeight(), Size::AdjustWidth(), Align, Alt, AnySize, HtmlWriter::attribute(), BrClear, SvxBoxItem::CalcLineSpace(), convertDirection(), Dir, HtmlWriter::end(), SwFrameFormat::FindSdrObject(), Fixed, SwFormat::GetAnchor(), SwFormatAnchor::GetAnchorId(), SwFormat::GetAttrSet(), Application::GetDefaultDevice(), SvxSizeItem::GetHeight(), SwFormatFrameSize::GetHeightPercent(), SwFormatFrameSize::GetHeightSizeType(), SwFormatHoriOrient::GetHoriOrient(), SwFormat::GetHoriOrient(), GetHTMLDirection(), SfxItemSet::GetItemIfSet(), SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SwFormat::GetName(), tools::Rectangle::getOpenHeight(), tools::Rectangle::getOpenWidth(), SwFormatHoriOrient::GetRelationOrient(), SvxLRSpaceItem::GetRight(), SwFormatSurround::GetSurround(), SvxULSpaceItem::GetUpper(), SwFormatVertOrient::GetVertOrient(), SvxSizeItem::GetWidth(), SwFormatFrameSize::GetWidthPercent(), Size::Height(), Height, Id, SwFormatSurround::IsAnchorOnly(), OutputDevice::LogicToPixel(), m_bClearLeft, m_bClearRight, m_nDfltBottomMargin, m_nDfltLeftMargin, m_nDfltRightMargin, m_nDfltTopMargin, MarginSize, mbReqIF, mbXHTML, Name, SwPostItHelper::NONE, OOO_STRING_SVTOOLS_HTML_AL_left, OOO_STRING_SVTOOLS_HTML_AL_right, OOO_STRING_SVTOOLS_HTML_linebreak, OOO_STRING_SVTOOLS_HTML_O_align, OOO_STRING_SVTOOLS_HTML_O_alt, OOO_STRING_SVTOOLS_HTML_O_clear, OOO_STRING_SVTOOLS_HTML_O_dir, OOO_STRING_SVTOOLS_HTML_O_height, OOO_STRING_SVTOOLS_HTML_O_hspace, OOO_STRING_SVTOOLS_HTML_O_id, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_vspace, OOO_STRING_SVTOOLS_HTML_O_width, OOO_STRING_SVTOOLS_HTML_VA_absbottom, OOO_STRING_SVTOOLS_HTML_VA_absmiddle, OOO_STRING_SVTOOLS_HTML_VA_bottom, OOO_STRING_SVTOOLS_HTML_VA_middle, OOO_STRING_SVTOOLS_HTML_VA_texttop, OOO_STRING_SVTOOLS_HTML_VA_top, pObject, Replacement, RES_BOX(), RES_FRM_SIZE(), RES_LR_SPACE(), RES_SURROUND(), RES_UL_SPACE(), RES_VERT_ORIENT(), SAlign, Size::setHeight(), Size::setWidth(), Size, Space, HtmlWriter::start(), Size::Width(), and Width.
Referenced by OutHTML_ImageStart().
|
overrideprotectedvirtual |
Implements Writer.
Definition at line 353 of file wrthtml.cxx.
References aName, BROWSE_MODE, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::clear(), SwHTMLNumRuleInfo::Clear(), ClearNextNumInfo(), CollectFlyFrames(), CollectLinkTargets(), HTMLOutFuncs::ConvertStringToHTML(), SwNodes::Count(), CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_WESTERN, o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::empty(), SwNode::EndOfSectionNode(), EndProgress(), ERRCODE_ABORT, ERRCODE_NONE, FileLink, SwNode::FindSectionNode(), sw::proofreadingiterator::get(), IDocumentSettingAccess::get(), GetAppLanguage(), SwFormat::GetAttrSet(), GetControls(), SwDoc::GetDefault(), SwDoc::GetDocShell(), SvxHtmlOptions::GetExportMode(), SwFormatFooter::GetFooterFormat(), GetFormat(), SwFormatHeader::GetHeaderFormat(), GetHtmlMode(), SwDoc::getIDocumentSettingAccess(), Writer::getIDocumentStylePoolAccess(), SfxItemSet::GetItemIfSet(), SwLangHelper::GetLanguage(), GetLangWhichIdFromScript(), SwPageDesc::GetMaster(), GetNamespace(), SwDoc::GetNodes(), GetNumInfo(), SvtLanguageOptions::GetScriptTypeOfLanguage(), SwSectionNode::GetSection(), SwSection::GetSectionName(), IDocumentStylePoolAccess::GetTextCollFromPool(), SvxTextLeftMarginItem::GetTextLeft(), SwFormat::GetTextLeftMargin(), SwSection::GetType(), HTML_CFG_MSIE, HTML_CFG_NS40, HTML_CFG_WRITER, HTML_MODE, HTMLMODE_ABS_POS_DRAW, HTMLMODE_ABS_POS_FLY, HTMLMODE_BLOCK_SPACER, HTMLMODE_BORDER_NONE, HTMLMODE_FLOAT_FRAME, HTMLMODE_FLY_MARGINS, HTMLMODE_FONT_GENERIC, HTMLMODE_FULL_STYLES, HTMLMODE_LSPACE_IN_NUMBER_BULLET, HTMLMODE_NBSP_IN_TABLES, HTMLMODE_NO_CONTROL_CENTERING, HTMLMODE_PRINT_EXT, HTMLMODE_SOME_STYLES, IsHTMLMode(), SvxHtmlOptions::IsPrintLayoutExtension(), m_aBulletGrfs, m_aFontHeights, m_aHTMLControls, m_aHTMLPosFlyFrames, m_aImgMapNames, m_aImplicitMarks, m_aNumRuleNames, m_aOutlineMarkPoss, m_aOutlineMarks, m_aScriptParaStyles, m_aScriptTextStyles, m_bCfgCpyLinkedGrfs, m_bCfgFormFeed, m_bCfgNetscape4, m_bCfgOutStyles, m_bCfgPreferStyles, m_bCfgPrintLayout, m_bCfgStarBasic, m_bClearLeft, m_bClearRight, m_bCSS1IgnoreFirstPageDesc, m_bFirstCSS1Property, m_bFirstCSS1Rule, m_bLFPossible, m_bOutFlyFrame, m_bOutFooter, m_bOutHeader, m_bOutTable, m_bPreserveForm, Writer::m_bShowProgress, Writer::m_bWriteAll, Writer::m_bWriteClipboardDoc, Writer::m_bWriteOnlyFirstTable, m_CharFormatInfos, m_eCSS1Unit, m_eLang, m_nCSS1OutMode, m_nCSS1Script, m_nDefListLvl, m_nDefListMargin, m_nDfltBottomMargin, m_nDfltFirstLineIndent, m_nDfltLeftMargin, m_nDfltRightMargin, m_nDfltTopMargin, m_nEndNote, m_nExportMode, m_nFirstLineIndent, m_nFootNote, m_nFormCntrlCnt, m_nHeaderFooterSpace, m_nHTMLMode, m_nIndentLvl, m_nLastLFPos, m_nLastParaToken, m_nLeftMargin, m_nTextAttrsToIgnore, m_nWarn, Writer::m_pCurrentPam, m_pCurrPageDesc, Writer::m_pDoc, m_pFormatFootnote, m_pNextNumRuleInfo, Writer::m_pOrigPam, m_pStartNdIdx, m_TextCollInfos, m_xDfltColor, m_xFootEndNotes, m_xTemplate, MakeHeader(), mbReqIF, mbSkipHeaderFooter, mxFormComps, OOO_STRING_SVTOOLS_HTML_body, OOO_STRING_SVTOOLS_HTML_division, OOO_STRING_SVTOOLS_HTML_html, OOO_STRING_SVTOOLS_HTML_O_id, HTMLOutFuncs::Out_AsciiTag(), Out_SwDoc(), OutFootEndNotes(), OutForm(), OutHiddenForms(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_HeaderFooter(), OutNewLine(), ReadHTML, RES_FOOTER(), RES_HEADER(), RES_POOLCOLL_HTML_DD, Writer::SetStream(), o3tl::sorted_vector< typename Value, typename Compare, template< typename, typename > class Find, bool >::size(), SwNode::StartOfSectionNode(), StartProgress(), Writer::Strm(), SW_MOD, and SvStream::WriteOString().
OUString SwHTMLWriter::m_aBulletGrfs[MAXLEVEL] |
Definition at line 311 of file wrthtml.hxx.
Referenced by OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), and WriteStream().
OUString SwHTMLWriter::m_aCSS1Selector |
Definition at line 310 of file wrthtml.hxx.
Referenced by OutCSS1_Property().
sal_uInt32 SwHTMLWriter::m_aFontHeights[7] |
Definition at line 321 of file wrthtml.hxx.
Referenced by GetHTMLFontSize(), and WriteStream().
HTMLControls SwHTMLWriter::m_aHTMLControls |
Definition at line 304 of file wrthtml.hxx.
Referenced by GetControls(), HasControls(), OutForm(), and WriteStream().
|
private |
Definition at line 274 of file wrthtml.hxx.
Referenced by CollectFlyFrames(), GetControls(), GuessFrameType(), OutFlyFrame(), and WriteStream().
std::vector<OUString> SwHTMLWriter::m_aImgMapNames |
Definition at line 297 of file wrthtml.hxx.
Referenced by WriteStream().
std::set<OUString> SwHTMLWriter::m_aImplicitMarks |
Definition at line 298 of file wrthtml.hxx.
Referenced by AddLinkTarget(), OutImplicitMark(), and WriteStream().
std::vector<SwFormatINetFormat*> SwHTMLWriter::m_aINetFormats |
Definition at line 307 of file wrthtml.hxx.
Referenced by OutHTML_ImageEnd(), OutHTML_ImageStart(), and OutHTML_SwFormatINetFormat().
std::set<OUString> SwHTMLWriter::m_aNumRuleNames |
Definition at line 299 of file wrthtml.hxx.
Referenced by OutHTML_NumberBulletListStart(), and WriteStream().
std::vector<SwNodeOffset> SwHTMLWriter::m_aOutlineMarkPoss |
Definition at line 303 of file wrthtml.hxx.
Referenced by AddLinkTarget(), OutBookmarks(), and WriteStream().
std::vector<OUString> SwHTMLWriter::m_aOutlineMarks |
Definition at line 302 of file wrthtml.hxx.
Referenced by AddLinkTarget(), OutBookmarks(), and WriteStream().
OUString SwHTMLWriter::m_aRTFOLEMimeType |
Definition at line 425 of file wrthtml.hxx.
Referenced by OutHTML_FrameFormatOLENodeGrf(), and SetupFilterFromPropertyValues().
std::set<OUString> SwHTMLWriter::m_aScriptParaStyles |
Definition at line 300 of file wrthtml.hxx.
Referenced by OutCSS1_SwFormat(), OutHTML_SwFormat(), and WriteStream().
std::set<OUString> SwHTMLWriter::m_aScriptTextStyles |
Definition at line 301 of file wrthtml.hxx.
Referenced by OutCSS1_SwFootnoteInfo(), OutCSS1_SwFormat(), OutFootEndNoteSym(), OutHTML_SwTextNode(), and WriteStream().
bool SwHTMLWriter::m_bCfgCpyLinkedGrfs |
Definition at line 359 of file wrthtml.hxx.
Referenced by OutBackground(), OutCSS1_SvxBrush(), OutHTML_BulletImage(), OutHTML_FrameFormatGrfNode(), and WriteStream().
bool SwHTMLWriter::m_bCfgFormFeed |
Definition at line 357 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode(), and WriteStream().
bool SwHTMLWriter::m_bCfgNetscape4 |
Definition at line 401 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLineSpacing(), OutHTML_SwFormat(), and WriteStream().
bool SwHTMLWriter::m_bCfgOutStyles |
Definition at line 355 of file wrthtml.hxx.
Referenced by lcl_html_OutSectionStartTag(), MakeHeader(), OutHTML_CSS1Attr(), OutHTML_DrawFrameFormatAsControl(), OutHTML_FrameFormatAsMarquee(), OutHTML_NumberBulletListStart(), OutHTML_SvxColor(), OutHTML_SvxEscapement(), OutHTML_SvxFontHeight(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwFormat(), OutHTML_SwPosture(), OutHTML_SwTextCharFormat(), OutHTML_SwTextNode(), OutHTML_SwUnderline(), OutHTML_SwWeight(), and WriteStream().
bool SwHTMLWriter::m_bCfgPreferStyles |
Definition at line 356 of file wrthtml.hxx.
Referenced by OutCSS1_SvxColor(), OutHTML_SvxColor(), and WriteStream().
bool SwHTMLWriter::m_bCfgPrintLayout |
Definition at line 417 of file wrthtml.hxx.
Referenced by indexOfDotLeaders(), OutCSS1_Property(), OutHTML_SwFormat(), and WriteStream().
bool SwHTMLWriter::m_bCfgStarBasic |
Definition at line 358 of file wrthtml.hxx.
Referenced by OutBasic(), OutBasicBodyEvents(), OutHTML_DrawFrameFormatAsControl(), OutHTML_ImageStart(), OutHTML_INetFormat(), and WriteStream().
bool SwHTMLWriter::m_bClearLeft |
Definition at line 393 of file wrthtml.hxx.
Referenced by OutFrameFormatOptions(), OutHTML_SwTextNode(), writeFrameFormatOptions(), and WriteStream().
bool SwHTMLWriter::m_bClearRight |
Definition at line 394 of file wrthtml.hxx.
Referenced by OutFrameFormatOptions(), OutHTML_SwTextNode(), writeFrameFormatOptions(), and WriteStream().
bool SwHTMLWriter::m_bCSS1IgnoreFirstPageDesc |
Definition at line 388 of file wrthtml.hxx.
Referenced by OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutStyleSheet(), and WriteStream().
bool SwHTMLWriter::m_bExportImagesAsOLE = false |
ReqIF mode: export images as OLE objects.
Definition at line 428 of file wrthtml.hxx.
Referenced by OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_ImageOLEEnd(), OutHTML_ImageOLEStart(), and SetupFilterFromPropertyValues().
bool SwHTMLWriter::m_bFirstCSS1Property |
Definition at line 385 of file wrthtml.hxx.
Referenced by OutCSS1_BodyTagStyleOpt(), OutCSS1_FrameFormatOptions(), OutCSS1_HintSpanTag(), OutCSS1_HintStyleOpt(), OutCSS1_NumberBulletListStyleOpt(), OutCSS1_Property(), OutCSS1_SectionFormatOptions(), OutCSS1_SfxItemSet(), OutCSS1_SwPageDesc(), OutCSS1_TableBGStyleOpt(), OutCSS1_TableCellBordersAndBG(), OutCSS1_TableFrameFormatOptions(), and WriteStream().
bool SwHTMLWriter::m_bFirstCSS1Rule |
Definition at line 384 of file wrthtml.hxx.
Referenced by OutCSS1_Property(), OutStyleSheet(), and WriteStream().
bool SwHTMLWriter::m_bFirstLine |
Definition at line 363 of file wrthtml.hxx.
Referenced by Out_SwDoc(), and OutHTML_SwFormat().
bool SwHTMLWriter::m_bLFPossible |
Definition at line 395 of file wrthtml.hxx.
Referenced by ChangeParaToken(), lcl_html_OutSectionEndTag(), lcl_html_OutSectionStartTag(), OutAndSetDefList(), OutFootEndNotes(), OutFrameFormat(), OutHiddenControls(), OutHTML_DrawFrameFormatAsControl(), OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatAsSpacer(), OutHTML_FrameFormatOLENode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_ImageStart(), OutHTML_NumberBulletListEnd(), OutHTML_SwFormat(), OutHTML_SwFormatField(), OutHTML_SwFormatOff(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), and WriteStream().
bool SwHTMLWriter::m_bNoAlign |
Definition at line 392 of file wrthtml.hxx.
Referenced by OutCSS1_SvxAdjust(), OutHTML_SwFormat(), and SwHTMLWriter().
bool SwHTMLWriter::m_bOutFlyFrame |
Definition at line 380 of file wrthtml.hxx.
Referenced by OutHTML_FrameFormatAsDivOrSpan(), OutHTML_FrameFormatAsMulticol(), OutHTML_FrameFormatTableNode(), OutHTML_SwTextNode(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
bool SwHTMLWriter::m_bOutFooter |
Definition at line 379 of file wrthtml.hxx.
Referenced by HTMLSaveData::HTMLSaveData(), Out_SwDoc(), OutHTML_HeaderFooter(), OutHTML_SwFormat(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
bool SwHTMLWriter::m_bOutHeader |
Definition at line 378 of file wrthtml.hxx.
Referenced by HTMLSaveData::HTMLSaveData(), OutHTML_HeaderFooter(), OutHTML_SwFormat(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
bool SwHTMLWriter::m_bOutOpts |
Definition at line 375 of file wrthtml.hxx.
Referenced by OutHTML_SvxAdjust(), OutHTML_SvxColor(), OutHTML_SvxEscapement(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutHTML_SvxLanguage(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwFormat(), OutHTML_SwFormatINetFormat(), OutHTML_SwPosture(), OutHTML_SwTextCharFormat(), OutHTML_SwTextNode(), OutHTML_SwUnderline(), and OutHTML_SwWeight().
bool SwHTMLWriter::m_bOutTable |
Definition at line 377 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLineSpacing(), OutHTML_SwFormat(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), and WriteStream().
bool SwHTMLWriter::m_bParaDotLeaders |
Definition at line 418 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLineSpacing(), OutCSS1_SvxLRSpace(), OutCSS1_SvxTextLeftMargin(), and OutHTML_SwFormat().
bool SwHTMLWriter::m_bPreserveForm |
Definition at line 399 of file wrthtml.hxx.
Referenced by OutForm(), OutHTML_SwTableNode(), and WriteStream().
bool SwHTMLWriter::m_bPrettyPrint |
Definition at line 419 of file wrthtml.hxx.
Referenced by OutHTML_SwFormat(), OutHTML_SwFormatOff(), OutHTML_SwTextNode(), and SetupFilterFromPropertyValues().
bool SwHTMLWriter::m_bTagOn |
Definition at line 364 of file wrthtml.hxx.
Referenced by OutCSS1_HintSpanTag(), OutCSS1_Property(), OutCSS1_SvxBox(), OutCSS1_SwFormatDrop(), OutHTML_FrameFormatAsMarquee(), OutHTML_SvxAdjust(), OutHTML_SvxColor(), OutHTML_SvxEscapement(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutHTML_SvxLanguage(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwField(), OutHTML_SwFormatINetFormat(), OutHTML_SwPosture(), OutHTML_SwTextCharFormat(), OutHTML_SwTextNode(), OutHTML_SwUnderline(), and OutHTML_SwWeight().
bool SwHTMLWriter::m_bTextAttr |
Definition at line 373 of file wrthtml.hxx.
Referenced by OutHTML_CSS1Attr(), OutHTML_FrameFormatAsMarquee(), OutHTML_SvxColor(), OutHTML_SvxEscapement(), OutHTML_SvxFontHeight(), OutHTML_SwBlink(), OutHTML_SwCrossedOut(), OutHTML_SwFormat(), OutHTML_SwPosture(), OutHTML_SwTextNode(), OutHTML_SwUnderline(), and OutHTML_SwWeight().
SwHTMLFormatInfos SwHTMLWriter::m_CharFormatInfos |
Definition at line 305 of file wrthtml.hxx.
Referenced by OutHTML_INetFormat(), OutHTML_SwTextCharFormat(), OutHTML_SwTextNode(), and WriteStream().
|
private |
Definition at line 279 of file wrthtml.hxx.
Referenced by OutCSS1_UnitProperty(), and WriteStream().
LanguageType SwHTMLWriter::m_eLang |
Definition at line 351 of file wrthtml.hxx.
Referenced by MakeHeader(), OutHTML_SwFormat(), and WriteStream().
sal_Int32 SwHTMLWriter::m_nBkmkTabPos |
Definition at line 327 of file wrthtml.hxx.
Referenced by Out_SwDoc(), OutBookmarks(), and HTMLSaveData::~HTMLSaveData().
sal_uInt16 SwHTMLWriter::m_nCSS1OutMode |
Definition at line 346 of file wrthtml.hxx.
Referenced by OutCSS1_Property(), OutCSS1_SfxItemSet(), OutCSS1_SvxFont(), OutCSS1_SwFormatDropAttrs(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nCSS1Script |
Definition at line 347 of file wrthtml.hxx.
Referenced by OutCSS1_ParaTagStyleOpt(), OutCSS1_SwFormatDrop(), OutCSS1DropCapRule(), OutCSS1Rule(), OutHTML_INetFormat(), OutHTML_SwField(), OutHTML_SwFormat(), OutHTML_SwTextCharFormat(), OutHTML_SwTextNode(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nDefListLvl |
Definition at line 341 of file wrthtml.hxx.
Referenced by HTMLSaveData::HTMLSaveData(), OutAndSetDefList(), OutHTML_SwFormat(), OutHTML_SwTableNode(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
sal_Int32 SwHTMLWriter::m_nDefListMargin |
Definition at line 342 of file wrthtml.hxx.
Referenced by OutHTML_SwFormat(), OutHTML_SwTableNode(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nDfltBottomMargin |
Definition at line 338 of file wrthtml.hxx.
Referenced by OutCSS1_SvxULSpace(), OutCSS1_SvxULSpace_SvxLRSpace(), OutCSS1_SwFormat(), OutFrameFormatOptions(), OutHTML_SwFormat(), OutStyleSheet(), writeFrameFormatOptions(), and WriteStream().
short SwHTMLWriter::m_nDfltFirstLineIndent |
Definition at line 336 of file wrthtml.hxx.
Referenced by OutCSS1_SvxFirstLineIndent(), OutCSS1_SvxLRSpace(), OutHTML_SwFormat(), and WriteStream().
sal_Int32 SwHTMLWriter::m_nDfltLeftMargin |
Definition at line 333 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLRSpace(), OutCSS1_SvxTextLeftMargin(), OutCSS1_SvxULSpace_SvxLRSpace(), OutFrameFormatOptions(), OutHTML_SwFormat(), writeFrameFormatOptions(), and WriteStream().
sal_Int32 SwHTMLWriter::m_nDfltRightMargin |
Definition at line 334 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLRSpace(), OutCSS1_SvxRightMargin(), OutCSS1_SvxULSpace_SvxLRSpace(), OutFrameFormatOptions(), OutHTML_SwFormat(), writeFrameFormatOptions(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nDfltTopMargin |
Definition at line 337 of file wrthtml.hxx.
Referenced by OutCSS1_SvxULSpace(), OutCSS1_SvxULSpace_SvxLRSpace(), OutCSS1_SwFormat(), OutFrameFormatOptions(), OutHTML_SwFormat(), OutStyleSheet(), writeFrameFormatOptions(), and WriteStream().
SvxFrameDirection SwHTMLWriter::m_nDirection |
Definition at line 349 of file wrthtml.hxx.
Referenced by GetHTMLDirection(), HTMLSaveData::HTMLSaveData(), MakeHeader(), OutHTML_SwFormat(), and HTMLSaveData::~HTMLSaveData().
sal_uInt16 SwHTMLWriter::m_nEndNote |
Definition at line 330 of file wrthtml.hxx.
Referenced by OutFootEndNotes(), OutFootEndNoteSym(), OutHTML_SwFormatFootnote(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nExportMode |
Definition at line 345 of file wrthtml.hxx.
Referenced by CollectFlyFrames(), OutHTML_SwFlyCnt(), and WriteStream().
short SwHTMLWriter::m_nFirstLineIndent |
Definition at line 335 of file wrthtml.hxx.
Referenced by OutCSS1_SvxFirstLineIndent(), OutCSS1_SvxLRSpace(), OutHTML_SwFormat(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nFootNote |
Definition at line 331 of file wrthtml.hxx.
Referenced by OutFootEndNotes(), OutFootEndNoteSym(), OutHTML_SwFormatFootnote(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nFormCntrlCnt |
Definition at line 329 of file wrthtml.hxx.
Referenced by OutForm(), OutHiddenControls(), OutHTML_DrawFrameFormatAsControl(), and WriteStream().
sal_uInt16 SwHTMLWriter::m_nHeaderFooterSpace |
Definition at line 343 of file wrthtml.hxx.
Referenced by OutHTML_HeaderFooter(), OutHTML_SwFormat(), and WriteStream().
|
private |
Definition at line 277 of file wrthtml.hxx.
Referenced by WriteStream().
sal_uInt16 SwHTMLWriter::m_nImgMapCnt |
Definition at line 328 of file wrthtml.hxx.
sal_uInt16 SwHTMLWriter::m_nIndentLvl |
Definition at line 339 of file wrthtml.hxx.
Referenced by GetIndentString(), OutNewLine(), and WriteStream().
sal_uInt32 SwHTMLWriter::m_nLastLFPos |
Definition at line 324 of file wrthtml.hxx.
Referenced by OutNewLine(), and WriteStream().
HtmlTokenId SwHTMLWriter::m_nLastParaToken |
Definition at line 326 of file wrthtml.hxx.
Referenced by ChangeParaToken(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SwFormat(), OutHTML_SwTextNode(), WriteStream(), and HTMLSaveData::~HTMLSaveData().
std::optional<sal_Int32> SwHTMLWriter::m_nLeadingTabWidth |
If set, replace leading tabs with this many non-breaking spaces.
Definition at line 434 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode(), and SetupFilterFromPropertyValues().
sal_Int32 SwHTMLWriter::m_nLeftMargin |
Definition at line 332 of file wrthtml.hxx.
Referenced by OutCSS1_SvxLRSpace(), OutCSS1_SvxTextLeftMargin(), OutHTML_SwFormat(), and WriteStream().
std::optional<sal_Int32> SwHTMLWriter::m_nShapeDPI |
DPI used when exporting a vector shape as a bitmap.
Definition at line 431 of file wrthtml.hxx.
Referenced by OutHTML_FrameFormatAsImage(), and SetupFilterFromPropertyValues().
sal_uInt16 SwHTMLWriter::m_nTextAttrsToIgnore |
Definition at line 344 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode(), and WriteStream().
ErrCode SwHTMLWriter::m_nWarn |
Definition at line 323 of file wrthtml.hxx.
Referenced by OutBackground(), OutCSS1_SvxBrush(), OutHTML_BulletImage(), OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_ImageStart(), and WriteStream().
sal_Int32 SwHTMLWriter::m_nWishLineLen |
Definition at line 340 of file wrthtml.hxx.
Referenced by OutHTML_SwTextNode(), and SetupFilterFromPropertyValues().
const SwPageDesc* SwHTMLWriter::m_pCurrPageDesc |
Definition at line 318 of file wrthtml.hxx.
Referenced by OutCSS1_FrameFormatBackground(), and WriteStream().
const SwFormatFootnote* SwHTMLWriter::m_pFormatFootnote |
Definition at line 319 of file wrthtml.hxx.
Referenced by OutFootEndNotes(), OutHTML_SwTextNode(), and WriteStream().
|
private |
Definition at line 276 of file wrthtml.hxx.
Referenced by ClearNextNumInfo(), FillNextNumInfo(), ReleaseNextNumInfo(), SetNextNumInfo(), and WriteStream().
|
private |
Definition at line 275 of file wrthtml.hxx.
SwNodeIndex* SwHTMLWriter::m_pStartNdIdx |
Definition at line 317 of file wrthtml.hxx.
Referenced by OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), OutHTML_SwTextNode(), and WriteStream().
SwHTMLFormatInfos SwHTMLWriter::m_TextCollInfos |
Definition at line 306 of file wrthtml.hxx.
Referenced by OutHTML_SwFormat(), and WriteStream().
std::optional<Color> SwHTMLWriter::m_xDfltColor |
Definition at line 316 of file wrthtml.hxx.
Referenced by OutBodyColor(), OutHTML_SwTextNode(), and WriteStream().
std::optional<std::vector<SwTextFootnote*> > SwHTMLWriter::m_xFootEndNotes |
Definition at line 308 of file wrthtml.hxx.
Referenced by OutFootEndNotes(), OutHTML_SwFormatFootnote(), and WriteStream().
rtl::Reference<SwDoc> SwHTMLWriter::m_xTemplate |
Definition at line 315 of file wrthtml.hxx.
Referenced by OutBodyColor(), OutCSS1_SwFootnoteInfo(), OutHTML_SwFormat(), OutHTML_SwTextNode(), OutStyleSheet(), and WriteStream().
OString SwHTMLWriter::maNamespace |
XML namespace, in case of XHTML.
Definition at line 412 of file wrthtml.hxx.
Referenced by GetNamespace(), OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_SwFormat(), OutHTML_SwFormatLineBreak(), OutHTML_SwTextNode(), and SetupFilterFromPropertyValues().
Tracks which text portion attributes are currently open: a which id -> open count map.
Definition at line 423 of file wrthtml.hxx.
Referenced by OutHTML_SwFormatField().
bool SwHTMLWriter::mbEmbedImages |
Definition at line 406 of file wrthtml.hxx.
Referenced by OutBackground(), OutCSS1_SvxBrush(), OutHTML_BulletImage(), OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_ImageStart(), and SetupFilterFromPropertyValues().
bool SwHTMLWriter::mbReqIF = false |
If the ReqIF subset of XHTML should be written.
Definition at line 414 of file wrthtml.hxx.
Referenced by MakeHeader(), OutAnchor(), OutCSS1_Property(), OutCSS1_SvxTextLn_SvxCrOut_SvxBlink(), OutFrameFormatOptions(), OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_ImageOLEEnd(), OutHTML_ImageOLEStart(), OutHTML_ImageStart(), OutHTML_NumberBulletListStart(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutHTML_SwCrossedOut(), OutHTML_SwField(), OutHTML_SwFormatField(), OutHTML_SwTableNode(), OutHTML_SwTextNode(), OutHTML_SwUnderline(), OutLanguage(), SetupFilterFromPropertyValues(), writeFrameFormatOptions(), and WriteStream().
bool SwHTMLWriter::mbSkipHeaderFooter |
If HTML header and footer should be written as well, or just the content itself.
Definition at line 405 of file wrthtml.hxx.
Referenced by MakeHeader(), OutCSS1_SvxFormatBreak_SwFormatPDesc_SvxFormatKeep(), SetupFilterFromPropertyValues(), and WriteStream().
bool SwHTMLWriter::mbSkipImages |
Definition at line 403 of file wrthtml.hxx.
Referenced by OutHTML_FrameFormatAsImage(), OutHTML_FrameFormatGrfNode(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_ImageStart(), and SetupFilterFromPropertyValues().
bool SwHTMLWriter::mbXHTML = false |
If XHTML markup should be written instead of HTML.
Definition at line 410 of file wrthtml.hxx.
Referenced by lcl_html_OutSectionStartTag(), MakeHeader(), OutAnchor(), OutCSS1_SectionFormatOptions(), OutCSS1_TableFrameFormatOptions(), OutHTML_FrameFormatOLENodeGrf(), OutHTML_NumberBulletListEnd(), OutHTML_NumberBulletListStart(), OutHTML_SvxColor(), OutHTML_SvxFont(), OutHTML_SvxFontHeight(), OutHTML_SwFormat(), OutHTML_SwTableNode(), OutLanguage(), SetupFilterFromPropertyValues(), SwHTMLWriter(), and writeFrameFormatOptions().
std::unique_ptr<utl::TempFileNamed> SwHTMLWriter::mpTempBaseURL |
Temporary base URL for paste of images.
Definition at line 408 of file wrthtml.hxx.
Referenced by OutHTML_ImageStart(), and SwHTMLWriter().
css::uno::Reference<css::container::XIndexContainer> SwHTMLWriter::mxFormComps |
Definition at line 313 of file wrthtml.hxx.
Referenced by OutForm(), OutHTML_DrawFrameFormatAsControl(), OutHTML_SwTableNode(), and WriteStream().