Represents a type of field. This value determines which text will be set to the field portion when it will be updated. More...

Inherits Aspose::Slides::IFieldType.

Public Member Functions

System::String get_InternalString ()
 Returns the internal name of this FieldType object. Read System::String. More...
 
void set_InternalString (System::String value)
 Returns the internal name of this FieldType object. Write System::String. More...
 
 FieldType (System::String str)
 Initializes a new instance of FieldType class. More...
 
virtual bool Equals (System::SharedPtr< System::Object > obj)
 Checks if this field is equal to another. More...
 
virtual int32_t GetHashCode () const
 Returns hashcode for this object. More...
 
- Public Member Functions inherited from System::Object
 Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ~Object ()
 Destroys object. Frees all internal data structures. More...
 
 Object (Object const &x)
 Copy constructor. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
Objectoperator= (Object const &x)
 Assignment operator. Doesn't copy anything, really, just initializes new object and enables copy constructing subclasses. More...
 
ObjectSharedRefAdded ()
 Increments shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int SharedRefRemovedSafe ()
 Decrements and returns shared reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
int RemovedSharedRefs (int count)
 Decreases shared reference count by specified value. More...
 
Detail::SmartPtrCounter * WeakRefAdded ()
 Increments weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
void WeakRefRemoved ()
 Decrements weak reference count. Shouldn't be called directly; instead, use smart pointers or ThisProtector. More...
 
Detail::SmartPtrCounter * GetCounter ()
 Gets reference counter data structure associated with the object. More...
 
int SharedCount () const
 Gets current value of shared refernce counter. More...
 
void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual String ToString () ASPOSE_CONST
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual void SetTemplateWeakPtr (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Static Public Member Functions

static System::SharedPtr< FieldTypeget_SlideNumber ()
 Current slide's number. Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_Footer ()
 Slide's footer. Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_Header ()
 Slide's header. Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime ()
 Current date and time in default date time format for the rendering application. Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime1 ()
 Current date and time in a first predefined format (MM/DD/YYYY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime2 ()
 Current date and time in a second predefined format (Day, Month DD, YYYY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime3 ()
 Current date and time in a third predefined format (DD Month YYYY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime4 ()
 Current date and time in a fourth predefined format (Month DD, YYYY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime5 ()
 Current date and time in a fifth predefined format (DD-Mon-YY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime6 ()
 Current date and time in a sixth predefined format (Month YY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime7 ()
 Current date and time in a seventh predefined format (Mon-YY for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime8 ()
 Current date and time in a eighth predefined format (MM/DD/YYYY hh:mm AM/PM for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime9 ()
 Current date and time in a ninth predefined format (MM/DD/YYYY hh:mm:ss AM/PM for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime10 ()
 Current date and time in a tenth predefined format (hh:mm for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime11 ()
 Current date and time in a eleventh predefined format (hh:mm:ss for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime12 ()
 Current date and time in a twelfth predefined format (hh:mm AM/PM for english). Read-only FieldType. More...
 
static System::SharedPtr< FieldTypeget_DateTime13 ()
 Current date and time in a thirteenth predefined format (hh:mm:ss AM/PM for english). Read-only FieldType. More...
 
- Static Public Member Functions inherited from System::Object
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 Compares objects by reference. More...
 
template<typename T >
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 Compares objects by reference. More...
 
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. More...
 
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. More...
 
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. More...
 
static const TypeInfoType ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Static Protected Member Functions

static System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< FieldType > > > get_DateTimeFields ()
 According to [iso-29500-1] 21.1.2.2.4 fld have these values as reserved for type property to represent datetime format More...
 

Static Protected Attributes

static const System::String SlidenumFieldType
 

Friends

bool operator== (System::SharedPtr< FieldType > a, System::SharedPtr< FieldType > b)
 
bool operator!= (System::SharedPtr< FieldType > a, System::SharedPtr< FieldType > b)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. More...
 

Detailed Description

Represents a type of field. This value determines which text will be set to the field portion when it will be updated.

Constructor & Destructor Documentation

◆ FieldType()

Aspose::Slides::FieldType::FieldType ( System::String  str)

Initializes a new instance of FieldType class.

Member Function Documentation

◆ Equals()

virtual bool Aspose::Slides::FieldType::Equals ( System::SharedPtr< System::Object obj)
virtual

Checks if this field is equal to another.

Parameters
objField to compare.
Returns
True if fields are equal.

◆ get_DateTime()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime ( )
static

Current date and time in default date time format for the rendering application. Read-only FieldType.

◆ get_DateTime1()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime1 ( )
static

Current date and time in a first predefined format (MM/DD/YYYY for english). Read-only FieldType.

◆ get_DateTime10()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime10 ( )
static

Current date and time in a tenth predefined format (hh:mm for english). Read-only FieldType.

◆ get_DateTime11()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime11 ( )
static

Current date and time in a eleventh predefined format (hh:mm:ss for english). Read-only FieldType.

◆ get_DateTime12()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime12 ( )
static

Current date and time in a twelfth predefined format (hh:mm AM/PM for english). Read-only FieldType.

◆ get_DateTime13()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime13 ( )
static

Current date and time in a thirteenth predefined format (hh:mm:ss AM/PM for english). Read-only FieldType.

◆ get_DateTime2()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime2 ( )
static

Current date and time in a second predefined format (Day, Month DD, YYYY for english). Read-only FieldType.

◆ get_DateTime3()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime3 ( )
static

Current date and time in a third predefined format (DD Month YYYY for english). Read-only FieldType.

◆ get_DateTime4()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime4 ( )
static

Current date and time in a fourth predefined format (Month DD, YYYY for english). Read-only FieldType.

◆ get_DateTime5()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime5 ( )
static

Current date and time in a fifth predefined format (DD-Mon-YY for english). Read-only FieldType.

◆ get_DateTime6()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime6 ( )
static

Current date and time in a sixth predefined format (Month YY for english). Read-only FieldType.

◆ get_DateTime7()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime7 ( )
static

Current date and time in a seventh predefined format (Mon-YY for english). Read-only FieldType.

◆ get_DateTime8()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime8 ( )
static

Current date and time in a eighth predefined format (MM/DD/YYYY hh:mm AM/PM for english). Read-only FieldType.

◆ get_DateTime9()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_DateTime9 ( )
static

Current date and time in a ninth predefined format (MM/DD/YYYY hh:mm:ss AM/PM for english). Read-only FieldType.

◆ get_DateTimeFields()

static System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<FieldType> > > Aspose::Slides::FieldType::get_DateTimeFields ( )
staticprotected

According to [iso-29500-1] 21.1.2.2.4 fld have these values as reserved for type property to represent datetime format

◆ get_Footer()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_Footer ( )
static

Slide's footer. Read-only FieldType.

◆ get_Header()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_Header ( )
static

Slide's header. Read-only FieldType.

◆ get_InternalString()

System::String Aspose::Slides::FieldType::get_InternalString ( )
virtual

Returns the internal name of this FieldType object. Read System::String.

Implements Aspose::Slides::IFieldType.

◆ get_SlideNumber()

static System::SharedPtr<FieldType> Aspose::Slides::FieldType::get_SlideNumber ( )
static

Current slide's number. Read-only FieldType.

◆ GetHashCode()

virtual int32_t Aspose::Slides::FieldType::GetHashCode ( ) const
virtual

Returns hashcode for this object.

Returns
Hashcode int32_t.

Reimplemented from System::Object.

◆ set_InternalString()

void Aspose::Slides::FieldType::set_InternalString ( System::String  value)
virtual

Returns the internal name of this FieldType object. Write System::String.

Implements Aspose::Slides::IFieldType.

Friends And Related Function Documentation

◆ operator!=

bool operator!= ( System::SharedPtr< FieldType a,
System::SharedPtr< FieldType b 
)
friend

◆ operator==

bool operator== ( System::SharedPtr< FieldType a,
System::SharedPtr< FieldType b 
)
friend

Member Data Documentation

◆ SlidenumFieldType

const System::String Aspose::Slides::FieldType::SlidenumFieldType
staticprotected