IDocumentProperties

IDocumentProperties class

Represents properties of a presentation.

class IDocumentProperties : public virtual System::Object

Methods

MethodDescription
virtual void ClearBuiltInProperties()Clears and sets default values for all builtIn properties.
virtual void ClearCustomProperties()Removes all custom properties.
virtual bool ContainsCustomProperty(System::String)Check presents of a custom property with a specified name.
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)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.
static bool Equals(double const&, double const&)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.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
virtual System::String get_ApplicationTemplate()Returns the template of a application. Read System::String.
virtual System::String get_AppVersion()Returns the app version. Read-only System::String.
virtual System::String get_Author()Returns the author of a presentation. Read System::String.
virtual System::String get_Category()Returns the category of a presentation. Read System::String.
virtual System::String get_Comments()Returns the comments of a presentation. Read System::String.
virtual System::String get_Company()Returns the company property. Read System::String.
virtual System::String get_ContentStatus()Returns the content status of a presentation. Read System::String.
virtual System::String get_ContentType()Returns the content type of a presentation. Read System::String.
virtual int32_t get_CountOfCustomProperties()Returns the number of custom properties actually contained in a collection. Read-only int32_t.
virtual System::DateTime get_CreatedTime()Returns the date a presentation was created. Values are in UTC. Read System::DateTime.
virtual System::String get_HyperlinkBase()Returns the HyperlinkBase document property. Read System::String.
virtual System::String get_Keywords()Returns the keywords of a presentation. Read System::String.
virtual System::DateTime get_LastPrinted()Returns the date when a presentation was printed last time. Read System::DateTime.
virtual System::String get_LastSavedBy()Returns the name of a last person who modified a presentation. Read System::String.
virtual System::DateTime get_LastSavedTime()Returns the date a presentation was last modified. Values are in UTC.P Read-only in case of Presentation.DocumentProperties (because it will be updated internally while IPresentation object saving process). Can be changed via DocumentProperties instance returning by method IPresentationInfo::ReadDocumentProperties Please see the example in IPresentationInfo::UpdateDocumentProperties method summary.
virtual System::String get_Manager()Returns the manager property. Read System::String.
virtual System::String get_NameOfApplication()Returns the name of the application. Read System::String.
virtual System::String get_PresentationFormat()Returns the intended format of a presentation. Read System::String.
virtual int32_t get_RevisionNumber()Returns the presentation revision number. Read int32_t.
virtual bool get_SharedDoc()Determines whether the presentation is shared between multiple people. Read bool.
virtual System::String get_Subject()Returns the subject of a presentation. Read System::String.
virtual System::String get_Title()Returns the title of a presentation. Read System::String.
virtual System::TimeSpan get_TotalEditingTime()Total editing time of a presentation. Read System::TimeSpan.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
virtual System::String GetCustomPropertyName(int32_t)Return a custom property name at the specified index.
virtual void GetCustomPropertyValue(System::String, bool&)Gets a named boolean value from the custom properties.
virtual void GetCustomPropertyValue(System::String, int32_t&)Gets a named integer value from the custom properties.
virtual void GetCustomPropertyValue(System::String, System::DateTime&)Gets a named DateTime value from the custom properties.
virtual void GetCustomPropertyValue(System::String, System::String&)Gets a named string value from the custom properties.
virtual void GetCustomPropertyValue(System::String, float&)Gets a named float value from the custom properties.
virtual void GetCustomPropertyValue(System::String, double&)Gets a named double value from the custom properties.
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
virtual System::SharedPtr<System::Object> idx_get(System::String)Returns the custom property associated with a specified name. Read System::Object.
virtual void idx_set(System::String, System::SharedPtr<System::Object>)Sets the custom property associated with a specified name. Write System::Object.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
virtual bool RemoveCustomProperty(System::String)Remove a custom property associated with a specified name.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
virtual void set_ApplicationTemplate(System::String)Sets the template of a application. Write System::String.
virtual void set_Author(System::String)Sets the author of a presentation. Write System::String.
virtual void set_Category(System::String)Sets the category of a presentation. Write System::String.
virtual void set_Comments(System::String)Sets the comments of a presentation. Write System::String.
virtual void set_Company(System::String)Sets the company property. Write System::String.
virtual void set_ContentStatus(System::String)Sets the content status of a presentation. Write System::String.
virtual void set_ContentType(System::String)Sets the content type of a presentation. Write System::String.
virtual void set_CreatedTime(System::DateTime)Returns the date a presentation was created. Values are in UTC. Write System::DateTime.
virtual void set_HyperlinkBase(System::String)Sets the HyperlinkBase document property. Write System::String.
virtual void set_Keywords(System::String)Sets the keywords of a presentation. Write System::String.
virtual void set_LastPrinted(System::DateTime)Returns the date when a presentation was printed last time. Write System::DateTime.
virtual void set_LastSavedBy(System::String)Sets the name of a last person who modified a presentation. Write System::String.
virtual void set_LastSavedTime(System::DateTime)Returns the date a presentation was last modified. Values are in UTC.P Read-only in case of Presentation.DocumentProperties (because it will be updated internally while IPresentation object saving process). Can be changed via DocumentProperties instance returning by method IPresentationInfo::ReadDocumentProperties Please see the example in IPresentationInfo::UpdateDocumentProperties method summary.
virtual void set_Manager(System::String)Sets the manager property. Write System::String.
virtual void set_NameOfApplication(System::String)Sets the name of the application. Write System::String.
virtual void set_PresentationFormat(System::String)Sets the intended format of a presentation. Write System::String.
virtual void set_RevisionNumber(int32_t)Sets the presentation revision number. Write int32_t.
virtual void set_SharedDoc(bool)Determines whether the presentation is shared between multiple people. Write bool.
virtual void set_Subject(System::String)Sets the subject of a presentation. Write System::String.
virtual void set_Title(System::String)Sets the title of a presentation. Write System::String.
virtual void set_TotalEditingTime(System::TimeSpan)Total editing time of a presentation. Write System::TimeSpan.
virtual void SetCustomPropertyValue(System::String, bool)Sets a named boolean custom property.
virtual void SetCustomPropertyValue(System::String, int32_t)Sets a named integer custom property.
virtual void SetCustomPropertyValue(System::String, System::DateTime)Sets a named DateTime custom property.
virtual void SetCustomPropertyValue(System::String, System::String)Sets a named string custom property.
virtual void SetCustomPropertyValue(System::String, float)Sets a named float custom property.
virtual void SetCustomPropertyValue(System::String, double)Sets a named double custom property.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()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.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
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.
virtual ~Object()Destroys object. Frees all internal data structures.

See Also