2 overrides of SerializationManager
ReachFramework (2)
Serialization\Manager\NGCSerializerAsync.cs (1)
458
SerializationManager
Serialization\Manager\ReachSerializerAsync.cs (1)
489
SerializationManager
168 references to SerializationManager
ReachFramework (168)
Serialization\Manager\NGCSerializer.cs (14)
90
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
150
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
230
NgcSerializationManager NgcManager =
SerializationManager
as NgcSerializationManager;
317
NgcSerializationManager NgcManager =
SerializationManager
as NgcSerializationManager;
321
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageRootVisual);
383
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
406
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
477
NgcSerializationManager ngcManager =
SerializationManager
as NgcSerializationManager;
606
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedDoc);
614
ReachSerializer serializer =
SerializationManager
.GetSerializer(idp.DocumentPaginator);
738
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageContent);
815
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedPage);
819
NgcSerializationManager manager =
SerializationManager
as NgcSerializationManager;
957
ReachSerializer serializer =
SerializationManager
.GetSerializer(visual);
Serialization\Manager\ReachDocumentPageSerializer.cs (22)
46
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
51
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
70
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
75
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
91
if (
SerializationManager
is IXpsSerializationManager)
93
(
SerializationManager
as IXpsSerializationManager).RegisterPageStart();
106
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedPage));
112
if (
SerializationManager
.Language != null)
114
XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang,
SerializationManager
.Language.ToString());
126
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
136
((IXpsSerializationManager)
SerializationManager
).FixedPageSize = size;
149
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
155
((XpsSerializationManager)
SerializationManager
).PackagingPolicy.PreCommitCurrentPage();
165
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = null;
169
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = null;
171
((IXpsSerializationManager)
SerializationManager
).VisualSerializationService.ReleaseVisualTreeFlattener();
173
if(
SerializationManager
is IXpsSerializationManager)
175
(
SerializationManager
as IXpsSerializationManager).RegisterPageEnd();
186
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
191
ReachSerializer serializer =
SerializationManager
.GetSerializer(child);
216
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
225
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
85
ReachSerializer serializer =
SerializationManager
.GetSerializer(documentReference);
Serialization\Manager\ReachDocumentReferenceSerializer.cs (1)
61
ReachSerializer serializer =
SerializationManager
.GetSerializer(document);
Serialization\Manager\ReachDocumentSequenceSerializer.cs (11)
40
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocumentSequence));
42
if(
SerializationManager
is XpsSerializationManager)
44
(
SerializationManager
as XpsSerializationManager).RegisterDocumentSequenceStart();
67
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
76
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
101
if(
SerializationManager
is XpsSerializationManager)
103
(
SerializationManager
as XpsSerializationManager).RegisterDocumentSequenceEnd();
105
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
120
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocumentSequence));
129
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocumentSequence));
175
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
Serialization\Manager\ReachFixedDocumentSerializer.cs (19)
62
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
64
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
69
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
99
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
101
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
106
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
127
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocument));
129
if(
SerializationManager
is XpsSerializationManager)
131
(
SerializationManager
as XpsSerializationManager).RegisterDocumentStart();
151
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
160
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
176
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = null;
178
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = null;
192
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
194
if(
SerializationManager
is XpsSerializationManager)
196
(
SerializationManager
as XpsSerializationManager).RegisterDocumentEnd();
254
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
292
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocument));
301
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachFixedPageSerializer.cs (29)
70
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
75
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
80
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>();
110
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>();
115
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>();
120
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>();
143
if (
SerializationManager
is IXpsSerializationManager)
145
(
SerializationManager
as IXpsSerializationManager).RegisterPageStart();
153
String xmlnsForType =
SerializationManager
.GetXmlNSForType(serializableObjectContext.TargetObject.GetType());
173
SerializationManager
.Language = language;
179
((IXpsSerializationManager)
SerializationManager
).FixedPageSize = fixedPageSize;
196
PrintTicket printTicket = ((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket;
200
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
202
((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket = null;
214
XmlWriter pageWriter = ((XpsSerializationManager)
SerializationManager
).
217
XmlWriter resWriter = ((XpsSerializationManager)
SerializationManager
).
221
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
231
((XpsSerializationManager)
SerializationManager
).PackagingPolicy.PreCommitCurrentPage();
246
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageImageTable = null;
250
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageColorContextTable = null;
254
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.CurrentPageResourceDictionaryTable = null;
256
((IXpsSerializationManager)
SerializationManager
).VisualSerializationService.ReleaseVisualTreeFlattener();
258
if (
SerializationManager
is IXpsSerializationManager)
260
(
SerializationManager
as IXpsSerializationManager).RegisterPageEnd();
272
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
330
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
368
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
377
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
393
ReachVisualSerializer serializer = new ReachVisualSerializer(
SerializationManager
);
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (18)
43
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>();
45
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>();
50
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>();
66
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedDocument));
69
if(
SerializationManager
is XpsSerializationManager)
71
(
SerializationManager
as XpsSerializationManager).RegisterDocumentStart();
89
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
98
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
119
SerializationManager
.Language = language;
125
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
139
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageCrcTable = null;
141
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ImageUriHashTable = null;
145
((XpsSerializationManager)
SerializationManager
).ResourcePolicy.ColorContextTable = null;
155
if(
SerializationManager
is XpsSerializationManager)
157
(
SerializationManager
as XpsSerializationManager).RegisterDocumentEnd();
159
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationProgressChanged(progressEvent);
174
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedDocument));
183
SerializationManager
.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
120
ReachSerializer serializer =
SerializationManager
.GetSerializer(pageContent);
Serialization\Manager\ReachPageContentSerializer.cs (3)
66
ReachSerializer serializer =
SerializationManager
.GetSerializer(fixedPage);
75
((IXpsSerializationManager)
SerializationManager
).OnXPSSerializationPrintTicketRequired(e);
84
((IXpsSerializationManager)
SerializationManager
).FixedPagePrintTicket = printTicket;
Serialization\Manager\ReachPrintTicketSerializer.cs (2)
71
if ((IXpsSerializationManager)
SerializationManager
!= null)
73
SerializationManager
.
Serialization\Manager\ReachSerializationUtils.cs (1)
746
_serializationManager = serializer.
SerializationManager
;
Serialization\Manager\ReachSerializer.cs (11)
72
if (
SerializationManager
== null)
88
SerializationManager
.GraphContextStack.Push(serializableObjectContext);
99
SerializationManager
.GraphContextStack.Pop();
132
if (
SerializationManager
== null)
149
SerializationManager
.GraphContextStack.Push(serializableObjectContext);
160
SerializationManager
.GraphContextStack.Pop();
266
serializableObjectParentContext = (SerializableObjectContext)
SerializationManager
.
272
SerializableObjectContext.CreateContext(
SerializationManager
,
280
if(
SerializationManager
.RootSerializableObjectContext == null)
282
SerializationManager
.RootSerializableObjectContext = serializableObjectContext;
343
ReachSerializer serializer =
SerializationManager
.GetSerializer(serializablePropertyContext.Value);
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
142
ReachSerializer serializer =
SerializationManager
.GetSerializer(visual);
Serialization\Manager\ReachVisualSerializer.cs (12)
50
if((IXpsSerializationManager)
SerializationManager
!= null)
52
XmlWriter pageWriter =
SerializationManager
.
55
XmlWriter resWriter =
SerializationManager
.
90
Size fixedPageSize = ((IXpsSerializationManager)
SerializationManager
).FixedPageSize;
92
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
152
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
161
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
186
if ((IXpsSerializationManager)
SerializationManager
!= null)
188
XmlWriter pageWriter =
SerializationManager
.
191
XmlWriter resWriter =
SerializationManager
.
194
Size fixedPageSize = ((IXpsSerializationManager)
SerializationManager
).FixedPageSize;
196
VisualTreeFlattener flattener = ((IXpsSerializationManager)
SerializationManager
).
Serialization\Manager\XpsOMDocumentPageSerializer.cs (8)
124
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
138
String xmlnsForType =
SerializationManager
.GetXmlNSForType(typeof(FixedPage));
144
if (
SerializationManager
.Language != null)
146
XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang,
SerializationManager
.Language.ToString());
191
IXpsSerializationManager xpsSerializationManager = ((IXpsSerializationManager)
SerializationManager
);
216
ReachSerializer serializer =
SerializationManager
.GetSerializer(child);
247
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
256
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (3)
80
ReachSerializer serializer =
SerializationManager
.GetSerializer(page);
113
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
137
SerializationManager
.Language = language;
Serialization\Manager\XpsOMFixedDocumentSerializer.cs (1)
125
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
Serialization\Manager\XpsOMFixedPageSerializer.cs (10)
132
PrintTicketSerializer serializer = new PrintTicketSerializer(
SerializationManager
);
143
String xmlnsForType =
SerializationManager
.GetXmlNSForType(serializableObjectContext.TargetObject.GetType());
163
SerializationManager
.Language = language;
193
XmlWriter pageWriter =
SerializationManager
.
196
XmlWriter resWriter =
SerializationManager
.
208
SerializationManager
.PackagingPolicy.PreCommitCurrentPage();
288
valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(
SerializationManager
,
326
base.XmlWriter =
SerializationManager
.AcquireXmlWriter(typeof(FixedPage));
335
SerializationManager
.ReleaseXmlWriter(typeof(FixedPage));
351
ReachVisualSerializer serializer = new ReachVisualSerializer(
SerializationManager
);