265 references to XpsS0Markup
ReachFramework (265)
packaging\XpsDigitalSignature.cs (9)
115
selector.SelectionCriteria ==
XpsS0Markup
.DitialSignatureRelationshipType )
137
selector.SelectionCriteria ==
XpsS0Markup
.CorePropertiesRelationshipType )
432
_optionalSignedTypes[
XpsS0Markup
.CoreDocumentPropertiesType.OriginalString] = "";
433
_optionalSignedTypes[
XpsS0Markup
.PrintTicketContentType.OriginalString] = "";
434
_optionalSignedTypes[
XpsS0Markup
.SigOriginContentType.OriginalString] = "";
435
_optionalSignedTypes[
XpsS0Markup
.SigCertContentType.OriginalString] = "";
436
_optionalSignedTypes[
XpsS0Markup
.DiscardContentType.OriginalString] = "";
440
_optionalSignedTypes[
XpsS0Markup
.StoryFragmentsContentType.OriginalString] = "";
442
_optionalSignedTypes[
XpsS0Markup
.RelationshipContentType.OriginalString] = "";
Packaging\XpsDocument.cs (7)
525
XpsS0Markup
.ThumbnailRelationshipName
564
PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.DocumentSequenceContentType);
613
if (!startPartType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
770
XpsS0Markup
.ReachPackageStartingPartRelationshipType
780
XpsS0Markup
.ThumbnailRelationshipName
794
XpsS0Markup
.CorePropertiesRelationshipType
826
if (xmlReader.NameTable.Get(
XpsS0Markup
.VersionExtensiblityNamespace) != null)
Packaging\XpsFixedDocumentReaderWriter.cs (18)
432
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FixedPageContentType);
465
XpsS0Markup
.ThumbnailRelationshipName
488
XpsS0Markup
.DocumentStructureContentType,
502
XpsS0Markup
.StructureRelationshipName
731
XpsS0Markup
.SignatureDefinitionRelationshipName
746
XpsS0Markup
.RestrictedFontRelationshipType
755
XpsS0Markup
.StructureRelationshipName
853
_partEditor.PrepareXmlWriter(
XpsS0Markup
.FixedDocument,
XpsS0Markup
.FixedDocumentNamespace);
860
xmlWriter.WriteStartElement(
XpsS0Markup
.PageContent);
958
if (reader.NodeType == XmlNodeType.Element && reader.Name ==
XpsS0Markup
.PageContent)
983
if (!pagePart.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1044
foreach (PackageRelationship rel in _metroPart.GetRelationshipsByType(
XpsS0Markup
.StructureRelationshipName))
1078
reader.Name ==
XpsS0Markup
.SignatureDefinitions
1098
reader.Name ==
XpsS0Markup
.SignatureDefinition
1107
reader.Name ==
XpsS0Markup
.SignatureDefinitions
1130
writer.WriteStartElement(
XpsS0Markup
.SignatureDefinitions,
1131
XpsS0Markup
.SignatureDefinitionNamespace);
Packaging\XpsFixedDocumentSequenceReaderWriter.cs (7)
312
PackagePart metroPart = CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FixedDocumentContentType);
347
XpsS0Markup
.ThumbnailRelationshipName
485
_partEditor.PrepareXmlWriter(
XpsS0Markup
.FixedDocumentSequence,
XpsS0Markup
.DocumentSequenceNamespace);
492
xmlWriter.WriteStartElement(
XpsS0Markup
.DocumentReference);
557
if (reader.NodeType == XmlNodeType.Element && reader.Name ==
XpsS0Markup
.DocumentReference)
622
if (!documentPart.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
Packaging\XpsFixedPageReaderWriter.cs (48)
827
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceContentType);
844
XpsS0Markup
.ResourceRelationshipName);
868
XpsS0Markup
.StoryFragmentsContentType,
881
XpsS0Markup
.StoryFragmentsRelationshipName
984
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.FontContentType);
1016
_parentNode.AddRelationship(xpsFont.Uri,
XpsS0Markup
.RestrictedFontRelationshipType);
1045
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ColorContextContentType);
1071
PackagePart metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceDictionaryContentType);
1099
XpsS0Markup
.ThumbnailRelationshipName);
1528
foreach( PackageRelationship rel in parentPart.GetRelationshipsByType(
XpsS0Markup
.RestrictedFontRelationshipType) )
1542
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName
1552
else if((part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FontContentType) ||
1553
part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.FontObfuscatedContentType))
1554
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1566
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.ColorContextContentType)
1567
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1575
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.ResourceDictionaryContentType)
1576
&& rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName)
1584
else if (part.ValidatedContentType().AreTypeAndSubTypeEqual(
XpsS0Markup
.StoryFragmentsContentType)
1585
&& rel.RelationshipType ==
XpsS0Markup
.StoryFragmentsRelationshipName)
1596
if( rel.RelationshipType ==
XpsS0Markup
.ResourceRelationshipName )
1628
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.PngContentType);
1643
XpsS0Markup
.ResourceRelationshipName);
1684
XpsS0Markup
.ResourceRelationshipName);
1710
XpsS0Markup
.ResourceRelationshipName
1719
XpsS0Markup
.StoryFragmentsRelationshipName
1728
XpsS0Markup
.ThumbnailRelationshipName
1742
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ColorContextContentType);
1756
XpsS0Markup
.ResourceRelationshipName);
1779
metroPart = this.CurrentXpsManager.GenerateUniquePart(
XpsS0Markup
.ResourceDictionaryContentType);
1794
XpsS0Markup
.ResourceRelationshipName);
1831
contentType =
XpsS0Markup
.ColorContextContentType;
1835
contentType =
XpsS0Markup
.ResourceDictionaryContentType;
1839
contentType =
XpsS0Markup
.ResourceContentType;
1864
if (extension.Equals(
XpsS0Markup
.JpgExtension, StringComparison.OrdinalIgnoreCase))
1866
contentType =
XpsS0Markup
.JpgContentType;
1868
else if (extension.Equals(
XpsS0Markup
.PngExtension, StringComparison.OrdinalIgnoreCase))
1870
contentType =
XpsS0Markup
.PngContentType;
1872
else if (extension.Equals(
XpsS0Markup
.TifExtension, StringComparison.OrdinalIgnoreCase))
1874
contentType =
XpsS0Markup
.TifContentType;
1876
else if (extension.Equals(
XpsS0Markup
.WdpExtension, StringComparison.OrdinalIgnoreCase))
1878
contentType =
XpsS0Markup
.WdpContentType;
1883
contentType =
XpsS0Markup
.PngContentType;
1911
if (string.Equals(extension,
XpsS0Markup
.ObfuscatedFontExt, StringComparison.OrdinalIgnoreCase))
1924
contentType =
XpsS0Markup
.FontObfuscatedContentType;
1929
contentType =
XpsS0Markup
.FontContentType;
2050
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
2051
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
Packaging\XpsFont.cs (1)
36
_isObfuscated = (part.ContentType ==
XpsS0Markup
.FontObfuscatedContentType.ToString());
Packaging\XpsManager.cs (61)
320
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType) ||
321
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType) ||
322
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType) ||
323
contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
411
String uniqueUri = "/Resources/" + Guid.NewGuid().ToString() +
XpsS0Markup
.ObfuscatedFontExt;
415
XpsS0Markup
.FontObfuscatedContentType.ToString(),
459
PackagePart printTicketPart = GeneratePart(
XpsS0Markup
.PrintTicketContentType, printTicketUri);
467
XpsS0Markup
.PrintTicketRelationshipName);
513
PackagePart printTicketPart = GeneratePart(
XpsS0Markup
.PrintTicketContentType, printTicketUri);
521
XpsS0Markup
.PrintTicketRelationshipName);
574
sigDefPart = GenerateUniquePart(
XpsS0Markup
.SignatureDefintionType );
578
XpsS0Markup
.SignatureDefinitionRelationshipName
597
XpsS0Markup
.SignatureDefintionType;
601
documentPart.GetRelationshipsByType(
XpsS0Markup
.SignatureDefinitionRelationshipName))
653
GetRelationshipsByType(
XpsS0Markup
.ThumbnailRelationshipName);
658
GetRelationshipsByType(
XpsS0Markup
.ThumbnailRelationshipName);
689
XpsS0Markup
.PrintTicketRelationshipName;
721
propertiesPart = GenerateUniquePart(
XpsS0Markup
.CoreDocumentPropertiesType );
722
_metroPackage.CreateRelationship(propertiesPart.Uri, TargetMode.Internal,
XpsS0Markup
.CorePropertiesRelationshipType );
829
XpsS0Markup
.DitialSignatureRelationshipType
932
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
955
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1056
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1060
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1062
string contentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1066
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1068
string documentContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1069
string pageContentKey = GetContentCounterKey(
XpsS0Markup
.FixedPageContentType);
1096
string docContentKey = GetContentCounterKey(
XpsS0Markup
.FixedDocumentContentType);
1107
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1113
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1118
string pageContentKey = GetContentCounterKey(
XpsS0Markup
.FixedPageContentType);
1121
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1199
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentSequenceContentType))
1203
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedDocumentContentType))
1207
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FixedPageContentType))
1211
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.DocumentStructureContentType))
1215
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PrintTicketContentType))
1219
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.FontContentType))
1223
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.ColorContextContentType))
1227
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.ResourceDictionaryContentType))
1260
foreach (PackageRelationship rel in _metroPackage.GetRelationshipsByType(
XpsS0Markup
.CorePropertiesRelationshipType))
1374
string extention =
XpsS0Markup
.PngExtension;
1375
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType))
1377
extention =
XpsS0Markup
.JpgExtension;
1380
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType))
1382
extention =
XpsS0Markup
.PngExtension;
1385
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType))
1387
extention =
XpsS0Markup
.TifExtension;
1390
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
1392
extention =
XpsS0Markup
.WdpExtension;
1425
foreach (PackageRelationship rel in package.GetRelationshipsByType(
XpsS0Markup
.ReachPackageStartingPartRelationshipType))
1492
package.CreateRelationship(startingPart.Uri, TargetMode.Internal,
XpsS0Markup
.ReachPackageStartingPartRelationshipType);
1545
if (imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType) ||
1546
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType) ||
1547
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType) ||
1548
imageContentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType)
1565
imageContentType =
XpsS0Markup
.JpgContentType;
1569
imageContentType =
XpsS0Markup
.PngContentType;
1573
imageContentType =
XpsS0Markup
.TifContentType;
1577
imageContentType =
XpsS0Markup
.WdpContentType;
Packaging\XPSSignatureDefinition.cs (26)
336
XpsS0Markup
.SignatureDefinition,
337
XpsS0Markup
.SignatureDefinitionNamespace
344
writer.WriteAttributeString(
XpsS0Markup
.SpotId, XmlConvert.EncodeName(SpotId.ToString()));
353
writer.WriteAttributeString(
XpsS0Markup
.RequestedSigner, RequestedSigner);
359
writer.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
365
writer.WriteStartElement(
XpsS0Markup
.SpotLocation);
370
writer.WriteAttributeString(
XpsS0Markup
.PageUri, pageUriAsString);
371
writer.WriteAttributeString(
XpsS0Markup
.StartX, SpotLocation.StartX.ToString(System.Globalization.CultureInfo.InvariantCulture));
372
writer.WriteAttributeString(
XpsS0Markup
.StartY, SpotLocation.StartY.ToString(System.Globalization.CultureInfo.InvariantCulture));
378
writer.WriteStartElement(
XpsS0Markup
.Intent);
385
writer.WriteStartElement(
XpsS0Markup
.SignBy);
392
writer.WriteStartElement(
XpsS0Markup
.SigningLocale);
421
reader.Name !=
XpsS0Markup
.SignatureDefinition
464
if (nodeName ==
XpsS0Markup
.SignatureDefinition)
468
else if (nodeName ==
XpsS0Markup
.SpotLocation)
482
if (attributeName ==
XpsS0Markup
.RequestedSigner)
486
else if (attributeName ==
XpsS0Markup
.SpotId)
501
else if (attributeName ==
XpsS0Markup
.XmlLang)
517
if (attributeName ==
XpsS0Markup
.StartX)
521
else if (attributeName ==
XpsS0Markup
.StartY)
525
else if (attributeName ==
XpsS0Markup
.PageUri)
549
if (reader.Name ==
XpsS0Markup
.SpotLocation)
553
else if (reader.Name ==
XpsS0Markup
.Intent)
557
else if (reader.Name ==
XpsS0Markup
.SignBy)
561
else if (reader.Name ==
XpsS0Markup
.SigningLocale)
609
if( reader.Name ==
XpsS0Markup
.SignatureDefinition )
Serialization\ColorTypeConverter.cs (2)
322
manager.AddRelationshipToCurrentPage(profileUri,
XpsS0Markup
.ResourceRelationshipName);
328
MS.Internal.ContentType colorContextMimeType =
XpsS0Markup
.ColorContextContentType;
Serialization\ImageSourceTypeConverter.cs (1)
195
manager.AddRelationshipToCurrentPage(imageUri,
XpsS0Markup
.ResourceRelationshipName);
Serialization\Manager\NullPackagingPolicy.cs (2)
808
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
809
_resourceDictionaryXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
Serialization\Manager\ReachDocumentPageSerializer.cs (9)
114
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
119
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
120
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
124
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
128
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
151
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
152
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (9)
178
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
183
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
184
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
188
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
192
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
214
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
215
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\ReachFixedPageSerializer.cs (5)
172
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
173
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
179
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
184
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\ReachFixedPageSerializerAsync.cs (5)
197
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
198
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
204
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
209
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (2)
78
String nameForType =
XpsS0Markup
.FixedDocument;
127
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\ReachIDocumentPaginatorSerializerAsync.cs (2)
118
String nameForType =
XpsS0Markup
.FixedDocument;
167
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\ReachSerializationUtils.cs (11)
414
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedDocumentSequence);
418
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedDocumentSequence,
591
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
595
xmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
597
xmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
598
xmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
599
xmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
618
xmlWriter.WriteAttributeString(
XpsS0Markup
.PageWidth,
620
xmlWriter.WriteAttributeString(
XpsS0Markup
.PageHeight,
Serialization\Manager\XpsLiterals.cs (1)
934
return
XpsS0Markup
.GetXmlnsUri(index);
Serialization\Manager\XpsOMDocumentPageSerializer.cs (9)
146
XmlWriter.WriteStartElement(
XpsS0Markup
.FixedPage);
151
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
152
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
156
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, SerializationManager.Language.ToString());
160
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlLangValue);
173
WriteAttribute(XmlWriter,
XpsS0Markup
.PageWidth, size.Width);
174
WriteAttribute(XmlWriter,
XpsS0Markup
.PageHeight, size.Height);
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (1)
146
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
Serialization\Manager\XpsOMFixedPageSerializer.cs (5)
162
XmlWriter.WriteAttributeString(
XpsS0Markup
.Xmlns, xmlnsForType);
163
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlnsX,
XpsS0Markup
.XmlnsXSchema);
169
language = XmlLanguage.GetLanguage(
XpsS0Markup
.XmlLangValue);
174
XmlWriter.WriteAttributeString(
XpsS0Markup
.XmlLang, language.ToString());
Serialization\Manager\XpsOMPackagingPolicy.cs (14)
68
IOpcPartUri partUri = GenerateIOpcPartUri(
XpsS0Markup
.DocumentSequenceContentType);
69
IOpcPartUri discardControlPartUri = GenerateIOpcPartUri(
XpsS0Markup
.DiscardContentType);
114
Uri uri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.FixedDocumentContentType);
121
IXpsOMPrintTicketResource printTicketResource = GeneratePrintTicketResource(
XpsS0Markup
.FixedDocumentContentType, _currentDocumentPrintTicket);
256
_currentFixedPageUri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.FixedPageContentType);
381
_currentFixedPageXmlWriter.WriteStartElement(
XpsS0Markup
.PageResources);
382
_currentFixedPageXmlWriter.WriteStartElement(
XpsS0Markup
.ResourceDictionary);
635
Uri colorContextUri = _xpsManager.GenerateUniqueUri(
XpsS0Markup
.ColorContextContentType);
808
String uniqueUri = "/Resources/" + Guid.NewGuid().ToString() +
XpsS0Markup
.ObfuscatedFontExt;
848
if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.JpgContentType))
852
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.PngContentType))
856
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.TifContentType))
860
else if (contentType.AreTypeAndSubTypeEqual(
XpsS0Markup
.WdpContentType))
885
IXpsOMPrintTicketResource printTicketResource = GeneratePrintTicketResource(
XpsS0Markup
.FixedPageContentType, _currentPagePrintTicket);
Serialization\Manager\XpsPackagingPolicy.cs (1)
1240
((XpsFixedDocumentReaderWriter)_currentFixedDocumentWriter).AddRelationship(targetUri,
XpsS0Markup
.RestrictedFontRelationshipType);
Serialization\Manager\XpsSerializationManager.cs (4)
616
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsImage(
XpsS0Markup
.ImageUriPlaceHolder);
620
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsColorContext(
XpsS0Markup
.ColorContextUriPlaceHolder);
624
resourceStream = _packagingPolicy.AcquireResourceStreamForXpsResourceDictionary(
XpsS0Markup
.ResourceDictionaryUriPlaceHolder);
1306
XpsS0Markup
.XmlnsUri[IndexInTypes];
Serialization\VisualSerializer.cs (3)
2190
WriteAttr(
XpsS0Markup
.XmlLang,
XpsS0Markup
.XmlEngLangValue);
2194
WriteAttr(
XpsS0Markup
.XmlLang, glyphRun.Language.ToString());
Serialization\XpsFontSubsetter.cs (2)
147
fontUri = _packagingPolicy.AcquireResourceStreamForXpsImage(
XpsS0Markup
.ImageUriPlaceHolder).Uri;
580
XpsS0Markup
.ResourceRelationshipName);