18 #if !defined(FORMATTERTOHTML_HEADER_GUARD_1357924680)
19 #define FORMATTERTOHTML_HEADER_GUARD_1357924680
63 eDefaultIndentAmount = 0
84 int indent = eDefaultIndentAmount,
85 bool escapeURLs =
true,
86 bool omitMetaTag =
false,
91 MemoryManager& theManager,
114 const XMLCh*
const name,
118 endElement(
const XMLCh*
const name);
122 const XMLCh*
const chars,
135 entityReference(
const XMLCh*
const name);
139 const XMLCh*
const ch,
143 processingInstruction(
144 const XMLCh*
const target,
145 const XMLCh*
const data);
162 enum { eMaxLength = 8 };
168 XalanDOMChar m_string[eMaxLength + 1];
175 const XalanDOMChar* theString,
179 accumCommentData(
const XalanDOMChar* data);
186 const XalanDOMChar* theString,
194 static const XalanDOMChar s_doctypeHeaderStartString[];
196 static const size_type s_doctypeHeaderStartStringLength;
201 static const XalanDOMChar s_doctypeHeaderPublicString[];
203 static const size_type s_doctypeHeaderPublicStringLength;
208 static const XalanDOMChar s_doctypeHeaderSystemString[];
210 static const size_type s_doctypeHeaderSystemStringLength;
215 static const XalanDOMChar s_metaString[];
217 static const size_type s_metaStringLength;
232 copyEntityIntoBuffer(
233 const XalanDOMChar* s,
246 const XalanDOMChar* name,
247 const XalanDOMChar* value,
259 const XalanDOMChar* theString,
270 accumHexNumber(XalanDOMChar theChar);
275 return m_prefixResolver == 0 ?
281 pushHasNamespace(
const XalanDOMChar* theElementName)
283 return m_prefixResolver == 0 ?
285 doPushHasNamespace(theElementName);
292 doPushHasNamespace(
const XalanDOMChar* theElementName);
295 XalanDOMString m_currentElementName;
299 BoolStackType m_isRawStack;
301 bool m_isScriptOrStyleElem;
303 BoolStackType m_inScriptElemStack;
311 bool m_isFirstElement;
322 BoolStackType m_hasNamespaceStack;
329 ElementPropertiesStackType m_elementPropertiesStack;
331 static const XalanDOMString s_emptyString;
333 static const Entity s_entities[];
335 static const Entity*
const s_lastEntity;
344 #endif // FORMATTERTOHTML_HEADER_GUARD_1357924680