2 overrides of SerializationManager
ReachFramework (2)
Serialization\Manager\NGCSerializerAsync.cs (1)
469SerializationManager
Serialization\Manager\ReachSerializerAsync.cs (1)
501SerializationManager
168 references to SerializationManager
ReachFramework (168)
Serialization\Manager\NGCSerializer.cs (14)
102NgcSerializationManager ngcManager = SerializationManager as NgcSerializationManager; 162NgcSerializationManager ngcManager = SerializationManager as NgcSerializationManager; 242NgcSerializationManager NgcManager = SerializationManager as NgcSerializationManager; 329NgcSerializationManager NgcManager = SerializationManager as NgcSerializationManager; 333ReachSerializer serializer = SerializationManager.GetSerializer(pageRootVisual); 395NgcSerializationManager ngcManager = SerializationManager as NgcSerializationManager; 418ReachSerializer serializer = SerializationManager.GetSerializer(page); 489NgcSerializationManager ngcManager = SerializationManager as NgcSerializationManager; 618ReachSerializer serializer = SerializationManager.GetSerializer(fixedDoc); 626ReachSerializer serializer = SerializationManager.GetSerializer(idp.DocumentPaginator); 750ReachSerializer serializer = SerializationManager.GetSerializer(pageContent); 827ReachSerializer serializer = SerializationManager.GetSerializer(fixedPage); 831NgcSerializationManager manager = SerializationManager as NgcSerializationManager; 969ReachSerializer serializer = SerializationManager.GetSerializer(visual);
Serialization\Manager\ReachDocumentPageSerializer.cs (22)
56((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>(); 61((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>(); 80((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>(); 85((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>(); 101if (SerializationManager is IXpsSerializationManager) 103(SerializationManager as IXpsSerializationManager).RegisterPageStart(); 116String xmlnsForType = SerializationManager.GetXmlNSForType(typeof(FixedPage)); 122if (SerializationManager.Language != null) 124XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang, SerializationManager.Language.ToString()); 136((IXpsSerializationManager)SerializationManager).OnXPSSerializationPrintTicketRequired(e); 146((IXpsSerializationManager)SerializationManager).FixedPageSize = size; 159PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 165((XpsSerializationManager)SerializationManager).PackagingPolicy.PreCommitCurrentPage(); 175((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = null; 179((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = null; 181((IXpsSerializationManager)SerializationManager).VisualSerializationService.ReleaseVisualTreeFlattener(); 183if( SerializationManager is IXpsSerializationManager) 185(SerializationManager as IXpsSerializationManager).RegisterPageEnd(); 196((IXpsSerializationManager)SerializationManager).OnXPSSerializationProgressChanged(progressEvent); 201ReachSerializer serializer = SerializationManager.GetSerializer(child); 226base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedPage)); 235SerializationManager.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\ReachDocumentReferenceCollectionSerializer.cs (1)
98ReachSerializer serializer = SerializationManager.GetSerializer(documentReference);
Serialization\Manager\ReachDocumentReferenceSerializer.cs (1)
74ReachSerializer serializer = SerializationManager.GetSerializer(document);
Serialization\Manager\ReachDocumentSequenceSerializer.cs (11)
51String xmlnsForType = SerializationManager.GetXmlNSForType(typeof(FixedDocumentSequence)); 53if( SerializationManager is XpsSerializationManager) 55(SerializationManager as XpsSerializationManager).RegisterDocumentSequenceStart(); 78((IXpsSerializationManager)SerializationManager).OnXPSSerializationPrintTicketRequired(e); 87PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 112if( SerializationManager is XpsSerializationManager) 114(SerializationManager as XpsSerializationManager).RegisterDocumentSequenceEnd(); 116((IXpsSerializationManager)SerializationManager).OnXPSSerializationProgressChanged(progressEvent); 131base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedDocumentSequence)); 140SerializationManager.ReleaseXmlWriter(typeof(FixedDocumentSequence)); 186valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(SerializationManager,
Serialization\Manager\ReachFixedDocumentSerializer.cs (19)
74((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>(); 76((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>(); 81((XpsSerializationManager)SerializationManager).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>(); 111((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>(); 113((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>(); 118((XpsSerializationManager)SerializationManager).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>(); 139String xmlnsForType = SerializationManager.GetXmlNSForType(typeof(FixedDocument)); 141if( SerializationManager is XpsSerializationManager) 143(SerializationManager as XpsSerializationManager).RegisterDocumentStart(); 163((IXpsSerializationManager)SerializationManager).OnXPSSerializationPrintTicketRequired(e); 172PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 188((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageCrcTable = null; 190((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageUriHashTable = null; 204((IXpsSerializationManager)SerializationManager).OnXPSSerializationProgressChanged(progressEvent); 206if( SerializationManager is XpsSerializationManager) 208(SerializationManager as XpsSerializationManager).RegisterDocumentEnd(); 266valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(SerializationManager, 304base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedDocument)); 313SerializationManager.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachFixedPageSerializer.cs (29)
79((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>(); 84((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>(); 89((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>(); 119((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = new Dictionary<int, Uri>(); 124((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = new Dictionary<int, Uri>(); 129((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageResourceDictionaryTable = new Dictionary<int, Uri>(); 152if ( SerializationManager is IXpsSerializationManager) 154(SerializationManager as IXpsSerializationManager).RegisterPageStart(); 162String xmlnsForType = SerializationManager.GetXmlNSForType(serializableObjectContext.TargetObject.GetType()); 182SerializationManager.Language = language; 188((IXpsSerializationManager)SerializationManager).FixedPageSize = fixedPageSize; 205PrintTicket printTicket = ((IXpsSerializationManager)SerializationManager).FixedPagePrintTicket; 209PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 211((IXpsSerializationManager)SerializationManager).FixedPagePrintTicket = null; 223XmlWriter pageWriter = ((XpsSerializationManager)SerializationManager). 226XmlWriter resWriter = ((XpsSerializationManager)SerializationManager). 230VisualTreeFlattener flattener = ((IXpsSerializationManager)SerializationManager). 240((XpsSerializationManager)SerializationManager).PackagingPolicy.PreCommitCurrentPage(); 255((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageImageTable = null; 259((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageColorContextTable = null; 263((XpsSerializationManager)SerializationManager).ResourcePolicy.CurrentPageResourceDictionaryTable = null; 265((IXpsSerializationManager)SerializationManager).VisualSerializationService.ReleaseVisualTreeFlattener(); 267if (SerializationManager is IXpsSerializationManager) 269(SerializationManager as IXpsSerializationManager).RegisterPageEnd(); 281((IXpsSerializationManager)SerializationManager).OnXPSSerializationProgressChanged(progressEvent); 339valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(SerializationManager, 377base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedPage)); 386SerializationManager.ReleaseXmlWriter(typeof(FixedPage)); 402ReachVisualSerializer serializer = new ReachVisualSerializer(SerializationManager);
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (18)
54((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageCrcTable = new Dictionary<UInt32, Uri>(); 56((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageUriHashTable = new Dictionary<int,Uri>(); 61((XpsSerializationManager)SerializationManager).ResourcePolicy.ColorContextTable = new Dictionary<int, Uri>(); 77String xmlnsForType = SerializationManager.GetXmlNSForType(typeof(FixedDocument)); 80if( SerializationManager is XpsSerializationManager) 82(SerializationManager as XpsSerializationManager).RegisterDocumentStart(); 100((IXpsSerializationManager)SerializationManager).OnXPSSerializationPrintTicketRequired(e); 109PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 130SerializationManager.Language = language; 136ReachSerializer serializer = SerializationManager.GetSerializer(page); 150((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageCrcTable = null; 152((XpsSerializationManager)SerializationManager).ResourcePolicy.ImageUriHashTable = null; 156((XpsSerializationManager)SerializationManager).ResourcePolicy.ColorContextTable = null; 166if( SerializationManager is XpsSerializationManager) 168(SerializationManager as XpsSerializationManager).RegisterDocumentEnd(); 170((IXpsSerializationManager)SerializationManager).OnXPSSerializationProgressChanged(progressEvent); 185base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedDocument)); 194SerializationManager.ReleaseXmlWriter(typeof(FixedDocument));
Serialization\Manager\ReachPageContentCollectionSerializer.cs (1)
133ReachSerializer serializer = SerializationManager.GetSerializer(pageContent);
Serialization\Manager\ReachPageContentSerializer.cs (3)
79ReachSerializer serializer = SerializationManager.GetSerializer(fixedPage); 88((IXpsSerializationManager)SerializationManager).OnXPSSerializationPrintTicketRequired(e); 97((IXpsSerializationManager)SerializationManager).FixedPagePrintTicket = printTicket;
Serialization\Manager\ReachPrintTicketSerializer.cs (2)
86if ((IXpsSerializationManager)SerializationManager != null) 88SerializationManager.
Serialization\Manager\ReachSerializationUtils.cs (1)
756_serializationManager = serializer.SerializationManager;
Serialization\Manager\ReachSerializer.cs (11)
84if (SerializationManager == null) 100SerializationManager.GraphContextStack.Push(serializableObjectContext); 111SerializationManager.GraphContextStack.Pop(); 144if (SerializationManager == null) 161SerializationManager.GraphContextStack.Push(serializableObjectContext); 172SerializationManager.GraphContextStack.Pop(); 278serializableObjectParentContext = (SerializableObjectContext)SerializationManager. 284SerializableObjectContext.CreateContext(SerializationManager, 292if(SerializationManager.RootSerializableObjectContext == null) 294SerializationManager.RootSerializableObjectContext = serializableObjectContext; 355ReachSerializer serializer = SerializationManager.GetSerializer(serializablePropertyContext.Value);
Serialization\Manager\ReachUIElementCollectionSerializer.cs (1)
154ReachSerializer serializer = SerializationManager.GetSerializer(visual);
Serialization\Manager\ReachVisualSerializer.cs (12)
63if((IXpsSerializationManager)SerializationManager != null) 65XmlWriter pageWriter = SerializationManager. 68XmlWriter resWriter = SerializationManager. 103Size fixedPageSize = ((IXpsSerializationManager)SerializationManager).FixedPageSize; 105VisualTreeFlattener flattener = ((IXpsSerializationManager)SerializationManager). 165base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedPage)); 174SerializationManager.ReleaseXmlWriter(typeof(FixedPage)); 199if ((IXpsSerializationManager)SerializationManager != null) 201XmlWriter pageWriter = SerializationManager. 204XmlWriter resWriter = SerializationManager. 207Size fixedPageSize = ((IXpsSerializationManager)SerializationManager).FixedPageSize; 209VisualTreeFlattener flattener = ((IXpsSerializationManager)SerializationManager).
Serialization\Manager\XpsOMDocumentPageSerializer.cs (8)
134PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 148String xmlnsForType = SerializationManager.GetXmlNSForType(typeof(FixedPage)); 154if (SerializationManager.Language != null) 156XmlWriter.WriteAttributeString(XpsS0Markup.XmlLang, SerializationManager.Language.ToString()); 201IXpsSerializationManager xpsSerializationManager = ((IXpsSerializationManager)SerializationManager); 226ReachSerializer serializer = SerializationManager.GetSerializer(child); 257base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedPage)); 266SerializationManager.ReleaseXmlWriter(typeof(FixedPage));
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (3)
92ReachSerializer serializer = SerializationManager.GetSerializer(page); 125PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 149SerializationManager.Language = language;
Serialization\Manager\XpsOMFixedDocumentSerializer.cs (1)
141PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager);
Serialization\Manager\XpsOMFixedPageSerializer.cs (10)
141PrintTicketSerializer serializer = new PrintTicketSerializer(SerializationManager); 152String xmlnsForType = SerializationManager.GetXmlNSForType(serializableObjectContext.TargetObject.GetType()); 172SerializationManager.Language = language; 202XmlWriter pageWriter = SerializationManager. 205XmlWriter resWriter = SerializationManager. 217SerializationManager.PackagingPolicy.PreCommitCurrentPage(); 297valueAsString = typeConverter.ConvertToInvariantString(new XpsTokenContext(SerializationManager, 335base.XmlWriter = SerializationManager.AcquireXmlWriter(typeof(FixedPage)); 344SerializationManager.ReleaseXmlWriter(typeof(FixedPage)); 360ReachVisualSerializer serializer = new ReachVisualSerializer(SerializationManager);