99 references to CurrentXpsManager
ReachFramework (99)
packaging\XpsDigitalSignature.cs (2)
114if( selector.SourceUri == _package.CurrentXpsManager.GetSignatureOriginUri() && 354string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).ContentType;
Packaging\XpsDocument.cs (33)
118CurrentXpsManager.XpsDocument = this; 180CurrentXpsManager.XpsDocument = this; 197return CurrentXpsManager.IsWriter; 211return CurrentXpsManager.IsReader; 229PackagePart startingPart = CurrentXpsManager.StartingPart; 232value =new XpsFixedDocumentSequenceReaderWriter(CurrentXpsManager, null, startingPart); 273return CurrentXpsManager.MetroPackage.PackageProperties; 489if( CurrentXpsManager == null ) 493PackageDigitalSignatureManager packageSignatures = new PackageDigitalSignatureManager(CurrentXpsManager.MetroPackage); 517if( CurrentXpsManager == null ) 521_thumbnail = CurrentXpsManager.AddThumbnail(imageType, this, Thumbnail); 522Package metroPackage = CurrentXpsManager.MetroPackage; 548if( CurrentXpsManager == null ) 556if ( !CurrentXpsManager.Streaming && null != CurrentXpsManager.StartingPart) 564PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(XpsS0Markup.DocumentSequenceContentType); 569XpsFixedDocumentSequenceReaderWriter ds = new XpsFixedDocumentSequenceReaderWriter(CurrentXpsManager, this, metroPart); 571CurrentXpsManager.StartingPart = ((INode)ds).GetPart(); 593if( CurrentXpsManager == null ) 607if (CurrentXpsManager.StartingPart == null) 612ContentType startPartType = CurrentXpsManager.StartingPart.ValidatedContentType(); 619parserContext.BaseUri = PackUriHelper.Create(Uri, CurrentXpsManager.StartingPart.Uri); 621object fixedObject = XamlReader.Load(CurrentXpsManager.StartingPart.GetStream(), parserContext, useRestrictiveXamlReader: true); 640if( CurrentXpsManager == null ) 679CurrentXpsManager.Close(); 712_thumbnail = CurrentXpsManager.EnsureThumbnail(this, null ); 728PackageDigitalSignatureManager packageSignatures = new PackageDigitalSignatureManager(CurrentXpsManager.MetroPackage); 790CurrentXpsManager.MetroPackage.Flush(); 801CurrentXpsManager.CollectSignitureOriginForSigning(selectorList, restrictions ); 805CurrentXpsManager.CollectPropertiesForSigning(dependentList, restrictions ); 845if( CurrentXpsManager == null ) 867CurrentXpsManager.Sign(dependentList.Keys, 972if (CurrentXpsManager.Streaming)
Packaging\XpsFixedDocumentReaderWriter.cs (22)
307_printTicket = CurrentXpsManager.EnsurePrintTicket( Uri ); 416ObjectDisposedException.ThrowIf(_metroPart is null || CurrentXpsManager.MetroPackage is null, typeof(XpsFixedDocumentReaderWriter)); 432PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FixedPageContentType); 433XpsFixedPageReaderWriter fixedPage = new XpsFixedPageReaderWriter(CurrentXpsManager, this, metroPart, _linkTargetStream, _pagesWritten + 1); 462_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 483Uri pageUri = this.CurrentXpsManager.CreateStructureUri(); 487PackagePart metroPart = this.CurrentXpsManager.GeneratePart( 491_documentStructure = new XpsStructure(CurrentXpsManager, this, metroPart); 530if( !CurrentXpsManager.Streaming ) 723CurrentXpsManager.GetSignatureDefinitionPart(Uri); 797CurrentXpsManager.GetSignatureDefinitionPart(Uri); 898CurrentXpsManager.WritePrintTicket(this,_metroPart, _printTicket); 902CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 976PackagePart pagePart = CurrentXpsManager.GetPart(pageUri); 991IXpsFixedPageReader pageReader = new XpsFixedPageReaderWriter(CurrentXpsManager, this, pagePart, null, _pageCache.Count+1); 1007_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 1024CurrentXpsManager.GetSignatureDefinitionPart(Uri); 1059if (CurrentXpsManager.MetroPackage.PartExists(documentStructureUri)) 1061documentStructurePart = CurrentXpsManager.MetroPackage.GetPart(documentStructureUri); 1062_documentStructure = new XpsStructure(CurrentXpsManager, this, documentStructurePart); 1120CurrentXpsManager.GetSignatureDefinitionPart(Uri); 1123sigDefPart = CurrentXpsManager.AddSignatureDefinitionPart( _metroPart );
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (9)
235_printTicket = CurrentXpsManager.EnsurePrintTicket(Uri); 312PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FixedDocumentContentType); 313XpsFixedDocumentReaderWriter fixedDocument = new XpsFixedDocumentReaderWriter(CurrentXpsManager, this, metroPart,_documentsWritten + 1); 344_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 513CurrentXpsManager.WritePrintTicket(this, _metroPart, _printTicket); 517CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 602_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 613PackagePart documentPart = CurrentXpsManager.GetPart(documentUri); 630IXpsFixedDocumentReader fixedDocument = new XpsFixedDocumentReaderWriter(CurrentXpsManager, null, documentPart, _documentCache.Count+1);
Packaging\XpsFixedPageReaderWriter.cs (33)
506_printTicket = CurrentXpsManager.EnsurePrintTicket( Uri ); 745if (!CurrentXpsManager.Streaming) 797metroPart = this.CurrentXpsManager.GetPart(resourceUri); 827metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceContentType); 830xpsResource = new XpsResource(CurrentXpsManager, this, metroPart); 863Uri pageUri = this.CurrentXpsManager.CreateFragmentUri(PageNumber); 867PackagePart metroPart = this.CurrentXpsManager.GeneratePart( 871_storyFragment = new XpsStructure(CurrentXpsManager, this, metroPart); 980metroPart = this.CurrentXpsManager.GenerateObfuscatedFontPart(); 984metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FontContentType); 1045PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ColorContextContentType); 1071PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceDictionaryContentType); 1095_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 1263PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(mimeType); 1490CurrentXpsManager.WritePrintTicket(this, _metroPart, _printTicket); 1494CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 1536PackagePart part = CurrentXpsManager.GetPart(absUri); 1546XpsImage image = new XpsImage( CurrentXpsManager, this, part ); 1556XpsFont font = new XpsFont( CurrentXpsManager, this, part ); 1569XpsColorContext colorContext = new XpsColorContext( CurrentXpsManager, this, part ); 1578XpsResourceDictionary resourceDictionary = new XpsResourceDictionary( CurrentXpsManager, this, part ); 1591_storyFragment = new XpsStructure( CurrentXpsManager, this, part ); 1598XpsResource xpsResource = new XpsResource(CurrentXpsManager, this, part); 1610_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 1628metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.PngContentType); 1635XpsImage xpsImage = new XpsImage(CurrentXpsManager, this, metroPart); 1669metroPart = this.CurrentXpsManager.GenerateObfuscatedFontPart(); 1676XpsFont xpsFont = new XpsFont(CurrentXpsManager, this, metroPart); 1742metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ColorContextContentType); 1748XpsColorContext xpsColorContext = new XpsColorContext(CurrentXpsManager, this, metroPart); 1779metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceDictionaryContentType); 1786XpsResourceDictionary xpsResourceDictionary = new XpsResourceDictionary(CurrentXpsManager, this, metroPart); 1841return this.CurrentXpsManager.GeneratePart(contentType,resourceUri);