Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption Class Referencefinal

Describes the JobDeviceLanguage feature options. More...

#include "JobDeviceLanguage.h"

Inherits Aspose::Page::XPS::XpsMetadata::Option.

Public Member Functions

 JobDeviceLanguageOption (System::String name, const System::ArrayPtr< System::SharedPtr< JobDeviceLanguage::IJobDeviceLanguageOptionItem > > &items)
 Creates a new instance.
 
 JobDeviceLanguageOption (System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > option)
 Clones this option instance.
 
System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionAdd (const System::ArrayPtr< System::SharedPtr< JobDeviceLanguage::IJobDeviceLanguageOptionItem > > &items)
 Adds a list of IJobDeviceLanguageOptionItem instances to the options.
 
System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionSetLanguageLevel (System::String languageLevel)
 Sets the LanguageLevel scored property value.
 
System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionSetLanguageEncoding (System::String languageEncoding)
 Sets the LanguageEncoding scored property value.
 
System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionSetLanguageVersion (System::String languageVersion)
 Sets the LanguageVersion scored property value.
 
System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionClone ()
 Clones this option instance. The shortcut to the cloneing constructor.
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures.
 
virtual ~Object ()
 Destroys object. Frees all internal data structures.
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses.
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses.
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value.
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector.
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object.
 
int SharedCount () const
 Gets current value of shared reference counter.
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object.
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics.
 
virtual int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects.
 
virtual String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string.
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types.
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call.
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator.
 
virtual void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
 
virtual bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only.
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr.
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings.
 

Static Public Attributes

static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionXPS
 Specifies device language is XPS.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption_201PL
 Specifies device language is PC-PR201.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionART
 Specified device language is ART.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionASCII
 Specified device language is ASCII.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionCaPSL
 Specified device language is CaPSL.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionESCP2
 Specified device language is ESC/P2.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionESCPage
 Specified device language is ESC/Page.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionHPGL2
 Specified device language is HP-GL/2.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionKPDL
 Specified device language is KPDL.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionKS
 Specified device language is KS.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionKSSM
 Specified device language is KSSM.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPCL
 Specified device language is PCL.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPCL5c
 Specified device language is PCL5c.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPCL5e
 Specified device language is PCL5e.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPCLXL
 Specified device language is PCL-XL.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPostScript
 Specified device language is PostScript.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionPPDS
 Specified device language is PPDS.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionRPDL
 Specified device language is RPDL.
 
static System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOptionRTL
 Specified device language is RTL.
 

Protected Member Functions

System::ArrayPtr< System::Stringget_Names () override
 
virtual ~JobDeviceLanguageOption ()
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type.
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference.
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference.
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 Reference-compares value type object with nullptr.
 
template<typename T1 , typename T2 >
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares reference type objects in C# style.
 
template<typename T1 , typename T2 >
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 Compares value type objects in C# style.
 
static const TypeInfoType ()
 Implements C# typeof(System.Object) construct.
 
template<>
bool Equals (float const &objA, float const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
 
template<>
bool Equals (double const &objA, double const &objB)
 Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
 

Detailed Description

Describes the JobDeviceLanguage feature options.

Constructor & Destructor Documentation

◆ JobDeviceLanguageOption() [1/2]

Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::JobDeviceLanguageOption ( System::String name,
const System::ArrayPtr< System::SharedPtr< JobDeviceLanguage::IJobDeviceLanguageOptionItem > > & items )

Creates a new instance.

Parameters
nameAn option name.
itemsAn arbitrary array of IJobDeviceLanguageOptionItem instances.

◆ JobDeviceLanguageOption() [2/2]

Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::JobDeviceLanguageOption ( System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > option)

Clones this option instance.

Parameters
optionAn instance to clone.

◆ ~JobDeviceLanguageOption()

virtual Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::~JobDeviceLanguageOption ( )
protectedvirtual

Member Function Documentation

◆ Add()

System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::Add ( const System::ArrayPtr< System::SharedPtr< JobDeviceLanguage::IJobDeviceLanguageOptionItem > > & items)

Adds a list of IJobDeviceLanguageOptionItem instances to the options.

Parameters
itemsAn arbitrary array of IJobDeviceLanguageOptionItem instances.
Returns
This option instance.

◆ Clone()

System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::Clone ( )

Clones this option instance. The shortcut to the cloneing constructor.

Returns
The clone of this option instance.

◆ get_Names()

System::ArrayPtr< System::String > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::get_Names ( )
overrideprotectedvirtual

◆ SetLanguageEncoding()

System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::SetLanguageEncoding ( System::String languageEncoding)

Sets the LanguageEncoding scored property value.

Parameters
languageEncodingThe
LanguageEncoding
scored property value.
Returns
This option instance.

◆ SetLanguageLevel()

System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::SetLanguageLevel ( System::String languageLevel)

Sets the LanguageLevel scored property value.

Parameters
languageLevelThe
LanguageLevel
scored property value.
Returns
This option instance.

◆ SetLanguageVersion()

System::SharedPtr< JobDeviceLanguage::JobDeviceLanguageOption > Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::SetLanguageVersion ( System::String languageVersion)

Sets the LanguageVersion scored property value.

Parameters
languageVersionThe
LanguageVersion
scored property value.
Returns
This option instance.

Member Data Documentation

◆ _201PL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::_201PL
static

Specifies device language is PC-PR201.

◆ ART

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::ART
static

Specified device language is ART.

◆ ASCII

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::ASCII
static

Specified device language is ASCII.

◆ CaPSL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::CaPSL
static

Specified device language is CaPSL.

◆ ESCP2

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::ESCP2
static

Specified device language is ESC/P2.

◆ ESCPage

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::ESCPage
static

Specified device language is ESC/Page.

◆ HPGL2

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::HPGL2
static

Specified device language is HP-GL/2.

◆ KPDL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::KPDL
static

Specified device language is KPDL.

◆ KS

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::KS
static

Specified device language is KS.

◆ KSSM

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::KSSM
static

Specified device language is KSSM.

◆ PCL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PCL
static

Specified device language is PCL.

◆ PCL5c

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PCL5c
static

Specified device language is PCL5c.

◆ PCL5e

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PCL5e
static

Specified device language is PCL5e.

◆ PCLXL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PCLXL
static

Specified device language is PCL-XL.

◆ PostScript

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PostScript
static

Specified device language is PostScript.

◆ PPDS

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::PPDS
static

Specified device language is PPDS.

◆ RPDL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::RPDL
static

Specified device language is RPDL.

◆ RTL

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::RTL
static

Specified device language is RTL.

◆ XPS

System::SharedPtr<JobDeviceLanguage::JobDeviceLanguageOption> Aspose::Page::XPS::XpsMetadata::JobDeviceLanguage::JobDeviceLanguageOption::XPS
static

Specifies device language is XPS.