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