265 references to XpsS0Markup
ReachFramework (265)
packaging\XpsDigitalSignature.cs (9)
106
selector.SelectionCriteria ==
XpsS0Markup
.DitialSignatureRelationshipType )
128
selector.SelectionCriteria ==
XpsS0Markup
.CorePropertiesRelationshipType )
423
_optionalSignedTypes[
XpsS0Markup
.CoreDocumentPropertiesType.OriginalString] = "";
424
_optionalSignedTypes[
XpsS0Markup
.PrintTicketContentType.OriginalString] = "";
425
_optionalSignedTypes[
XpsS0Markup
.SigOriginContentType.OriginalString] = "";
426
_optionalSignedTypes[
XpsS0Markup
.SigCertContentType.OriginalString] = "";
427
_optionalSignedTypes[
XpsS0Markup
.DiscardContentType.OriginalString] = "";
431
_optionalSignedTypes[
XpsS0Markup
.StoryFragmentsContentType.OriginalString] = "";
433
_optionalSignedTypes[
XpsS0Markup
.RelationshipContentType.OriginalString] = "";
Packaging\XpsDocument.cs (7)
516
XpsS0Markup
.ThumbnailRelationshipName
555
PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.DocumentSequenceContentType);
604
if (!startPartType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
761
XpsS0Markup
.ReachPackageStartingPartRelationshipType
771
XpsS0Markup
.ThumbnailRelationshipName
785
XpsS0Markup
.CorePropertiesRelationshipType
817
if (xmlReader.NameTable.Get(
XpsS0Markup
.VersionExtensiblityNamespace) != null)
Packaging\XpsFixedDocumentReaderWriter.cs (18)
428
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FixedPageContentType);
461
XpsS0Markup
.ThumbnailRelationshipName
484
XpsS0Markup
.DocumentStructureContentType,
498
XpsS0Markup
.StructureRelationshipName
727
XpsS0Markup
.SignatureDefinitionRelationshipName
742
XpsS0Markup
.RestrictedFontRelationshipType
751
XpsS0Markup
.StructureRelationshipName
849
_partEditor.PrepareXmlWriter(
XpsS0Markup
.FixedDocument,
XpsS0Markup
.FixedDocumentNamespace);
856
xmlWriter.WriteStartElement(
XpsS0Markup
.PageContent);
954
if (reader.NodeType == XmlNodeType.Element && reader.Name ==
XpsS0Markup
.PageContent)
979
if (!pagePart.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1040
foreach (PackageRelationship rel in _metroPart.GetRelationshipsByType(
XpsS0Markup
.StructureRelationshipName))
1074
reader.Name ==
XpsS0Markup
.SignatureDefinitions
1094
reader.Name ==
XpsS0Markup
.SignatureDefinition
1103
reader.Name ==
XpsS0Markup
.SignatureDefinitions
1126
writer.WriteStartElement(
XpsS0Markup
.SignatureDefinitions,
1127
XpsS0Markup
.SignatureDefinitionNamespace);
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (7)
308
PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FixedDocumentContentType);
343
XpsS0Markup
.ThumbnailRelationshipName
481
_partEditor.PrepareXmlWriter(
XpsS0Markup
.FixedDocumentSequence,
XpsS0Markup
.DocumentSequenceNamespace);
488
xmlWriter.WriteStartElement(
XpsS0Markup
.DocumentReference);
553
if (reader.NodeType == XmlNodeType.Element && reader.Name ==
XpsS0Markup
.DocumentReference)
618
if (!documentPart.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
Packaging\XpsFixedPageReaderWriter.cs (48)
821
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceContentType);
838
XpsS0Markup
.ResourceRelationshipName);
862
XpsS0Markup
.StoryFragmentsContentType,
875
XpsS0Markup
.StoryFragmentsRelationshipName
978
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FontContentType);
1010
_parentNode.AddRelationship(xpsFont.Uri,
XpsS0Markup
.RestrictedFontRelationshipType);
1039
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ColorContextContentType);
1065
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceDictionaryContentType);
1093
XpsS0Markup
.ThumbnailRelationshipName);
1522
foreach( PackageRelationship rel in parentPart.GetRelationshipsByType(
XpsS0Markup
.RestrictedFontRelationshipType) )
1536
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName
1546
else if((part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FontContentType) ||
1547
part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FontObfuscatedContentType))
1548
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1560
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.ColorContextContentType)
1561
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1569
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.ResourceDictionaryContentType)
1570
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1578
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.StoryFragmentsContentType)
1579
&& rel.RelationshipType ==
XpsS0Markup
.StoryFragmentsRelationshipName)
1590
if( rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName )
1622
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.PngContentType);
1637
XpsS0Markup
.ResourceRelationshipName);
1678
XpsS0Markup
.ResourceRelationshipName);
1704
XpsS0Markup
.ResourceRelationshipName
1713
XpsS0Markup
.StoryFragmentsRelationshipName
1722
XpsS0Markup
.ThumbnailRelationshipName
1736
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ColorContextContentType);
1750
XpsS0Markup
.ResourceRelationshipName);
1773
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceDictionaryContentType);
1788
XpsS0Markup
.ResourceRelationshipName);
1825
contentType =
XpsS0Markup
.ColorContextContentType;
1829
contentType =
XpsS0Markup
.ResourceDictionaryContentType;
1833
contentType =
XpsS0Markup
.ResourceContentType;
1858
if (extension.Equals(
XpsS0Markup
.JpgExtension, StringComparison.OrdinalIgnoreCase))
1860
contentType =
XpsS0Markup
.JpgContentType;
1862
else if (extension.Equals(
XpsS0Markup
.PngExtension, StringComparison.OrdinalIgnoreCase))
1864
contentType =
XpsS0Markup
.PngContentType;
1866
else if (extension.Equals(
XpsS0Markup
.TifExtension, StringComparison.OrdinalIgnoreCase))
1868
contentType =
XpsS0Markup
.TifContentType;
1870
else if (extension.Equals(
XpsS0Markup
.WdpExtension, StringComparison.OrdinalIgnoreCase))
1872
contentType =
XpsS0Markup
.WdpContentType;
1877
contentType =
XpsS0Markup
.PngContentType;
1905
if (string.Equals(extension,
XpsS0Markup
.ObfuscatedFontExt, StringComparison.OrdinalIgnoreCase))
1918
contentType =
XpsS0Markup
.FontObfuscatedContentType;
1923
contentType =
XpsS0Markup
.FontContentType;
2044
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
2045
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
Packaging\XpsFont.cs (1)
35
_isObfuscated = (part.ContentType ==
XpsS0Markup
.FontObfuscatedContentType.ToString());
Packaging\XpsManager.cs (61)
307
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType) ||
308
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType) ||
309
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType) ||
310
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
398
String uniqueUri = "/Resources/" + Guid.NewGuid().ToString() +
XpsS0Markup
.ObfuscatedFontExt;
402
XpsS0Markup
.FontObfuscatedContentType.ToString(),
446
PackagePart printTicketPart = GeneratePart(
XpsS0Markup
.PrintTicketContentType, printTicketUri);
454
XpsS0Markup
.PrintTicketRelationshipName);
500
PackagePart printTicketPart = GeneratePart(
XpsS0Markup
.PrintTicketContentType, printTicketUri);
508
XpsS0Markup
.PrintTicketRelationshipName);
561
sigDefPart = GenerateUniquePart(
XpsS0Markup
.SignatureDefintionType );
565
XpsS0Markup
.SignatureDefinitionRelationshipName
584
XpsS0Markup
.SignatureDefintionType;
588
documentPart.GetRelationshipsByType(
XpsS0Markup
.SignatureDefinitionRelationshipName))
640
GetRelationshipsByType(
XpsS0Markup
.ThumbnailRelationshipName);
645
GetRelationshipsByType(
XpsS0Markup
.ThumbnailRelationshipName);
676
XpsS0Markup
.PrintTicketRelationshipName;
708
propertiesPart = GenerateUniquePart(
XpsS0Markup
.CoreDocumentPropertiesType );
709
_metroPackage.CreateRelationship(propertiesPart.Uri, TargetMode.Internal,
XpsS0Markup
.CorePropertiesRelationshipType );
816
XpsS0Markup
.DitialSignatureRelationshipType
919
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
942
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1043
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1047
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1049
string contentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1053
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1055
string documentContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1056
string pageContentKey = GetContentCounterKey(
XpsS0Markup
.FixedPageContentType);
1083
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1094
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1100
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1105
string pageContentKey = GetContentCounterKey(
XpsS0Markup
.FixedPageContentType);
1108
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1186
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1190
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1194
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1198
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentStructureContentType))
1202
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PrintTicketContentType))
1206
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FontContentType))
1210
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.ColorContextContentType))
1214
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.ResourceDictionaryContentType))
1247
foreach (PackageRelationship rel in _metroPackage.GetRelationshipsByType(
XpsS0Markup
.CorePropertiesRelationshipType))
1361
string extention =
XpsS0Markup
.PngExtension;
1362
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType))
1364
extention =
XpsS0Markup
.JpgExtension;
1367
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType))
1369
extention =
XpsS0Markup
.PngExtension;
1372
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType))
1374
extention =
XpsS0Markup
.TifExtension;
1377
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
1379
extention =
XpsS0Markup
.WdpExtension;
1412
foreach (PackageRelationship rel in package.GetRelationshipsByType(
XpsS0Markup
.ReachPackageStartingPartRelationshipType))
1479
package.CreateRelationship(startingPart.Uri, TargetMode.Internal,
XpsS0Markup
.ReachPackageStartingPartRelationshipType);
1532
if (imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType) ||
1533
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType) ||
1534
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType) ||
1535
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType)
1552
imageContentType =
XpsS0Markup
.JpgContentType;
1556
imageContentType =
XpsS0Markup
.PngContentType;
1560
imageContentType =
XpsS0Markup
.TifContentType;
1564
imageContentType =
XpsS0Markup
.WdpContentType;
Packaging\XPSSignatureDefinition.cs (26)
330
XpsS0Markup
.SignatureDefinition,
331
XpsS0Markup
.SignatureDefinitionNamespace
338
writer.WriteAttributeString(
XpsS0Markup
.SpotId, XmlConvert.EncodeName(SpotId.ToString()));
347
writer.WriteAttributeString(
XpsS0Markup
.RequestedSigner, RequestedSigner);
353
writer.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
359
writer.WriteStartElement(
XpsS0Markup
.SpotLocation);
364
writer.WriteAttributeString(
XpsS0Markup
.PageUri, pageUriAsString);
365
writer.WriteAttributeString(
XpsS0Markup
.StartX, SpotLocation.StartX.ToString(System.Globalization.CultureInfo.InvariantCulture));
366
writer.WriteAttributeString(
XpsS0Markup
.StartY, SpotLocation.StartY.ToString(System.Globalization.CultureInfo.InvariantCulture));
372
writer.WriteStartElement(
XpsS0Markup
.Intent);
379
writer.WriteStartElement(
XpsS0Markup
.SignBy);
386
writer.WriteStartElement(
XpsS0Markup
.SigningLocale);
415
reader.Name !=
XpsS0Markup
.SignatureDefinition
458
if (nodeName ==
XpsS0Markup
.SignatureDefinition)
462
else if (nodeName ==
XpsS0Markup
.SpotLocation)
476
if (attributeName ==
XpsS0Markup
.RequestedSigner)
480
else if (attributeName ==
XpsS0Markup
.SpotId)
495
else if (attributeName ==
XpsS0Markup
.XmlLang)
511
if (attributeName ==
XpsS0Markup
.StartX)
515
else if (attributeName ==
XpsS0Markup
.StartY)
519
else if (attributeName ==
XpsS0Markup
.PageUri)
543
if (reader.Name ==
XpsS0Markup
.SpotLocation)
547
else if (reader.Name ==
XpsS0Markup
.Intent)
551
else if (reader.Name ==
XpsS0Markup
.SignBy)
555
else if (reader.Name ==
XpsS0Markup
.SigningLocale)
603
if( reader.Name ==
XpsS0Markup
.SignatureDefinition )
Serialization\ColorTypeConverter.cs (2)
317
manager.AddRelationshipToCurrentPage(profileUri,
XpsS0Markup
.ResourceRelationshipName);
323
MS.Internal.ContentType colorContextMimeType =
XpsS0Markup
.ColorContextContentType;
Serialization\ImageSourceTypeConverter.cs (1)
187
manager.AddRelationshipToCurrentPage(imageUri,
XpsS0Markup
.ResourceRelationshipName);
Serialization\Manager\NullPackagingPolicy.cs (2)
797
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
798
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
Serialization\Manager\ReachDocumentPageSerializer.cs (9)
104
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
109
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
110
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
114
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
118
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
141
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
142
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (9)
167
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
172
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
173
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
177
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
181
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
203
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
204
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\ReachFixedPageSerializer.cs (5)
163
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
164
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
170
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
175
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\ReachFixedPageSerializerAsync.cs (5)
188
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
189
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
195
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
200
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (2)
67
String nameForType =
XpsS0Markup
.FixedDocument;
116
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\ReachIDocumentPaginatorSerializerAsync.cs (2)
107
String nameForType =
XpsS0Markup
.FixedDocument;
156
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\ReachSerializationUtils.cs (11)
404
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedDocumentSequence);
408
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedDocumentSequence,
581
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
585
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
587
xmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
588
xmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
589
xmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
608
xmlWriter.WriteAttributeString(
XpsS0Markup
.PageWidth,
610
xmlWriter.WriteAttributeString(
XpsS0Markup
.PageHeight,
Serialization\Manager\XpsLiterals.cs (1)
924
return
XpsS0Markup
.GetXmlnsUri(index);
Serialization\Manager\XpsOMDocumentPageSerializer.cs (9)
136
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
141
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
142
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
146
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
150
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
163
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
164
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (1)
134
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\XpsOMFixedPageSerializer.cs (5)
153
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
154
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
160
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
165
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\XpsOMPackagingPolicy.cs (14)
67
IOpcPartUri partUri = GenerateIOpcPartUri(
XpsS0Markup
.DocumentSequenceContentType);
68
IOpcPartUri discardControlPartUri = GenerateIOpcPartUri(
XpsS0Markup
.DiscardContentType);
113
Uri uri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.FixedDocumentContentType);
120
IXpsOMPrintTicketResource printTicketResource = GeneratePrintTicketResource(
XpsS0Markup
.FixedDocumentContentType, _currentDocumentPrintTicket);
255
_currentFixedPageUri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.FixedPageContentType);
380
_currentFixedPageXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
381
_currentFixedPageXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
634
Uri colorContextUri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.ColorContextContentType);
807
String uniqueUri = "/Resources/" + Guid.NewGuid().ToString() +
XpsS0Markup
.ObfuscatedFontExt;
847
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType))
851
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType))
855
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType))
859
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
884
IXpsOMPrintTicketResource printTicketResource = GeneratePrintTicketResource(
XpsS0Markup
.FixedPageContentType, _currentPagePrintTicket);
Serialization\Manager\XpsPackagingPolicy.cs (1)
1228
((XpsFixedDocumentReaderWriter)_currentFixedDocumentWriter).AddRelationship(targetUri,
XpsS0Markup
.RestrictedFontRelationshipType);
Serialization\Manager\XpsSerializationManager.cs (4)
606
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsImage(
XpsS0Markup
.ImageUriPlaceHolder);
610
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsColorContext(
XpsS0Markup
.ColorContextUriPlaceHolder);
614
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsResourceDictionary(
XpsS0Markup
.ResourceDictionaryUriPlaceHolder);
1296
XpsS0Markup
.XmlnsUri[IndexInTypes];
Serialization\VisualSerializer.cs (3)
2182
WriteAttr(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlEngLangValue);
2186
WriteAttr(
XpsS0Markup
.XmlLang, glyphRun.Language.ToString());
Serialization\XpsFontSubsetter.cs (2)
141
fontUri = _packagingPolicy.AcquireResourceStreamForXpsImage(
XpsS0Markup
.ImageUriPlaceHolder).Uri;
574
XpsS0Markup
.ResourceRelationshipName);