99 references to CurrentXpsManager
ReachFramework (99)
packaging\XpsDigitalSignature.cs (2)
105if( selector.SourceUri == _package.CurrentXpsManager.GetSignatureOriginUri() && 345string contentType = _package.CurrentXpsManager.MetroPackage.GetPart(uri).ContentType;
Packaging\XpsDocument.cs (33)
109CurrentXpsManager.XpsDocument = this; 171CurrentXpsManager.XpsDocument = this; 188return CurrentXpsManager.IsWriter; 202return CurrentXpsManager.IsReader; 220PackagePart startingPart = CurrentXpsManager.StartingPart; 223value =new XpsFixedDocumentSequenceReaderWriter(CurrentXpsManager, null, startingPart); 264return CurrentXpsManager.MetroPackage.PackageProperties; 480if( CurrentXpsManager == null ) 484PackageDigitalSignatureManager packageSignatures = new PackageDigitalSignatureManager(CurrentXpsManager.MetroPackage); 508if( CurrentXpsManager == null ) 512_thumbnail = CurrentXpsManager.AddThumbnail(imageType, this, Thumbnail); 513Package metroPackage = CurrentXpsManager.MetroPackage; 539if( CurrentXpsManager == null ) 547if ( !CurrentXpsManager.Streaming && null != CurrentXpsManager.StartingPart) 555PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(XpsS0Markup.DocumentSequenceContentType); 560XpsFixedDocumentSequenceReaderWriter ds = new XpsFixedDocumentSequenceReaderWriter(CurrentXpsManager, this, metroPart); 562CurrentXpsManager.StartingPart = ((INode)ds).GetPart(); 584if( CurrentXpsManager == null ) 598if (CurrentXpsManager.StartingPart == null) 603ContentType startPartType = CurrentXpsManager.StartingPart.ValidatedContentType(); 610parserContext.BaseUri = PackUriHelper.Create(Uri, CurrentXpsManager.StartingPart.Uri); 612object fixedObject = XamlReader.Load(CurrentXpsManager.StartingPart.GetStream(), parserContext, useRestrictiveXamlReader: true); 631if( CurrentXpsManager == null ) 670CurrentXpsManager.Close(); 703_thumbnail = CurrentXpsManager.EnsureThumbnail(this, null ); 719PackageDigitalSignatureManager packageSignatures = new PackageDigitalSignatureManager(CurrentXpsManager.MetroPackage); 781CurrentXpsManager.MetroPackage.Flush(); 792CurrentXpsManager.CollectSignitureOriginForSigning(selectorList, restrictions ); 796CurrentXpsManager.CollectPropertiesForSigning(dependentList, restrictions ); 836if( CurrentXpsManager == null ) 858CurrentXpsManager.Sign(dependentList.Keys, 963if (CurrentXpsManager.Streaming)
Packaging\XpsFixedDocumentReaderWriter.cs (22)
303_printTicket = CurrentXpsManager.EnsurePrintTicket( Uri ); 412ObjectDisposedException.ThrowIf(_metroPart is null || CurrentXpsManager.MetroPackage is null, typeof(XpsFixedDocumentReaderWriter)); 428PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FixedPageContentType); 429XpsFixedPageReaderWriter fixedPage = new XpsFixedPageReaderWriter(CurrentXpsManager, this, metroPart, _linkTargetStream, _pagesWritten + 1); 458_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 479Uri pageUri = this.CurrentXpsManager.CreateStructureUri(); 483PackagePart metroPart = this.CurrentXpsManager.GeneratePart( 487_documentStructure = new XpsStructure(CurrentXpsManager, this, metroPart); 526if( !CurrentXpsManager.Streaming ) 719CurrentXpsManager.GetSignatureDefinitionPart(Uri); 793CurrentXpsManager.GetSignatureDefinitionPart(Uri); 894CurrentXpsManager.WritePrintTicket(this,_metroPart, _printTicket); 898CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 972PackagePart pagePart = CurrentXpsManager.GetPart(pageUri); 987IXpsFixedPageReader pageReader = new XpsFixedPageReaderWriter(CurrentXpsManager, this, pagePart, null, _pageCache.Count+1); 1003_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 1020CurrentXpsManager.GetSignatureDefinitionPart(Uri); 1055if (CurrentXpsManager.MetroPackage.PartExists(documentStructureUri)) 1057documentStructurePart = CurrentXpsManager.MetroPackage.GetPart(documentStructureUri); 1058_documentStructure = new XpsStructure(CurrentXpsManager, this, documentStructurePart); 1116CurrentXpsManager.GetSignatureDefinitionPart(Uri); 1119sigDefPart = CurrentXpsManager.AddSignatureDefinitionPart( _metroPart );
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (9)
231_printTicket = CurrentXpsManager.EnsurePrintTicket(Uri); 308PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FixedDocumentContentType); 309XpsFixedDocumentReaderWriter fixedDocument = new XpsFixedDocumentReaderWriter(CurrentXpsManager, this, metroPart,_documentsWritten + 1); 340_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 509CurrentXpsManager.WritePrintTicket(this, _metroPart, _printTicket); 513CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 598_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 609PackagePart documentPart = CurrentXpsManager.GetPart(documentUri); 626IXpsFixedDocumentReader fixedDocument = new XpsFixedDocumentReaderWriter(CurrentXpsManager, null, documentPart, _documentCache.Count+1);
Packaging\XpsFixedPageReaderWriter.cs (33)
500_printTicket = CurrentXpsManager.EnsurePrintTicket( Uri ); 739if (!CurrentXpsManager.Streaming) 791metroPart = this.CurrentXpsManager.GetPart(resourceUri); 821metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceContentType); 824xpsResource = new XpsResource(CurrentXpsManager, this, metroPart); 857Uri pageUri = this.CurrentXpsManager.CreateFragmentUri(PageNumber); 861PackagePart metroPart = this.CurrentXpsManager.GeneratePart( 865_storyFragment = new XpsStructure(CurrentXpsManager, this, metroPart); 974metroPart = this.CurrentXpsManager.GenerateObfuscatedFontPart(); 978metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.FontContentType); 1039PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ColorContextContentType); 1065PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceDictionaryContentType); 1089_thumbnail = CurrentXpsManager.AddThumbnail( imageType, this, Thumbnail ); 1257PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(mimeType); 1484CurrentXpsManager.WritePrintTicket(this, _metroPart, _printTicket); 1488CurrentXpsManager.WriteEmptyPrintTicket(this, _metroPart); 1530PackagePart part = CurrentXpsManager.GetPart(absUri); 1540XpsImage image = new XpsImage( CurrentXpsManager, this, part ); 1550XpsFont font = new XpsFont( CurrentXpsManager, this, part ); 1563XpsColorContext colorContext = new XpsColorContext( CurrentXpsManager, this, part ); 1572XpsResourceDictionary resourceDictionary = new XpsResourceDictionary( CurrentXpsManager, this, part ); 1585_storyFragment = new XpsStructure( CurrentXpsManager, this, part ); 1592XpsResource xpsResource = new XpsResource(CurrentXpsManager, this, part); 1604_thumbnail = CurrentXpsManager.EnsureThumbnail( this, _metroPart ); 1622metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.PngContentType); 1629XpsImage xpsImage = new XpsImage(CurrentXpsManager, this, metroPart); 1663metroPart = this.CurrentXpsManager.GenerateObfuscatedFontPart(); 1670XpsFont xpsFont = new XpsFont(CurrentXpsManager, this, metroPart); 1736metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ColorContextContentType); 1742XpsColorContext xpsColorContext = new XpsColorContext(CurrentXpsManager, this, metroPart); 1773metroPart = this.CurrentXpsManager.GenerateUniquePart(XpsS0Markup.ResourceDictionaryContentType); 1780XpsResourceDictionary xpsResourceDictionary = new XpsResourceDictionary(CurrentXpsManager, this, metroPart); 1835return this.CurrentXpsManager.GeneratePart(contentType,resourceUri);