153 references to XamlToRtfError
PresentationFramework (153)
System\Windows\Documents\IXamlAttributes.cs (13)
21XamlToRtfError GetLength(ref int length); 23XamlToRtfError GetUri(int index, ref string uri); 25XamlToRtfError GetLocalName(int index, ref string localName); 27XamlToRtfError GetQName(int index, ref string qName); 29XamlToRtfError GetName(int index, ref string uri, ref string localName, ref string qName); 31XamlToRtfError GetIndexFromName(string uri, string localName, ref int index); 33XamlToRtfError GetIndexFromQName(string qName, ref int index); 35XamlToRtfError GetType(int index, ref string type); 37XamlToRtfError GetTypeFromName(string uri, string localName, ref string type); 39XamlToRtfError GetTypeFromQName(string qName, ref string type); 41XamlToRtfError GetValue(int index, ref string value); 43XamlToRtfError GetValueFromName(string uri, string localName, ref string value); 45XamlToRtfError GetValueFromQName(string qName, ref string value);
System\Windows\Documents\IXamlContentHandler.cs (9)
21XamlToRtfError StartDocument(); 23XamlToRtfError EndDocument(); 25XamlToRtfError StartPrefixMapping(string prefix, string uri); 27XamlToRtfError StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes); 29XamlToRtfError EndElement(string nameSpaceUri, string localName, string qName); 31XamlToRtfError Characters(string characters); 33XamlToRtfError IgnorableWhitespace(string characters); 35XamlToRtfError ProcessingInstruction(string target, string data); 37XamlToRtfError SkippedEntity(string name);
System\Windows\Documents\IXamlErrorHandler.cs (3)
13void Error(string message, XamlToRtfError xamlToRtfError); 15void FatalError(string message, XamlToRtfError xamlToRtfError); 17void IgnorableWarning(string message, XamlToRtfError xamlToRtfError);
System\Windows\Documents\XamlToRtfParser.cs (83)
48internal XamlToRtfError Parse() 53return XamlToRtfError.Unknown; 57XamlToRtfError xamlToRtfError = XamlToRtfError.None; 65while (xamlToRtfError == XamlToRtfError.None) 69if (xamlToRtfError != XamlToRtfError.None || xamlToken.TokenType == XamlTokenType.XTokEOF) 77xamlToRtfError = XamlToRtfError.Unknown; 113xamlToRtfError = XamlToRtfError.Unknown; 119if (xamlToRtfError == XamlToRtfError.None && _xamlTagStack.Count != 0) 121xamlToRtfError = XamlToRtfError.Unknown; 125if (xamlToRtfError == XamlToRtfError.None) 160private XamlToRtfError ParseXTokStartElement(XamlToken xamlToken, ref string name) 162XamlToRtfError xamlToRtfError = _xamlAttributes.Init(xamlToken.Text); 164if (xamlToRtfError == XamlToRtfError.None) 168if (xamlToRtfError == XamlToRtfError.None) 172if (xamlToRtfError == XamlToRtfError.None) 180xamlToRtfError = (XamlToRtfError)_xamlTagStack.Push(name); 190private XamlToRtfError ParseXTokEndElement(XamlToken xamlToken, ref string name) 192XamlToRtfError xamlToRtfError = _xamlAttributes.Init(xamlToken.Text); 194if (xamlToRtfError == XamlToRtfError.None) 198if (xamlToRtfError == XamlToRtfError.None) 268internal XamlToRtfError Next(XamlToken token) 270XamlToRtfError xamlToRtfError = XamlToRtfError.None; 567internal XamlToRtfError Init(string xaml) 572internal XamlToRtfError GetTag(ref string xamlTag) 574XamlToRtfError rtfToXamlError = XamlToRtfError.None; 578return XamlToRtfError.Unknown; 586XamlToRtfError IXamlAttributes.GetLength(ref int length) 588XamlToRtfError rtfToXamlError = XamlToRtfError.None; 598return XamlToRtfError.Unknown; 602XamlToRtfError IXamlAttributes.GetUri(int index, ref string uri) 604XamlToRtfError rtfToXamlError = XamlToRtfError.None; 609XamlToRtfError IXamlAttributes.GetLocalName(int index, ref string localName) 611XamlToRtfError rtfToXamlError = XamlToRtfError.None; 616XamlToRtfError IXamlAttributes.GetQName(int index, ref string qName) 618XamlToRtfError rtfToXamlError = XamlToRtfError.None; 623XamlToRtfError IXamlAttributes.GetName(int index, ref string uri, ref string localName, ref string qName) 625XamlToRtfError rtfToXamlError = XamlToRtfError.None; 631return XamlToRtfError.Unknown; 640XamlToRtfError IXamlAttributes.GetIndexFromName(string uri, string localName, ref int index) 642XamlToRtfError rtfToXamlError = XamlToRtfError.None; 647XamlToRtfError IXamlAttributes.GetIndexFromQName(string qName, ref int index) 649XamlToRtfError rtfToXamlError = XamlToRtfError.None; 654XamlToRtfError IXamlAttributes.GetType(int index, ref string typeName) 656XamlToRtfError rtfToXamlError = XamlToRtfError.None; 661XamlToRtfError IXamlAttributes.GetTypeFromName(string uri, string localName, ref string typeName) 663XamlToRtfError rtfToXamlError = XamlToRtfError.None; 668XamlToRtfError IXamlAttributes.GetValue(int index, ref string valueName) 670XamlToRtfError rtfToXamlError = XamlToRtfError.None; 676return XamlToRtfError.OutOfRange; 684XamlToRtfError IXamlAttributes.GetValueFromName(string uri, string localName, ref string valueName) 686XamlToRtfError rtfToXamlError = XamlToRtfError.None; 691XamlToRtfError IXamlAttributes.GetValueFromQName(string qName, ref string valueName) 693XamlToRtfError rtfToXamlError = XamlToRtfError.None; 698XamlToRtfError IXamlAttributes.GetTypeFromQName(string qName, ref string typeName) 700XamlToRtfError rtfToXamlError = XamlToRtfError.None; 765internal XamlToRtfError Init(string xaml) 767XamlToRtfError xamlToRtfError = XamlToRtfError.None; 783return XamlToRtfError.Unknown; 790return XamlToRtfError.Unknown; 836return XamlToRtfError.Unknown; 863return XamlToRtfError.Unknown; 877return XamlToRtfError.Unknown; 892return XamlToRtfError.Unknown; 957private XamlToRtfError HandleEndTag(string xaml, int xamlIndex) 989return XamlToRtfError.None; 992return XamlToRtfError.Unknown;
System\Windows\Documents\XamlToRtfWriter.cs (45)
77internal XamlToRtfError Process() 79XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2428internal XamlToRtfError Parse() 2433XamlToRtfError IXamlContentHandler.Characters(string characters) 2435XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2444while (xamlToRtfError == XamlToRtfError.None && index < characters.Length) 2472if (xamlToRtfError == XamlToRtfError.None) 2486XamlToRtfError IXamlContentHandler.StartDocument() 2488return XamlToRtfError.None; 2491XamlToRtfError IXamlContentHandler.EndDocument() 2493return XamlToRtfError.None; 2504XamlToRtfError IXamlContentHandler.StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes) 2506XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2552if (xamlToRtfError == XamlToRtfError.None && documentNode != null && bNewNode) 2573XamlToRtfError IXamlContentHandler.EndElement(string nameSpaceUri, string localName, string qName) 2575XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2618XamlToRtfError IXamlContentHandler.IgnorableWhitespace(string xaml) 2620XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2659if (xamlToRtfError != XamlToRtfError.None) 2666if (xamlToRtfError != XamlToRtfError.None) 2671if (xamlToRtfError != XamlToRtfError.None) 2691XamlToRtfError IXamlContentHandler.StartPrefixMapping(string prefix, string uri) 2693XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2712XamlToRtfError IXamlContentHandler.ProcessingInstruction(string target, string data) 2714XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2719XamlToRtfError IXamlContentHandler.SkippedEntity(string name) 2721XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2737xamlToRtfError = XamlToRtfError.InvalidFormat; 2768void IXamlErrorHandler.Error(string message, XamlToRtfError xamlToRtfError) 2772void IXamlErrorHandler.FatalError(string message, XamlToRtfError xamlToRtfError) 2776void IXamlErrorHandler.IgnorableWarning(string message, XamlToRtfError xamlToRtfError) 2843private XamlToRtfError HandleAttributes(ConverterState converterState, IXamlAttributes attributes, 2848XamlToRtfError xamlToRtfError = attributes.GetLength(ref nLen); 2850if (xamlToRtfError == XamlToRtfError.None) 2861for (int i = 0; xamlToRtfError == XamlToRtfError.None && i < nLen; i++) 2865if (xamlToRtfError == XamlToRtfError.None) 2869if (xamlToRtfError == XamlToRtfError.None &&