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)
77
internal
XamlToRtfError
Process()
79
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2428
internal
XamlToRtfError
Parse()
2433
XamlToRtfError
IXamlContentHandler.Characters(string characters)
2435
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2444
while (xamlToRtfError ==
XamlToRtfError
.None && index < characters.Length)
2472
if (xamlToRtfError ==
XamlToRtfError
.None)
2486
XamlToRtfError
IXamlContentHandler.StartDocument()
2488
return
XamlToRtfError
.None;
2491
XamlToRtfError
IXamlContentHandler.EndDocument()
2493
return
XamlToRtfError
.None;
2504
XamlToRtfError
IXamlContentHandler.StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes)
2506
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2552
if (xamlToRtfError ==
XamlToRtfError
.None && documentNode != null && bNewNode)
2573
XamlToRtfError
IXamlContentHandler.EndElement(string nameSpaceUri, string localName, string qName)
2575
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2618
XamlToRtfError
IXamlContentHandler.IgnorableWhitespace(string xaml)
2620
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2659
if (xamlToRtfError !=
XamlToRtfError
.None)
2666
if (xamlToRtfError !=
XamlToRtfError
.None)
2671
if (xamlToRtfError !=
XamlToRtfError
.None)
2691
XamlToRtfError
IXamlContentHandler.StartPrefixMapping(string prefix, string uri)
2693
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2712
XamlToRtfError
IXamlContentHandler.ProcessingInstruction(string target, string data)
2714
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2719
XamlToRtfError
IXamlContentHandler.SkippedEntity(string name)
2721
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2737
xamlToRtfError =
XamlToRtfError
.InvalidFormat;
2768
void IXamlErrorHandler.Error(string message,
XamlToRtfError
xamlToRtfError)
2772
void IXamlErrorHandler.FatalError(string message,
XamlToRtfError
xamlToRtfError)
2776
void IXamlErrorHandler.IgnorableWarning(string message,
XamlToRtfError
xamlToRtfError)
2843
private
XamlToRtfError
HandleAttributes(ConverterState converterState, IXamlAttributes attributes,
2848
XamlToRtfError
xamlToRtfError = attributes.GetLength(ref nLen);
2850
if (xamlToRtfError ==
XamlToRtfError
.None)
2861
for (int i = 0; xamlToRtfError ==
XamlToRtfError
.None && i < nLen; i++)
2865
if (xamlToRtfError ==
XamlToRtfError
.None)
2869
if (xamlToRtfError ==
XamlToRtfError
.None &&