1 write to _packagingPolicy
ReachFramework (1)
Serialization\Manager\XpsOMSerializationManager.cs (1)
28
_packagingPolicy
= xpsOMManager;
23 references to _packagingPolicy
ReachFramework (23)
Serialization\Manager\XpsOMSerializationManager.cs (23)
39
resourcePolicy.RegisterService(new XpsFontSerializationService(
_packagingPolicy
), typeof(XpsFontSerializationService));
58
if (
_packagingPolicy
.IsValid)
297
if (
_packagingPolicy
!= null)
302
xmlWriter =
_packagingPolicy
.AcquireXmlWriterForFixedPage();
343
_packagingPolicy
?.CloseXpsOMPackageWriter();
355
_packagingPolicy
?.ReleaseXpsOMWriterForFixedDocument();
372
if (
_packagingPolicy
!= null)
376
_packagingPolicy
.ReleaseXmlWriterForFixedPage();
408
if (
_packagingPolicy
!= null)
412
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsFont(resourceID);
416
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsImage(resourceID);
420
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsColorContext(resourceID);
424
resourceStream =
_packagingPolicy
.AcquireResourceStreamForXpsResourceDictionary(resourceID);
442
if (
_packagingPolicy
!= null)
446
_packagingPolicy
.ReleaseResourceStreamForXpsFont();
450
_packagingPolicy
.ReleaseResourceStreamForXpsImage();
454
_packagingPolicy
.ReleaseResourceStreamForXpsColorContext();
458
_packagingPolicy
.ReleaseResourceStreamForXpsResourceDictionary();
505
return
_packagingPolicy
;
546
if (_isBatchMode && _isSimulating &&
_packagingPolicy
.IsValid)
605
_packagingPolicy
.EnsureXpsOMPackageWriter();
613
_packagingPolicy
.StartNewDocument();
840
_packagingPolicy
.FixedPageSize = _fixedPageSize;