com.aspose.slides
Class Field

java.lang.Object
  extended by com.aspose.slides.Field

public class Field
extends java.lang.Object

Represents a field.


Method Summary
static Field createRtfDateTimeField(java.lang.String format)
           Returns date and time field for specified format string.
 boolean equals(java.lang.Object obj)
           Determines if specified object is equal to the current field.
static Field getDateTime1()
           Returns a field which represents a current date and time in the first predefined format for the current language.
static Field getDateTime10()
           Returns a field which represents a current date and time in the tenth predefined format for the current language.
static Field getDateTime11()
           Returns a field which represents a current date and time in the eleventh predefined format for the current language.
static Field getDateTime12()
           Returns a field which represents a current date and time in the twelveth predefined format for the current language.
static Field getDateTime13()
           Returns a field which represents a current date and time in the thriteenth predefined format for the current language.
static Field getDateTime2()
           Returns a field which represents a current date and time in the second predefined format for the current language.
static Field getDateTime3()
           Returns a field which represents a current date and time in the third predefined format for the current language.
static Field getDateTime4()
           Returns a field which represents a current date and time in the fourth predefined format for the current language.
static Field getDateTime5()
           Returns a field which represents a current date and time in the fifth predefined format for the current language.
static Field getDateTime6()
           Returns a field which represents a current date and time in the sixth predefined format for the current language.
static Field getDateTime7()
           Returns a field which represents a current date and time in the seventh predefined format for the current language.
static Field getDateTime8()
           Returns a field which represents a current date and time in the eighth predefined format for the current language.
static Field getDateTime9()
           Returns a field which represents a current date and time in the ninth predefined format for the current language.
 int getDateTimeFormatIndex()
           Returns a format index for MetaCharacterType.DateTime field.
 java.lang.String getDateTimeFormatString()
           Returns a format string for MetaCharacterType.RtfFormatDateTime field.
 int getFieldType()
           Returns a type of the field.
static Field getFooter()
           Returns a field which represents a footer text.
static Field getGenericDate()
           Returns date and time field which representf fixed date and time, saved in the HeaderFooter object.
static Field getHeader()
           Returns a field which represents header text.
static Field getSlideNumber()
           Returns slide number field.
 int hashCode()
           Setver as a hash function for a Field.
static boolean op_Equality(Field a, Field b)
           Checks two fields for equality.
static boolean op_Inequality(Field a, Field b)
           Checks two fields for inequality.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSlideNumber

public static Field getSlideNumber()

Returns slide number field.


getGenericDate

public static Field getGenericDate()

Returns date and time field which representf fixed date and time, saved in the HeaderFooter object.


getHeader

public static Field getHeader()

Returns a field which represents header text.


getFooter

public static Field getFooter()

Returns a field which represents a footer text.


getDateTime1

public static Field getDateTime1()

Returns a field which represents a current date and time in the first predefined format for the current language.


getDateTime2

public static Field getDateTime2()

Returns a field which represents a current date and time in the second predefined format for the current language.


getDateTime3

public static Field getDateTime3()

Returns a field which represents a current date and time in the third predefined format for the current language.


getDateTime4

public static Field getDateTime4()

Returns a field which represents a current date and time in the fourth predefined format for the current language.


getDateTime5

public static Field getDateTime5()

Returns a field which represents a current date and time in the fifth predefined format for the current language.


getDateTime6

public static Field getDateTime6()

Returns a field which represents a current date and time in the sixth predefined format for the current language.


getDateTime7

public static Field getDateTime7()

Returns a field which represents a current date and time in the seventh predefined format for the current language.


getDateTime8

public static Field getDateTime8()

Returns a field which represents a current date and time in the eighth predefined format for the current language.


getDateTime9

public static Field getDateTime9()

Returns a field which represents a current date and time in the ninth predefined format for the current language.


getDateTime10

public static Field getDateTime10()

Returns a field which represents a current date and time in the tenth predefined format for the current language.


getDateTime11

public static Field getDateTime11()

Returns a field which represents a current date and time in the eleventh predefined format for the current language.


getDateTime12

public static Field getDateTime12()

Returns a field which represents a current date and time in the twelveth predefined format for the current language.


getDateTime13

public static Field getDateTime13()

Returns a field which represents a current date and time in the thriteenth predefined format for the current language.


createRtfDateTimeField

public static Field createRtfDateTimeField(java.lang.String format)

Returns date and time field for specified format string.

Parameters:
format - format string

getFieldType

public int getFieldType()

Returns a type of the field. Readonly MetaCharacterType.


getDateTimeFormatIndex

public int getDateTimeFormatIndex()

Returns a format index for MetaCharacterType.DateTime field.


getDateTimeFormatString

public java.lang.String getDateTimeFormatString()

Returns a format string for MetaCharacterType.RtfFormatDateTime field.


equals

public boolean equals(java.lang.Object obj)

Determines if specified object is equal to the current field.

Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()

Setver as a hash function for a Field.

Overrides:
hashCode in class java.lang.Object

op_Equality

public static boolean op_Equality(Field a,
                                  Field b)

Checks two fields for equality.


op_Inequality

public static boolean op_Inequality(Field a,
                                    Field b)

Checks two fields for inequality.