155 references to CapabilityName
ReachFramework (155)
PrintConfig\PrintSchema.cs (24)
1536
internal static
CapabilityName
CapabilityNameEnumMin =
CapabilityName
.DocumentCollate;
1537
internal static
CapabilityName
CapabilityNameEnumMax =
CapabilityName
.PageInputBin;
2209
new MapEntry(CollateKeys.DocumentCollate, (int)
CapabilityName
.DocumentCollate),
2210
new MapEntry(DuplexKeys.JobDuplex, (int)
CapabilityName
.JobDuplex),
2211
new MapEntry(NUpKeys.JobNUp, (int)
CapabilityName
.JobNUp),
2212
new MapEntry(StapleKeys.JobStaple, (int)
CapabilityName
.JobStaple),
2213
new MapEntry(PageDeviceFontSubstitutionKeys.Self, (int)
CapabilityName
.PageDeviceFontSubstitution),
2214
new MapEntry(PageMediaSizeKeys.Self, (int)
CapabilityName
.PageMediaSize),
2215
new MapEntry(PageMediaTypeKeys.Self, (int)
CapabilityName
.PageMediaType),
2216
new MapEntry(PageOrientationKeys.Self, (int)
CapabilityName
.PageOrientation),
2217
new MapEntry(PageOutputColorKeys.Self, (int)
CapabilityName
.PageOutputColor),
2218
new MapEntry(PageResolutionKeys.Self, (int)
CapabilityName
.PageResolution),
2219
new MapEntry(PageScalingKeys.Self, (int)
CapabilityName
.PageScaling),
2220
new MapEntry(PageTrueTypeFontModeKeys.Self, (int)
CapabilityName
.PageTrueTypeFontMode),
2221
new MapEntry(JobPageOrderKeys.Self, (int)
CapabilityName
.JobPageOrder),
2222
new MapEntry(PagePhotoPrintingIntentKeys.Self, (int)
CapabilityName
.PagePhotoPrintingIntent),
2223
new MapEntry(PageBorderlessKeys.Self, (int)
CapabilityName
.PageBorderless),
2224
new MapEntry(PageOutputQualityKeys.Self, (int)
CapabilityName
.PageOutputQuality),
2225
new MapEntry(InputBinKeys.JobInputBin, (int)
CapabilityName
.JobInputBin),
2226
new MapEntry(InputBinKeys.DocumentInputBin, (int)
CapabilityName
.DocumentInputBin),
2227
new MapEntry(InputBinKeys.PageInputBin, (int)
CapabilityName
.PageInputBin),
2235
new MapEntry(ParameterDefs.JobCopyCount, (int)
CapabilityName
.JobCopyCount),
PrintConfig\PrtCap_Builder.cs (1)
360
printCap._pcRootFeatures[(int)
CapabilityName
.PageImageableSize] = imageableSizeCap;
PrintConfig\PrtCap_Public.cs (24)
56
_countRootFeatures = Enum.GetNames(typeof(
CapabilityName
)).Length;
103
/// The <paramref name="feature"/> parameter is not a standard feature defined in <see cref="
CapabilityName
"/>.
105
public bool SupportsCapability(
CapabilityName
feature)
132
return (DocumentCollateCapability)_pcRootFeatures[(int)
CapabilityName
.DocumentCollate];
147
return (JobDuplexCapability)_pcRootFeatures[(int)
CapabilityName
.JobDuplex];
162
return (JobNUpCapability)_pcRootFeatures[(int)
CapabilityName
.JobNUp];
177
return (JobStapleCapability)_pcRootFeatures[(int)
CapabilityName
.JobStaple];
192
return (PageDeviceFontSubstitutionCapability)_pcRootFeatures[(int)
CapabilityName
.PageDeviceFontSubstitution];
207
return (PageMediaSizeCapability)_pcRootFeatures[(int)
CapabilityName
.PageMediaSize];
222
return (PageMediaTypeCapability)_pcRootFeatures[(int)
CapabilityName
.PageMediaType];
237
return (PageOrientationCapability)_pcRootFeatures[(int)
CapabilityName
.PageOrientation];
252
return (PageOutputColorCapability)_pcRootFeatures[(int)
CapabilityName
.PageOutputColor];
267
return (PageResolutionCapability)_pcRootFeatures[(int)
CapabilityName
.PageResolution];
282
return (PageScalingCapability)_pcRootFeatures[(int)
CapabilityName
.PageScaling];
297
return (PageTrueTypeFontModeCapability)_pcRootFeatures[(int)
CapabilityName
.PageTrueTypeFontMode];
312
return (JobPageOrderCapability)_pcRootFeatures[(int)
CapabilityName
.JobPageOrder];
327
return (PagePhotoPrintingIntentCapability)_pcRootFeatures[(int)
CapabilityName
.PagePhotoPrintingIntent];
342
return (PageBorderlessCapability)_pcRootFeatures[(int)
CapabilityName
.PageBorderless];
357
return (PageOutputQualityCapability)_pcRootFeatures[(int)
CapabilityName
.PageOutputQuality];
372
return (JobInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.JobInputBin];
387
return (DocumentInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.DocumentInputBin];
402
return (PageInputBinCapability)_pcRootFeatures[(int)
CapabilityName
.PageInputBin];
417
return (JobCopyCountCapability)_pcRootFeatures[(int)
CapabilityName
.JobCopyCount];
432
return (ImageableSizeCapability)_pcRootFeatures[(int)
CapabilityName
.PageImageableSize];
PrintConfig\PrtCap_Public_Simple.cs (24)
221
if (_printCap.SupportsCapability(
CapabilityName
.DocumentCollate))
254
if (_printCap.SupportsCapability(
CapabilityName
.PageDeviceFontSubstitution))
287
if (_printCap.SupportsCapability(
CapabilityName
.JobDuplex))
326
if (_printCap.SupportsCapability(
CapabilityName
.JobInputBin))
331
else if (_printCap.SupportsCapability(
CapabilityName
.DocumentInputBin))
336
else if (_printCap.SupportsCapability(
CapabilityName
.PageInputBin))
372
if (_printCap.SupportsCapability(
CapabilityName
.JobCopyCount) &&
392
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
412
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
438
if (_printCap.SupportsCapability(
CapabilityName
.PageOutputColor))
471
if (_printCap.SupportsCapability(
CapabilityName
.PageOutputQuality))
504
if (_printCap.SupportsCapability(
CapabilityName
.PageBorderless))
534
if (_printCap.SupportsCapability(
CapabilityName
.PageImageableSize) &&
571
if (_printCap.SupportsCapability(
CapabilityName
.PageMediaSize))
611
if (_printCap.SupportsCapability(
CapabilityName
.PageMediaType))
644
if (_printCap.SupportsCapability(
CapabilityName
.JobPageOrder))
677
if (_printCap.SupportsCapability(
CapabilityName
.PageOrientation))
710
if (_printCap.SupportsCapability(
CapabilityName
.PageResolution))
748
if (_printCap.SupportsCapability(
CapabilityName
.PageScaling))
819
if (_printCap.SupportsCapability(
CapabilityName
.JobNUp))
853
if (_printCap.SupportsCapability(
CapabilityName
.JobNUp) &&
888
if (_printCap.SupportsCapability(
CapabilityName
.PagePhotoPrintingIntent))
920
if (_printCap.SupportsCapability(
CapabilityName
.JobStaple))
953
if (_printCap.SupportsCapability(
CapabilityName
.PageTrueTypeFontMode))
PrintConfig\PrtTicket_Public.cs (17)
532
internal PrintTicketFeature GetBasePTFeatureObject(
CapabilityName
feature)
536
case
CapabilityName
.DocumentCollate:
539
case
CapabilityName
.PageDeviceFontSubstitution:
542
case
CapabilityName
.JobDuplex:
545
case
CapabilityName
.JobInputBin:
548
case
CapabilityName
.DocumentInputBin:
551
case
CapabilityName
.PageInputBin:
554
case
CapabilityName
.PageOutputColor:
557
case
CapabilityName
.PageOutputQuality:
560
case
CapabilityName
.PageBorderless:
563
case
CapabilityName
.PageMediaType:
566
case
CapabilityName
.JobPageOrder:
569
case
CapabilityName
.PageOrientation:
572
case
CapabilityName
.JobNUp:
575
case
CapabilityName
.PagePhotoPrintingIntent:
578
case
CapabilityName
.JobStaple:
581
case
CapabilityName
.PageTrueTypeFontMode:
PrintConfig\PrtTicket_Public_Simple.cs (65)
251
_setterCache = new Dictionary<
CapabilityName
, object>();
275
_setterCache = new Dictionary<
CapabilityName
, object>();
344
CapabilityName
.DocumentCollate,
363
CapabilityName
.DocumentCollate,
434
CapabilityName
.PageDeviceFontSubstitution,
453
CapabilityName
.PageDeviceFontSubstitution,
478
CapabilityName
.JobDuplex,
497
CapabilityName
.JobDuplex,
532
CapabilityName
.JobInputBin,
539
CapabilityName
.DocumentInputBin,
547
CapabilityName
.PageInputBin,
568
CapabilityName
.JobInputBin,
574
CapabilityName
.DocumentInputBin, (InputBin)PrintSchema.EnumUnspecifiedValue);
576
CapabilityName
.PageInputBin, (InputBin)PrintSchema.EnumUnspecifiedValue);
600
CapabilityName
.PageOutputColor,
619
CapabilityName
.PageOutputColor,
644
CapabilityName
.PageOutputQuality,
663
CapabilityName
.PageOutputQuality,
688
CapabilityName
.PageBorderless,
707
CapabilityName
.PageBorderless,
742
_setterCache.ContainsKey(
CapabilityName
.PageMediaSize))
746
_setterCache.TryGetValue(
CapabilityName
.PageMediaSize, out cacheObj);
814
if (_setterCache.ContainsKey(
CapabilityName
.PageMediaSize))
816
_setterCache.Remove(
CapabilityName
.PageMediaSize);
819
_setterCache.Add(
CapabilityName
.PageMediaSize, value);
843
CapabilityName
.PageMediaType,
862
CapabilityName
.PageMediaType,
887
CapabilityName
.JobPageOrder,
906
CapabilityName
.JobPageOrder,
931
CapabilityName
.PageOrientation,
950
CapabilityName
.PageOrientation,
985
_setterCache.ContainsKey(
CapabilityName
.PageResolution))
989
_setterCache.TryGetValue(
CapabilityName
.PageResolution, out cacheObj);
1056
if (_setterCache.ContainsKey(
CapabilityName
.PageResolution))
1058
_setterCache.Remove(
CapabilityName
.PageResolution);
1061
_setterCache.Add(
CapabilityName
.PageResolution, value);
1185
CapabilityName
.JobNUp,
1204
CapabilityName
.JobNUp,
1229
CapabilityName
.PagePhotoPrintingIntent,
1248
CapabilityName
.PagePhotoPrintingIntent,
1273
CapabilityName
.JobStaple,
1292
CapabilityName
.JobStaple,
1317
CapabilityName
.PageTrueTypeFontMode,
1336
CapabilityName
.PageTrueTypeFontMode,
1411
private EnumType GetEnumValueFromCacheOrXml<EnumType>(
CapabilityName
feature,
1433
private void AddSetterEnumValueToCache<EnumType>(
CapabilityName
feature,
1529
private void ExecuteGeneralEnumSetters(
CapabilityName
feature, object cacheValue)
1540
case
CapabilityName
.DocumentCollate:
1544
case
CapabilityName
.PageDeviceFontSubstitution:
1549
case
CapabilityName
.JobDuplex:
1553
case
CapabilityName
.JobInputBin:
1557
case
CapabilityName
.PageOutputColor:
1561
case
CapabilityName
.PageOutputQuality:
1565
case
CapabilityName
.PageBorderless:
1569
case
CapabilityName
.PageMediaType:
1573
case
CapabilityName
.JobPageOrder:
1577
case
CapabilityName
.PageOrientation:
1581
case
CapabilityName
.JobNUp:
1586
case
CapabilityName
.PagePhotoPrintingIntent:
1590
case
CapabilityName
.JobStaple:
1594
case
CapabilityName
.PageTrueTypeFontMode:
1609
foreach (
CapabilityName
feature in _setterCache.Keys)
1615
if (feature ==
CapabilityName
.PageMediaSize)
1619
else if (feature ==
CapabilityName
.PageResolution)
1644
private Dictionary<
CapabilityName
, object> _setterCache;