2 writes to _writer
ReachFramework (2)
PrintConfig\PrintCapabilitesWriter.cs (2)
38this._writer = XmlWriter.Create(new StreamWriter(stream, Encoding.UTF8), settings); 52this._writer = null;
39 references to _writer
ReachFramework (39)
PrintConfig\PrintCapabilitesWriter.cs (39)
48if (this._writer != null) 50this._writer.Flush(); 51this._writer.Close(); 66this._writer.Flush(); 71this._writer.WriteStartDocument(); 72this._writer.WriteStartElement(PrintSchemaPrefixes.Framework, PrintSchemaTags.Framework.PrintCapRoot, PrintSchemaNamespaces.Framework); 73this._writer.WriteAttributeString(PrintSchemaPrefixes.xmlns, PrintSchemaPrefixes.Framework, null, PrintSchemaNamespaces.Framework); 74this._writer.WriteAttributeString(PrintSchemaPrefixes.xmlns, PrintSchemaPrefixes.xsi, null, PrintSchemaNamespaces.xsi); 75this._writer.WriteAttributeString(PrintSchemaPrefixes.xmlns, PrintSchemaPrefixes.xsd, null, PrintSchemaNamespaces.xsd); 76this._writer.WriteAttributeString("version", "1"); 79this._writer.WriteAttributeString(PrintSchemaPrefixes.xmlns, this._privateQName, null, this._privateNamespace); 81this._writer.WriteAttributeString(PrintSchemaPrefixes.xmlns, PrintSchemaPrefixes.StandardKeywordSet, PrintSchemaNamespaces.xmlns, PrintSchemaNamespaces.StandardKeywordSet); 86this._writer.WriteEndDocument(); 87this._writer.Flush(); 647this._writer.WriteStartElement(PrintSchemaTags.Framework.Feature, PrintSchemaNamespaces.Framework); 656this._writer.WriteEndElement(); 661this._writer.WriteStartElement(PrintSchemaTags.Framework.ParameterDef, PrintSchemaNamespaces.Framework); 668this._writer.WriteEndElement(); 673this._writer.WriteStartElement(PrintSchemaTags.Framework.Option, PrintSchemaNamespaces.Framework); 685this._writer.WriteStartElement(PrintSchemaTags.Framework.Option, PrintSchemaNamespaces.Framework); 697this._writer.WriteEndElement(); 752this._writer.WriteStartElement(PrintSchemaTags.Framework.Property, PrintSchemaNamespaces.Framework); 758this._writer.WriteEndElement(); 763this._writer.WriteStartElement(PrintSchemaTags.Framework.ScoredProperty, PrintSchemaNamespaces.Framework); 769this._writer.WriteEndElement(); 774this._writer.WriteStartElement(PrintSchemaTags.Framework.Value, PrintSchemaNamespaces.Framework); 776this._writer.WriteAttributeString("type", PrintSchemaNamespaces.xsi, type); 777this._writer.WriteString(propertyValue); 779this._writer.WriteEndElement(); 784this._writer.WriteStartElement(PrintSchemaTags.Framework.Value, PrintSchemaNamespaces.Framework); 787this._writer.WriteQualifiedName(valueLocalName, valueNamespace); 789this._writer.WriteEndElement(); 794this._writer.WriteStartElement(PrintSchemaTags.Framework.ParameterRef, PrintSchemaNamespaces.Framework); 798this._writer.WriteEndElement(); 803this._writer.WriteStartElement(PrintSchemaTags.Framework.ParameterInit, PrintSchemaNamespaces.Framework); 808this._writer.WriteEndElement(); 813this._writer.WriteStartAttribute(attrLocalName, attrNamespace); 815this._writer.WriteQualifiedName(valueLocalName, valueNamespace); 817this._writer.WriteEndAttribute();