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