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)
76internal XamlToRtfError Process() 78XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2427internal XamlToRtfError Parse() 2432XamlToRtfError IXamlContentHandler.Characters(string characters) 2434XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2443while (xamlToRtfError == XamlToRtfError.None && index < characters.Length) 2471if (xamlToRtfError == XamlToRtfError.None) 2485XamlToRtfError IXamlContentHandler.StartDocument() 2487return XamlToRtfError.None; 2490XamlToRtfError IXamlContentHandler.EndDocument() 2492return XamlToRtfError.None; 2503XamlToRtfError IXamlContentHandler.StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes) 2505XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2551if (xamlToRtfError == XamlToRtfError.None && documentNode != null && bNewNode) 2572XamlToRtfError IXamlContentHandler.EndElement(string nameSpaceUri, string localName, string qName) 2574XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2617XamlToRtfError IXamlContentHandler.IgnorableWhitespace(string xaml) 2619XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2658if (xamlToRtfError != XamlToRtfError.None) 2665if (xamlToRtfError != XamlToRtfError.None) 2670if (xamlToRtfError != XamlToRtfError.None) 2690XamlToRtfError IXamlContentHandler.StartPrefixMapping(string prefix, string uri) 2692XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2711XamlToRtfError IXamlContentHandler.ProcessingInstruction(string target, string data) 2713XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2718XamlToRtfError IXamlContentHandler.SkippedEntity(string name) 2720XamlToRtfError xamlToRtfError = XamlToRtfError.None; 2736xamlToRtfError = XamlToRtfError.InvalidFormat; 2767void IXamlErrorHandler.Error(string message, XamlToRtfError xamlToRtfError) 2771void IXamlErrorHandler.FatalError(string message, XamlToRtfError xamlToRtfError) 2775void IXamlErrorHandler.IgnorableWarning(string message, XamlToRtfError xamlToRtfError) 2842private XamlToRtfError HandleAttributes(ConverterState converterState, IXamlAttributes attributes, 2847XamlToRtfError xamlToRtfError = attributes.GetLength(ref nLen); 2849if (xamlToRtfError == XamlToRtfError.None) 2860for (int i = 0; xamlToRtfError == XamlToRtfError.None && i < nLen; i++) 2864if (xamlToRtfError == XamlToRtfError.None) 2868if (xamlToRtfError == XamlToRtfError.None &&