155 references to CapabilityName
ReachFramework (155)
PrintConfig\PrintSchema.cs (24)
1539
internal static
CapabilityName
CapabilityNameEnumMin =
CapabilityName
.DocumentCollate;
1540
internal static
CapabilityName
CapabilityNameEnumMax =
CapabilityName
.PageInputBin;
2212
new MapEntry(CollateKeys.DocumentCollate, (int)
CapabilityName
.DocumentCollate),
2213
new MapEntry(DuplexKeys.JobDuplex, (int)
CapabilityName
.JobDuplex),
2214
new MapEntry(NUpKeys.JobNUp, (int)
CapabilityName
.JobNUp),
2215
new MapEntry(StapleKeys.JobStaple, (int)
CapabilityName
.JobStaple),
2216
new MapEntry(PageDeviceFontSubstitutionKeys.Self, (int)
CapabilityName
.PageDeviceFontSubstitution),
2217
new MapEntry(PageMediaSizeKeys.Self, (int)
CapabilityName
.PageMediaSize),
2218
new MapEntry(PageMediaTypeKeys.Self, (int)
CapabilityName
.PageMediaType),
2219
new MapEntry(PageOrientationKeys.Self, (int)
CapabilityName
.PageOrientation),
2220
new MapEntry(PageOutputColorKeys.Self, (int)
CapabilityName
.PageOutputColor),
2221
new MapEntry(PageResolutionKeys.Self, (int)
CapabilityName
.PageResolution),
2222
new MapEntry(PageScalingKeys.Self, (int)
CapabilityName
.PageScaling),
2223
new MapEntry(PageTrueTypeFontModeKeys.Self, (int)
CapabilityName
.PageTrueTypeFontMode),
2224
new MapEntry(JobPageOrderKeys.Self, (int)
CapabilityName
.JobPageOrder),
2225
new MapEntry(PagePhotoPrintingIntentKeys.Self, (int)
CapabilityName
.PagePhotoPrintingIntent),
2226
new MapEntry(PageBorderlessKeys.Self, (int)
CapabilityName
.PageBorderless),
2227
new MapEntry(PageOutputQualityKeys.Self, (int)
CapabilityName
.PageOutputQuality),
2228
new MapEntry(InputBinKeys.JobInputBin, (int)
CapabilityName
.JobInputBin),
2229
new MapEntry(InputBinKeys.DocumentInputBin, (int)
CapabilityName
.DocumentInputBin),
2230
new MapEntry(InputBinKeys.PageInputBin, (int)
CapabilityName
.PageInputBin),
2238
new MapEntry(ParameterDefs.JobCopyCount, (int)
CapabilityName
.JobCopyCount),
PrintConfig\PrtCap_Builder.cs (1)
364
printCap._pcRootFeatures[(int)
CapabilityName
.PageImageableSize] = imageableSizeCap;
PrintConfig\PrtCap_Public.cs (24)
62
_countRootFeatures = Enum.GetNames(typeof(
CapabilityName
)).Length;
109
/// The <paramref name="feature"/> parameter is not a standard feature defined in <see cref="
CapabilityName
"/>.
111
public bool SupportsCapability(
CapabilityName
feature)
138
return (DocumentCollateCapability)_pcRootFeatures[(int)
CapabilityName
.DocumentCollate];
153
return (JobDuplexCapability)_pcRootFeatures[(int)
CapabilityName
.JobDuplex];
168
return (JobNUpCapability)_pcRootFeatures[(int)
CapabilityName
.JobNUp];
183
return (JobStapleCapability)_pcRootFeatures[(int)
CapabilityName
.JobStaple];
198
return (PageDeviceFontSubstitutionCapability)_pcRootFeatures[(int)
CapabilityName
.PageDeviceFontSubstitution];
213
return (PageMediaSizeCapability)_pcRootFeatures[(int)
CapabilityName
.PageMediaSize];
228
return (PageMediaTypeCapability)_pcRootFeatures[(int)
CapabilityName
.PageMediaType];
243
return (PageOrientationCapability)_pcRootFeatures[(int)
CapabilityName
.PageOrientation];
258
return (PageOutputColorCapability)_pcRootFeatures[(int)
CapabilityName
.PageOutputColor];
273
return (PageResolutionCapability)_pcRootFeatures[(int)
CapabilityName
.PageResolution];
288
return (PageScalingCapability)_pcRootFeatures[(int)
CapabilityName
.PageScaling];
303
return (PageTrueTypeFontModeCapability)_pcRootFeatures[(int)
CapabilityName
.PageTrueTypeFontMode];
318
return (JobPageOrderCapability)_pcRootFeatures[(int)
CapabilityName
.JobPageOrder];
333
return (PagePhotoPrintingIntentCapability)_pcRootFeatures[(int)
CapabilityName
.PagePhotoPrintingIntent];
348
return (PageBorderlessCapability)_pcRootFeatures[(int)
CapabilityName
.PageBorderless];
363
return (PageOutputQualityCapability)_pcRootFeatures[(int)
CapabilityName
.PageOutputQuality];
378
return (JobInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.JobInputBin];
393
return (DocumentInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.DocumentInputBin];
408
return (PageInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.PageInputBin];
423
return (JobCopyCountCapability)_pcRootFeatures[(int)
CapabilityName
.JobCopyCount];
438
return (ImageableSizeCapability)_pcRootFeatures[(int)
CapabilityName
.PageImageableSize];
PrintConfig\PrtCap_Public_Simple.cs (24)
227
if (_printCap.SupportsCapability(
CapabilityName
.DocumentCollate))
260
if (_printCap.SupportsCapability(
CapabilityName
.PageDeviceFontSubstitution))
293
if (_printCap.SupportsCapability(
CapabilityName
.JobDuplex))
332
if (_printCap.SupportsCapability(
CapabilityName
.JobInputBin))
337
else if (_printCap.SupportsCapability(
CapabilityName
.DocumentInputBin))
342
else if (_printCap.SupportsCapability(
CapabilityName
.PageInputBin))
378
if (_printCap.SupportsCapability(
CapabilityName
.JobCopyCount) &&
398
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
418
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
444
if (_printCap.SupportsCapability(
CapabilityName
.PageOutputColor))
477
if (_printCap.SupportsCapability(
CapabilityName
.PageOutputQuality))
510
if (_printCap.SupportsCapability(
CapabilityName
.PageBorderless))
540
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
577
if (_printCap.SupportsCapability(
CapabilityName
.PageMediaSize))
617
if (_printCap.SupportsCapability(
CapabilityName
.PageMediaType))
650
if (_printCap.SupportsCapability(
CapabilityName
.JobPageOrder))
683
if (_printCap.SupportsCapability(
CapabilityName
.PageOrientation))
716
if (_printCap.SupportsCapability(
CapabilityName
.PageResolution))
754
if (_printCap.SupportsCapability(
CapabilityName
.PageScaling))
825
if (_printCap.SupportsCapability(
CapabilityName
.JobNUp))
859
if (_printCap.SupportsCapability(
CapabilityName
.JobNUp) &&
894
if (_printCap.SupportsCapability(
CapabilityName
.PagePhotoPrintingIntent))
926
if (_printCap.SupportsCapability(
CapabilityName
.JobStaple))
959
if (_printCap.SupportsCapability(
CapabilityName
.PageTrueTypeFontMode))
PrintConfig\PrtTicket_Public.cs (17)
538
internal PrintTicketFeature GetBasePTFeatureObject(
CapabilityName
feature)
542
case
CapabilityName
.DocumentCollate:
545
case
CapabilityName
.PageDeviceFontSubstitution:
548
case
CapabilityName
.JobDuplex:
551
case
CapabilityName
.JobInputBin:
554
case
CapabilityName
.DocumentInputBin:
557
case
CapabilityName
.PageInputBin:
560
case
CapabilityName
.PageOutputColor:
563
case
CapabilityName
.PageOutputQuality:
566
case
CapabilityName
.PageBorderless:
569
case
CapabilityName
.PageMediaType:
572
case
CapabilityName
.JobPageOrder:
575
case
CapabilityName
.PageOrientation:
578
case
CapabilityName
.JobNUp:
581
case
CapabilityName
.PagePhotoPrintingIntent:
584
case
CapabilityName
.JobStaple:
587
case
CapabilityName
.PageTrueTypeFontMode:
PrintConfig\PrtTicket_Public_Simple.cs (65)
258
_setterCache = new Dictionary<
CapabilityName
, object>();
282
_setterCache = new Dictionary<
CapabilityName
, object>();
351
CapabilityName
.DocumentCollate,
370
CapabilityName
.DocumentCollate,
441
CapabilityName
.PageDeviceFontSubstitution,
460
CapabilityName
.PageDeviceFontSubstitution,
485
CapabilityName
.JobDuplex,
504
CapabilityName
.JobDuplex,
539
CapabilityName
.JobInputBin,
546
CapabilityName
.DocumentInputBin,
554
CapabilityName
.PageInputBin,
575
CapabilityName
.JobInputBin,
581
CapabilityName
.DocumentInputBin, (InputBin)PrintSchema.EnumUnspecifiedValue);
583
CapabilityName
.PageInputBin, (InputBin)PrintSchema.EnumUnspecifiedValue);
607
CapabilityName
.PageOutputColor,
626
CapabilityName
.PageOutputColor,
651
CapabilityName
.PageOutputQuality,
670
CapabilityName
.PageOutputQuality,
695
CapabilityName
.PageBorderless,
714
CapabilityName
.PageBorderless,
749
_setterCache.ContainsKey(
CapabilityName
.PageMediaSize))
753
_setterCache.TryGetValue(
CapabilityName
.PageMediaSize, out cacheObj);
821
if (_setterCache.ContainsKey(
CapabilityName
.PageMediaSize))
823
_setterCache.Remove(
CapabilityName
.PageMediaSize);
826
_setterCache.Add(
CapabilityName
.PageMediaSize, value);
850
CapabilityName
.PageMediaType,
869
CapabilityName
.PageMediaType,
894
CapabilityName
.JobPageOrder,
913
CapabilityName
.JobPageOrder,
938
CapabilityName
.PageOrientation,
957
CapabilityName
.PageOrientation,
992
_setterCache.ContainsKey(
CapabilityName
.PageResolution))
996
_setterCache.TryGetValue(
CapabilityName
.PageResolution, out cacheObj);
1063
if (_setterCache.ContainsKey(
CapabilityName
.PageResolution))
1065
_setterCache.Remove(
CapabilityName
.PageResolution);
1068
_setterCache.Add(
CapabilityName
.PageResolution, value);
1192
CapabilityName
.JobNUp,
1211
CapabilityName
.JobNUp,
1236
CapabilityName
.PagePhotoPrintingIntent,
1255
CapabilityName
.PagePhotoPrintingIntent,
1280
CapabilityName
.JobStaple,
1299
CapabilityName
.JobStaple,
1324
CapabilityName
.PageTrueTypeFontMode,
1343
CapabilityName
.PageTrueTypeFontMode,
1418
private EnumType GetEnumValueFromCacheOrXml<EnumType>(
CapabilityName
feature,
1440
private void AddSetterEnumValueToCache<EnumType>(
CapabilityName
feature,
1536
private void ExecuteGeneralEnumSetters(
CapabilityName
feature, object cacheValue)
1547
case
CapabilityName
.DocumentCollate:
1551
case
CapabilityName
.PageDeviceFontSubstitution:
1556
case
CapabilityName
.JobDuplex:
1560
case
CapabilityName
.JobInputBin:
1564
case
CapabilityName
.PageOutputColor:
1568
case
CapabilityName
.PageOutputQuality:
1572
case
CapabilityName
.PageBorderless:
1576
case
CapabilityName
.PageMediaType:
1580
case
CapabilityName
.JobPageOrder:
1584
case
CapabilityName
.PageOrientation:
1588
case
CapabilityName
.JobNUp:
1593
case
CapabilityName
.PagePhotoPrintingIntent:
1597
case
CapabilityName
.JobStaple:
1601
case
CapabilityName
.PageTrueTypeFontMode:
1616
foreach (
CapabilityName
feature in _setterCache.Keys)
1622
if (feature ==
CapabilityName
.PageMediaSize)
1626
else if (feature ==
CapabilityName
.PageResolution)
1651
private Dictionary<
CapabilityName
, object> _setterCache;