153 references to XamlToRtfError
PresentationFramework (153)
System\Windows\Documents\IXamlAttributes.cs (13)
21
XamlToRtfError
GetLength(ref int length);
23
XamlToRtfError
GetUri(int index, ref string uri);
25
XamlToRtfError
GetLocalName(int index, ref string localName);
27
XamlToRtfError
GetQName(int index, ref string qName);
29
XamlToRtfError
GetName(int index, ref string uri, ref string localName, ref string qName);
31
XamlToRtfError
GetIndexFromName(string uri, string localName, ref int index);
33
XamlToRtfError
GetIndexFromQName(string qName, ref int index);
35
XamlToRtfError
GetType(int index, ref string type);
37
XamlToRtfError
GetTypeFromName(string uri, string localName, ref string type);
39
XamlToRtfError
GetTypeFromQName(string qName, ref string type);
41
XamlToRtfError
GetValue(int index, ref string value);
43
XamlToRtfError
GetValueFromName(string uri, string localName, ref string value);
45
XamlToRtfError
GetValueFromQName(string qName, ref string value);
System\Windows\Documents\IXamlContentHandler.cs (9)
21
XamlToRtfError
StartDocument();
23
XamlToRtfError
EndDocument();
25
XamlToRtfError
StartPrefixMapping(string prefix, string uri);
27
XamlToRtfError
StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes);
29
XamlToRtfError
EndElement(string nameSpaceUri, string localName, string qName);
31
XamlToRtfError
Characters(string characters);
33
XamlToRtfError
IgnorableWhitespace(string characters);
35
XamlToRtfError
ProcessingInstruction(string target, string data);
37
XamlToRtfError
SkippedEntity(string name);
System\Windows\Documents\IXamlErrorHandler.cs (3)
13
void Error(string message,
XamlToRtfError
xamlToRtfError);
15
void FatalError(string message,
XamlToRtfError
xamlToRtfError);
17
void IgnorableWarning(string message,
XamlToRtfError
xamlToRtfError);
System\Windows\Documents\XamlToRtfParser.cs (83)
48
internal
XamlToRtfError
Parse()
53
return
XamlToRtfError
.Unknown;
57
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
65
while (xamlToRtfError ==
XamlToRtfError
.None)
69
if (xamlToRtfError !=
XamlToRtfError
.None || xamlToken.TokenType == XamlTokenType.XTokEOF)
77
xamlToRtfError =
XamlToRtfError
.Unknown;
113
xamlToRtfError =
XamlToRtfError
.Unknown;
119
if (xamlToRtfError ==
XamlToRtfError
.None && _xamlTagStack.Count != 0)
121
xamlToRtfError =
XamlToRtfError
.Unknown;
125
if (xamlToRtfError ==
XamlToRtfError
.None)
160
private
XamlToRtfError
ParseXTokStartElement(XamlToken xamlToken, ref string name)
162
XamlToRtfError
xamlToRtfError = _xamlAttributes.Init(xamlToken.Text);
164
if (xamlToRtfError ==
XamlToRtfError
.None)
168
if (xamlToRtfError ==
XamlToRtfError
.None)
172
if (xamlToRtfError ==
XamlToRtfError
.None)
180
xamlToRtfError = (
XamlToRtfError
)_xamlTagStack.Push(name);
190
private
XamlToRtfError
ParseXTokEndElement(XamlToken xamlToken, ref string name)
192
XamlToRtfError
xamlToRtfError = _xamlAttributes.Init(xamlToken.Text);
194
if (xamlToRtfError ==
XamlToRtfError
.None)
198
if (xamlToRtfError ==
XamlToRtfError
.None)
268
internal
XamlToRtfError
Next(XamlToken token)
270
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
567
internal
XamlToRtfError
Init(string xaml)
572
internal
XamlToRtfError
GetTag(ref string xamlTag)
574
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
578
return
XamlToRtfError
.Unknown;
586
XamlToRtfError
IXamlAttributes.GetLength(ref int length)
588
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
598
return
XamlToRtfError
.Unknown;
602
XamlToRtfError
IXamlAttributes.GetUri(int index, ref string uri)
604
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
609
XamlToRtfError
IXamlAttributes.GetLocalName(int index, ref string localName)
611
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
616
XamlToRtfError
IXamlAttributes.GetQName(int index, ref string qName)
618
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
623
XamlToRtfError
IXamlAttributes.GetName(int index, ref string uri, ref string localName, ref string qName)
625
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
631
return
XamlToRtfError
.Unknown;
640
XamlToRtfError
IXamlAttributes.GetIndexFromName(string uri, string localName, ref int index)
642
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
647
XamlToRtfError
IXamlAttributes.GetIndexFromQName(string qName, ref int index)
649
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
654
XamlToRtfError
IXamlAttributes.GetType(int index, ref string typeName)
656
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
661
XamlToRtfError
IXamlAttributes.GetTypeFromName(string uri, string localName, ref string typeName)
663
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
668
XamlToRtfError
IXamlAttributes.GetValue(int index, ref string valueName)
670
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
676
return
XamlToRtfError
.OutOfRange;
684
XamlToRtfError
IXamlAttributes.GetValueFromName(string uri, string localName, ref string valueName)
686
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
691
XamlToRtfError
IXamlAttributes.GetValueFromQName(string qName, ref string valueName)
693
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
698
XamlToRtfError
IXamlAttributes.GetTypeFromQName(string qName, ref string typeName)
700
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
765
internal
XamlToRtfError
Init(string xaml)
767
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
783
return
XamlToRtfError
.Unknown;
790
return
XamlToRtfError
.Unknown;
836
return
XamlToRtfError
.Unknown;
863
return
XamlToRtfError
.Unknown;
877
return
XamlToRtfError
.Unknown;
892
return
XamlToRtfError
.Unknown;
957
private
XamlToRtfError
HandleEndTag(string xaml, int xamlIndex)
989
return
XamlToRtfError
.None;
992
return
XamlToRtfError
.Unknown;
System\Windows\Documents\XamlToRtfWriter.cs (45)
76
internal
XamlToRtfError
Process()
78
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2427
internal
XamlToRtfError
Parse()
2432
XamlToRtfError
IXamlContentHandler.Characters(string characters)
2434
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2443
while (xamlToRtfError ==
XamlToRtfError
.None && index < characters.Length)
2471
if (xamlToRtfError ==
XamlToRtfError
.None)
2485
XamlToRtfError
IXamlContentHandler.StartDocument()
2487
return
XamlToRtfError
.None;
2490
XamlToRtfError
IXamlContentHandler.EndDocument()
2492
return
XamlToRtfError
.None;
2503
XamlToRtfError
IXamlContentHandler.StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes)
2505
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2551
if (xamlToRtfError ==
XamlToRtfError
.None && documentNode != null && bNewNode)
2572
XamlToRtfError
IXamlContentHandler.EndElement(string nameSpaceUri, string localName, string qName)
2574
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2617
XamlToRtfError
IXamlContentHandler.IgnorableWhitespace(string xaml)
2619
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2658
if (xamlToRtfError !=
XamlToRtfError
.None)
2665
if (xamlToRtfError !=
XamlToRtfError
.None)
2670
if (xamlToRtfError !=
XamlToRtfError
.None)
2690
XamlToRtfError
IXamlContentHandler.StartPrefixMapping(string prefix, string uri)
2692
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2711
XamlToRtfError
IXamlContentHandler.ProcessingInstruction(string target, string data)
2713
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2718
XamlToRtfError
IXamlContentHandler.SkippedEntity(string name)
2720
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2736
xamlToRtfError =
XamlToRtfError
.InvalidFormat;
2767
void IXamlErrorHandler.Error(string message,
XamlToRtfError
xamlToRtfError)
2771
void IXamlErrorHandler.FatalError(string message,
XamlToRtfError
xamlToRtfError)
2775
void IXamlErrorHandler.IgnorableWarning(string message,
XamlToRtfError
xamlToRtfError)
2842
private
XamlToRtfError
HandleAttributes(ConverterState converterState, IXamlAttributes attributes,
2847
XamlToRtfError
xamlToRtfError = attributes.GetLength(ref nLen);
2849
if (xamlToRtfError ==
XamlToRtfError
.None)
2860
for (int i = 0; xamlToRtfError ==
XamlToRtfError
.None && i < nLen; i++)
2864
if (xamlToRtfError ==
XamlToRtfError
.None)
2868
if (xamlToRtfError ==
XamlToRtfError
.None &&