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