1 write to _packagingPolicy
ReachFramework (1)
Serialization\Manager\XpsOMSerializationManager.cs (1)
36
_packagingPolicy
= xpsOMManager;
23 references to _packagingPolicy
ReachFramework (23)
Serialization\Manager\XpsOMSerializationManager.cs (23)
47
resourcePolicy.RegisterService(new XpsFontSerializationService(
_packagingPolicy
), typeof(XpsFontSerializationService));
66
if (
_packagingPolicy
.IsValid)
308
if (
_packagingPolicy
!= null)
313
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedPage();
354
_packagingPolicy
?.CloseXpsOMPackageWriter();
366
_packagingPolicy
?.ReleaseXpsOMWriterForFixedDocument();
383
if (
_packagingPolicy
!= null)
387
_packagingPolicy
.ReleaseXmlWriterForFixedPage();
419
if (
_packagingPolicy
!= null)
423
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsFont(resourceID);
427
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsImage(resourceID);
431
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsColorContext(resourceID);
435
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsResourceDictionary(resourceID);
453
if (
_packagingPolicy
!= null)
457
_packagingPolicy
.ReleaseResourceStreamForXpsFont();
461
_packagingPolicy
.ReleaseResourceStreamForXpsImage();
465
_packagingPolicy
.ReleaseResourceStreamForXpsColorContext();
469
_packagingPolicy
.ReleaseResourceStreamForXpsResourceDictionary();
516
return
_packagingPolicy
;
557
if (_isBatchMode && _isSimulating &&
_packagingPolicy
.IsValid)
616
_packagingPolicy
.EnsureXpsOMPackageWriter();
624
_packagingPolicy
.StartNewDocument();
851
_packagingPolicy
.FixedPageSize = _fixedPageSize;