29namespace com :: sun :: star ::
uno {
template <
class interface_type>
class Reference; }
33 class XDocumentProperties;
40#define HTMLFONTSZ1_DFLT 7
41#define HTMLFONTSZ2_DFLT 10
42#define HTMLFONTSZ3_DFLT 12
43#define HTMLFONTSZ4_DFLT 14
44#define HTMLFONTSZ5_DFLT 18
45#define HTMLFONTSZ6_DFLT 24
46#define HTMLFONTSZ7_DFLT 36
75template<
typename EnumT>
104 sal_uInt32 GetNumber()
const;
105 sal_Int32 GetSNumber()
const;
106 void GetNumbers( std::vector<sal_uInt32> &rNumbers )
const;
107 void GetColor(
Color& )
const;
109 template<
typename EnumT>
111 EnumT nDflt =
static_cast<EnumT
>(0) )
const
113 while( pOptEnums->
pName )
115 if( aValue.equalsIgnoreAsciiCaseAscii( pOptEnums->
pName ) )
122 template<
typename EnumT>
125 while( pOptEnums->
pName )
127 if( aValue.equalsIgnoreAsciiCaseAscii( pOptEnums->
pName ) )
129 rEnum = pOptEnums->
nValue;
188 void SetNamespace(std::u16string_view rNamespace);
204 inline void StartPRE();
208 inline void StartListing();
212 inline void StartXMP();
227 void ReadRawData(
const OUString &rEndToken ) { aEndToken = rEndToken; }
230 void UnescapeToken();
243 static rtl_TextEncoding GetEncodingByMIME(
const OUString& rMime );
246 virtual void AddMetaUserDefined( OUString
const & i_rMetaName );
250 bool ParseMetaOptionsImpl(
const css::uno::Reference< css::document::XDocumentProperties>&,
253 rtl_TextEncoding& rEnc );
257 virtual bool ParseMetaOptions(
const css::uno::Reference< css::document::XDocumentProperties>&,
260 void ParseScriptOptions( OUString& rLangString, std::u16string_view rBaseURL,
HTMLScriptLanguage& rLang,
261 OUString& rSrc, OUString& rLibrary, OUString& rModule );
265 static void RemoveSGMLComment( OUString &rString );
267 static bool InternalImgToPrivateURL( OUString& rURL );
Representation of an HTML option (=attribute in a start tag).
HtmlOptionId GetToken() const
const OUString & GetTokenString() const
const OUString & GetString() const
bool GetEnum(EnumT &rEnum, const HTMLOptionEnum< EnumT > *pOptEnums) const
EnumT GetEnum(const HTMLOptionEnum< EnumT > *pOptEnums, EnumT nDflt=static_cast< EnumT >(0)) const
HtmlTokenId mnPendingOffToken
OFF token pending for a <XX.../> ON/OFF ON token.
bool IsReadScript() const
OUString maNamespace
XML namespace, in case of XHTML.
void FinishPREListingXMP()
void ReadRawData(const OUString &rEndToken)
bool IsReadListing() const
::std::vector< HTMLOption > HTMLOptions