1 write to _packagingPolicy
ReachFramework (1)
Serialization\Manager\XpsSerializationManager.cs (1)
46
this.
_packagingPolicy
= packagingPolicy;
35 references to _packagingPolicy
ReachFramework (35)
Serialization\Manager\XpsSerializationManager.cs (35)
68
XpsPackagingPolicy xpsPackagingPolicy =
_packagingPolicy
as XpsPackagingPolicy;
435
if(
_packagingPolicy
!= null)
440
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedDocumentSequence();
445
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedDocument();
450
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedPage();
455
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedPage();
549
if(
_packagingPolicy
!= null)
553
_packagingPolicy
.ReleaseXmlWriterForFixedDocumentSequence();
557
_packagingPolicy
.ReleaseXmlWriterForFixedDocument();
561
_packagingPolicy
.ReleaseXmlWriterForFixedPage();
565
_packagingPolicy
.ReleaseXmlWriterForFixedPage();
579
XpsPackagingPolicy xpsPackagingPolicy =
_packagingPolicy
as XpsPackagingPolicy;
598
if(
_packagingPolicy
!= null)
602
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsFont();
606
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsImage(XpsS0Markup.ImageUriPlaceHolder);
610
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsColorContext(XpsS0Markup.ColorContextUriPlaceHolder);
614
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsResourceDictionary(XpsS0Markup.ResourceDictionaryUriPlaceHolder);
635
if(
_packagingPolicy
!= null)
639
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsFont(resourceID);
643
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsImage(resourceID);
647
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsColorContext(resourceID);
651
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsResourceDictionary(resourceID);
669
if(
_packagingPolicy
!= null)
673
_packagingPolicy
.ReleaseResourceStreamForXpsFont();
677
_packagingPolicy
.ReleaseResourceStreamForXpsImage();
681
_packagingPolicy
.ReleaseResourceStreamForXpsColorContext();
685
_packagingPolicy
.ReleaseResourceStreamForXpsResourceDictionary();
702
if(
_packagingPolicy
!= null)
706
_packagingPolicy
.ReleaseResourceStreamForXpsFont(resourceID);
710
_packagingPolicy
.ReleaseResourceStreamForXpsImage();
714
_packagingPolicy
.ReleaseResourceStreamForXpsColorContext();
718
_packagingPolicy
.ReleaseResourceStreamForXpsResourceDictionary();
842
if (
_packagingPolicy
!= null)
844
_packagingPolicy
.RelateResourceToCurrentPage(targetUri, relationshipName);
950
return
_packagingPolicy
;