Home | History | Annotate | Download | only in localize

Lines Matching full:pretty

209                         const vector<XMLAttribute>& attrs, int pretty)
213 node->m_pretty = pretty;
222 XMLNode::NewText(const SourcePos& pos, const string& text, int pretty)
226 node->m_pretty = pretty;
255 XMLNode::OpenTagToString(const XMLNamespaceMap& nspaces, int pretty) const
257 return open_tag_to_string(nspaces, "", pretty);
269 if (m_pretty == PRETTY) {
297 XMLNode::open_tag_to_string(const XMLNamespaceMap& nspaces, const string& indent, int pretty) const
313 if (i == 0 || m_pretty == EXACT || pretty == EXACT) {
350 string result = open_tag_to_string(nspaces, indent, PRETTY);
355 if (m_pretty == PRETTY && m_children.size() > 0) {
704 NodeHandler::NodeHandler(XMLNode* root, int pretty)
706 m_pretty(pretty)
721 int pretty;
723 pretty = XMLNode::EXACT;
726 pretty = m_pretty;
728 pretty = m_nodes[m_nodes.size()-1]->Pretty();
731 XMLNode* n = XMLNode::NewElement(pos, ns, name, attrs, pretty);
754 XMLNode* n = XMLNode::NewText(pos, text, m_nodes[m_nodes.size()-1]->Pretty());
772 NodeHandler::ParseFile(const string& filename, int pretty)
774 NodeHandler handler(NULL, pretty);
783 NodeHandler::ParseString(const string& filename, const string& text, int pretty)
785 NodeHandler handler(NULL, pretty);