153 references to XamlToRtfError
PresentationFramework (153)
src\Framework\System\Windows\Documents\IXamlAttributes.cs (13)
23
XamlToRtfError
GetLength(ref int length);
25
XamlToRtfError
GetUri(int index, ref string uri);
27
XamlToRtfError
GetLocalName(int index, ref string localName);
29
XamlToRtfError
GetQName(int index, ref string qName);
31
XamlToRtfError
GetName(int index, ref string uri, ref string localName, ref string qName);
33
XamlToRtfError
GetIndexFromName(string uri, string localName, ref int index);
35
XamlToRtfError
GetIndexFromQName(string qName, ref int index);
37
XamlToRtfError
GetType(int index, ref string type);
39
XamlToRtfError
GetTypeFromName(string uri, string localName, ref string type);
41
XamlToRtfError
GetTypeFromQName(string qName, ref string type);
43
XamlToRtfError
GetValue(int index, ref string value);
45
XamlToRtfError
GetValueFromName(string uri, string localName, ref string value);
47
XamlToRtfError
GetValueFromQName(string qName, ref string value);
src\Framework\System\Windows\Documents\IXamlContentHandler.cs (9)
24
XamlToRtfError
StartDocument();
26
XamlToRtfError
EndDocument();
28
XamlToRtfError
StartPrefixMapping(string prefix, string uri);
30
XamlToRtfError
StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes);
32
XamlToRtfError
EndElement(string nameSpaceUri, string localName, string qName);
34
XamlToRtfError
Characters(string characters);
36
XamlToRtfError
IgnorableWhitespace(string characters);
38
XamlToRtfError
ProcessingInstruction(string target, string data);
40
XamlToRtfError
SkippedEntity(string name);
src\Framework\System\Windows\Documents\IXamlErrorHandler.cs (3)
15
void Error(string message,
XamlToRtfError
xamlToRtfError);
17
void FatalError(string message,
XamlToRtfError
xamlToRtfError);
19
void IgnorableWarning(string message,
XamlToRtfError
xamlToRtfError);
src\Framework\System\Windows\Documents\XamlToRtfParser.cs (83)
50
internal
XamlToRtfError
Parse()
55
return
XamlToRtfError
.Unknown;
59
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
67
while (xamlToRtfError ==
XamlToRtfError
.None)
71
if (xamlToRtfError !=
XamlToRtfError
.None || xamlToken.TokenType == XamlTokenType.XTokEOF)
79
xamlToRtfError =
XamlToRtfError
.Unknown;
115
xamlToRtfError =
XamlToRtfError
.Unknown;
121
if (xamlToRtfError ==
XamlToRtfError
.None && _xamlTagStack.Count != 0)
123
xamlToRtfError =
XamlToRtfError
.Unknown;
127
if (xamlToRtfError ==
XamlToRtfError
.None)
162
private
XamlToRtfError
ParseXTokStartElement(XamlToken xamlToken, ref string name)
164
XamlToRtfError
xamlToRtfError = _xamlAttributes.Init(xamlToken.Text);
166
if (xamlToRtfError ==
XamlToRtfError
.None)
170
if (xamlToRtfError ==
XamlToRtfError
.None)
174
if (xamlToRtfError ==
XamlToRtfError
.None)
182
xamlToRtfError = (
XamlToRtfError
)_xamlTagStack.Push(name);
192
private
XamlToRtfError
ParseXTokEndElement(XamlToken xamlToken, ref string name)
194
XamlToRtfError
xamlToRtfError = _xamlAttributes.Init(xamlToken.Text);
196
if (xamlToRtfError ==
XamlToRtfError
.None)
200
if (xamlToRtfError ==
XamlToRtfError
.None)
270
internal
XamlToRtfError
Next(XamlToken token)
272
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
569
internal
XamlToRtfError
Init(string xaml)
574
internal
XamlToRtfError
GetTag(ref string xamlTag)
576
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
580
return
XamlToRtfError
.Unknown;
588
XamlToRtfError
IXamlAttributes.GetLength(ref int length)
590
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
600
return
XamlToRtfError
.Unknown;
604
XamlToRtfError
IXamlAttributes.GetUri(int index, ref string uri)
606
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
611
XamlToRtfError
IXamlAttributes.GetLocalName(int index, ref string localName)
613
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
618
XamlToRtfError
IXamlAttributes.GetQName(int index, ref string qName)
620
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
625
XamlToRtfError
IXamlAttributes.GetName(int index, ref string uri, ref string localName, ref string qName)
627
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
633
return
XamlToRtfError
.Unknown;
642
XamlToRtfError
IXamlAttributes.GetIndexFromName(string uri, string localName, ref int index)
644
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
649
XamlToRtfError
IXamlAttributes.GetIndexFromQName(string qName, ref int index)
651
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
656
XamlToRtfError
IXamlAttributes.GetType(int index, ref string typeName)
658
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
663
XamlToRtfError
IXamlAttributes.GetTypeFromName(string uri, string localName, ref string typeName)
665
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
670
XamlToRtfError
IXamlAttributes.GetValue(int index, ref string valueName)
672
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
678
return
XamlToRtfError
.OutOfRange;
686
XamlToRtfError
IXamlAttributes.GetValueFromName(string uri, string localName, ref string valueName)
688
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
693
XamlToRtfError
IXamlAttributes.GetValueFromQName(string qName, ref string valueName)
695
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
700
XamlToRtfError
IXamlAttributes.GetTypeFromQName(string qName, ref string typeName)
702
XamlToRtfError
rtfToXamlError =
XamlToRtfError
.None;
767
internal
XamlToRtfError
Init(string xaml)
769
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
785
return
XamlToRtfError
.Unknown;
792
return
XamlToRtfError
.Unknown;
838
return
XamlToRtfError
.Unknown;
865
return
XamlToRtfError
.Unknown;
879
return
XamlToRtfError
.Unknown;
894
return
XamlToRtfError
.Unknown;
959
private
XamlToRtfError
HandleEndTag(string xaml, int xamlIndex)
991
return
XamlToRtfError
.None;
994
return
XamlToRtfError
.Unknown;
src\Framework\System\Windows\Documents\XamlToRtfWriter.cs (45)
78
internal
XamlToRtfError
Process()
80
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2429
internal
XamlToRtfError
Parse()
2434
XamlToRtfError
IXamlContentHandler.Characters(string characters)
2436
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2445
while (xamlToRtfError ==
XamlToRtfError
.None && index < characters.Length)
2473
if (xamlToRtfError ==
XamlToRtfError
.None)
2487
XamlToRtfError
IXamlContentHandler.StartDocument()
2489
return
XamlToRtfError
.None;
2492
XamlToRtfError
IXamlContentHandler.EndDocument()
2494
return
XamlToRtfError
.None;
2505
XamlToRtfError
IXamlContentHandler.StartElement(string nameSpaceUri, string localName, string qName, IXamlAttributes attributes)
2507
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2553
if (xamlToRtfError ==
XamlToRtfError
.None && documentNode != null && bNewNode)
2574
XamlToRtfError
IXamlContentHandler.EndElement(string nameSpaceUri, string localName, string qName)
2576
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2619
XamlToRtfError
IXamlContentHandler.IgnorableWhitespace(string xaml)
2621
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2660
if (xamlToRtfError !=
XamlToRtfError
.None)
2667
if (xamlToRtfError !=
XamlToRtfError
.None)
2672
if (xamlToRtfError !=
XamlToRtfError
.None)
2692
XamlToRtfError
IXamlContentHandler.StartPrefixMapping(string prefix, string uri)
2694
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2713
XamlToRtfError
IXamlContentHandler.ProcessingInstruction(string target, string data)
2715
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2720
XamlToRtfError
IXamlContentHandler.SkippedEntity(string name)
2722
XamlToRtfError
xamlToRtfError =
XamlToRtfError
.None;
2738
xamlToRtfError =
XamlToRtfError
.InvalidFormat;
2774
void IXamlErrorHandler.Error(string message,
XamlToRtfError
xamlToRtfError)
2778
void IXamlErrorHandler.FatalError(string message,
XamlToRtfError
xamlToRtfError)
2782
void IXamlErrorHandler.IgnorableWarning(string message,
XamlToRtfError
xamlToRtfError)
2849
private
XamlToRtfError
HandleAttributes(ConverterState converterState, IXamlAttributes attributes,
2854
XamlToRtfError
xamlToRtfError = attributes.GetLength(ref nLen);
2856
if (xamlToRtfError ==
XamlToRtfError
.None)
2867
for (int i = 0; xamlToRtfError ==
XamlToRtfError
.None && i < nLen; i++)
2871
if (xamlToRtfError ==
XamlToRtfError
.None)
2875
if (xamlToRtfError ==
XamlToRtfError
.None &&