LibreOffice Module sw (master) 1
|
#include <com/sun/star/i18n/XBreakIterator.hpp>
#include <comphelper/string.hxx>
#include <comphelper/xmlencode.hxx>
#include <svtools/htmlkywd.hxx>
#include <svtools/htmlout.hxx>
#include <osl/diagnose.h>
#include <o3tl/string_view.hxx>
#include <fmtfld.hxx>
#include <doc.hxx>
#include <docsh.hxx>
#include <view.hxx>
#include <wrtsh.hxx>
#include <breakit.hxx>
#include <ndtxt.hxx>
#include <txtfld.hxx>
#include <fldbas.hxx>
#include <docufld.hxx>
#include <flddat.hxx>
#include <viewopt.hxx>
#include "htmlfld.hxx"
#include "wrthtml.hxx"
#include <rtl/strbuf.hxx>
#include "css1atr.hxx"
#include "css1kywd.hxx"
Go to the source code of this file.
Functions | |
static SwHTMLWriter & | OutHTML_SwField (SwHTMLWriter &rWrt, const SwField *pField, const SwTextNode &rTextNd, sal_Int32 nFieldPos) |
SwHTMLWriter & | OutHTML_SwFormatField (SwHTMLWriter &rWrt, const SfxPoolItem &rHt) |
|
static |
Definition at line 70 of file htmlfldw.cxx.
References AF_NAME, AF_SHORTCUT, aHTMLAttrFnTab, aName, Author, HTMLOutFuncs::CreateTableDataOptionsValNum(), CSS1_OUTMODE_ANY_SCRIPT, CSS1_OUTMODE_CJK, CSS1_OUTMODE_CTL, CSS1_OUTMODE_WESTERN, DateTime, nsSwDocInfoSubType::DI_CHANGE, nsSwDocInfoSubType::DI_COMMENT, nsSwDocInfoSubType::DI_CREATE, nsSwDocInfoSubType::DI_CUSTOM, nsSwDocInfoSubType::DI_KEYS, nsSwDocInfoSubType::DI_SUB_AUTHOR, nsSwDocInfoSubType::DI_SUB_DATE, nsSwDocInfoSubType::DI_SUB_TIME, nsSwDocInfoSubType::DI_SUBJECT, nsSwDocInfoSubType::DI_TITLE, DocInfo, DocStat, DS_CHAR, DS_GRF, DS_OLE, DS_PAGE, DS_PARA, DS_TBL, DS_WORD, EU_CITY, EU_COMPANY, EU_COUNTRY, EU_EMAIL, EU_FAX, EU_FIRSTNAME, EU_NAME, EU_PHONE_COMPANY, EU_PHONE_PRIVATE, EU_POSITION, EU_SHORTCUT, EU_STATE, EU_STREET, EU_TITLE, EU_ZIP, SwField::ExpandField(), ExtUser, FF_FIXED, FF_NAME, FF_NAME_NOEXT, FF_PATH, FF_PATHNAME, Filename, g_pBreakIt, SwDoc::GetAttrPool(), SwBreakIt::GetBreakIter(), SwHTMLWriter::GetCSS1ScriptForScriptType(), SwField::GetFormat(), GetName(), SwHTMLWriter::GetNamespace(), SwDoc::GetNumberFormatter(), SwHTMLWriter::GetNumFormat(), SwField::GetPar2(), SwTextNode::GetParaAttr(), SwField::GetSubType(), SwField::GetTyp(), GetValue, i, SwField::IsFixed(), SwHTMLWriter::m_bTagOn, SwHTMLWriter::m_nCSS1Script, Writer::m_pDoc, SwHTMLWriter::mbReqIF, nPos, nValue, OOO_STRING_SVTOOLS_HTML_O_format, OOO_STRING_SVTOOLS_HTML_O_name, OOO_STRING_SVTOOLS_HTML_O_sdfixed, OOO_STRING_SVTOOLS_HTML_O_subtype, OOO_STRING_SVTOOLS_HTML_O_type, OOO_STRING_SVTOOLS_HTML_O_value, OOO_STRING_SVTOOLS_HTML_sdfield, OOO_STRING_SW_HTML_FF_author, OOO_STRING_SW_HTML_FF_date, OOO_STRING_SW_HTML_FF_name, OOO_STRING_SW_HTML_FF_name_noext, OOO_STRING_SW_HTML_FF_path, OOO_STRING_SW_HTML_FF_pathname, OOO_STRING_SW_HTML_FF_shortcut, OOO_STRING_SW_HTML_FF_time, OOO_STRING_SW_HTML_FS_change, OOO_STRING_SW_HTML_FS_char, OOO_STRING_SW_HTML_FS_city, OOO_STRING_SW_HTML_FS_comment, OOO_STRING_SW_HTML_FS_company, OOO_STRING_SW_HTML_FS_country, OOO_STRING_SW_HTML_FS_cphone, OOO_STRING_SW_HTML_FS_create, OOO_STRING_SW_HTML_FS_custom, OOO_STRING_SW_HTML_FS_email, OOO_STRING_SW_HTML_FS_fax, OOO_STRING_SW_HTML_FS_firstname, OOO_STRING_SW_HTML_FS_grf, OOO_STRING_SW_HTML_FS_keys, OOO_STRING_SW_HTML_FS_name, OOO_STRING_SW_HTML_FS_next, OOO_STRING_SW_HTML_FS_ole, OOO_STRING_SW_HTML_FS_page, OOO_STRING_SW_HTML_FS_para, OOO_STRING_SW_HTML_FS_position, OOO_STRING_SW_HTML_FS_pphone, OOO_STRING_SW_HTML_FS_prev, OOO_STRING_SW_HTML_FS_random, OOO_STRING_SW_HTML_FS_shortcut, OOO_STRING_SW_HTML_FS_state, OOO_STRING_SW_HTML_FS_street, OOO_STRING_SW_HTML_FS_tbl, OOO_STRING_SW_HTML_FS_theme, OOO_STRING_SW_HTML_FS_title, OOO_STRING_SW_HTML_FS_word, OOO_STRING_SW_HTML_FS_zip, OOO_STRING_SW_HTML_FT_author, OOO_STRING_SW_HTML_FT_datetime, OOO_STRING_SW_HTML_FT_docinfo, OOO_STRING_SW_HTML_FT_docstat, OOO_STRING_SW_HTML_FT_filename, OOO_STRING_SW_HTML_FT_page, OOO_STRING_SW_HTML_FT_sender, Out(), HTMLOutFuncs::Out_AsciiTag(), HTMLOutFuncs::Out_String(), PageNumber, PG_NEXT, PG_PREV, PG_RANDOM, RES_CHRATR_CJK_FONT(), RES_CHRATR_CJK_FONTSIZE(), RES_CHRATR_CJK_POSTURE(), RES_CHRATR_CJK_WEIGHT(), RES_CHRATR_CTL_FONT(), RES_CHRATR_CTL_FONTSIZE(), RES_CHRATR_CTL_POSTURE(), RES_CHRATR_CTL_WEIGHT(), RES_CHRATR_FONT(), RES_CHRATR_FONTSIZE(), RES_CHRATR_POSTURE(), RES_CHRATR_WEIGHT(), Writer::Strm(), SVX_NUM_CHAR_SPECIAL, swhtml_css1atr_equalFontItems(), SwFieldType::Which(), and SvStream::WriteOString().
Referenced by OutHTML_SwFormatField().
SwHTMLWriter & OutHTML_SwFormatField | ( | SwHTMLWriter & | rWrt, |
const SfxPoolItem & | rHt | ||
) |
Definition at line 444 of file htmlfldw.cxx.
References aURL, convertLineEnd(), comphelper::string::encodeForXml(), o3tl::equalsIgnoreAsciiCase(), Writer::GetBaseURL(), GetCSS1_Color(), SwDoc::GetDocShell(), SwFormatField::GetField(), SwViewOption::GetFieldShadingsColor(), SwFieldType::GetName(), SwHTMLWriter::GetNamespace(), SwField::GetPar1(), SwField::GetPar2(), SwTextAttr::GetStart(), SwField::GetSubType(), GetSystemLineEnd(), SwFormatField::GetTextField(), SwTextField::GetTextNode(), SwField::GetTyp(), SwDocShell::GetView(), SwViewShell::GetViewOptions(), SwView::GetWrtShell(), nsSwGetSetExpType::GSE_STRING, SwViewOption::IsFieldShadings(), JAVASCRIPT, SwHTMLWriter::m_bLFPossible, Writer::m_pDoc, SwHTMLWriter::maStartedAttributes, SwHTMLWriter::mbReqIF, OOO_STRING_SVTOOLS_HTML_comment, OOO_STRING_SVTOOLS_HTML_meta, OOO_STRING_SVTOOLS_HTML_O_style, OOO_STRING_SVTOOLS_HTML_span, OUStringToOString(), HTMLOutFuncs::Out_AsciiTag(), OutHTML_SwField(), SwHTMLWriter::OutNewLine(), HTMLOutFuncs::OutScript(), Postit, RES_CHRATR_BACKGROUND(), Script, sCSS1_P_background, SetExp, comphelper::string::strip(), comphelper::string::stripStart(), Writer::Strm(), u, SwFieldType::Which(), SvStream::WriteChar(), and SvStream::WriteOString().
Referenced by SwHTMLWriter::OutHeaderAttrs().