Aspose::Words::CleanupOptions Class Reference

Detailed Description

Allows to specify options for document cleaning.

#include <Aspose.Words.Cpp/Model/Document/CleanupOptions.h>

+ Inheritance diagram for Aspose::Words::CleanupOptions:

Public Member Functions

 CleanupOptions ()
 
bool get_DuplicateStyle () const
 Gets/sets a flag indicating whether duplicate styles should be removed from document. Default value is false. More...
 
bool get_UnusedLists () const
 Specifies whether unused list and list definitions should be removed from document. Default value is true. More...
 
bool get_UnusedStyles () const
 Specifies whether unused styles should be removed from document. Default value is true. More...
 
void set_DuplicateStyle (bool value)
 Setter for get_DuplicateStyle. More...
 
void set_UnusedLists (bool value)
 Setter for get_UnusedLists. More...
 
void set_UnusedStyles (bool value)
 Setter for get_UnusedStyles. More...
 
- Public Member Functions inherited from Object
ASPOSECPP_SHARED_API Object ()
 
ASPOSECPP_SHARED_API Object (Object const &x)
 
virtual ASPOSECPP_SHARED_API ~Object ()
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 
Detail::SmartPtrCounter * GetCounter ()
 
virtual ASPOSECPP_SHARED_API int GetHashCode () const
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 
ASPOSECPP_SHARED_API void Lock ()
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 
Objectoperator= (Object const &x)
 
bool ReferenceEquals (String const &str, std::nullptr_t)
 
bool ReferenceEquals (String const &str1, String const &str2)
 
int RemovedSharedRefs (int count)
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (unsigned int argument)
 
int SharedCount () const
 
ObjectSharedRefAdded ()
 
int SharedRefRemovedSafe ()
 
virtual ASPOSECPP_SHARED_API String ToString () const
 
ASPOSECPP_SHARED_API void Unlock ()
 
Detail::SmartPtrCounter * WeakRefAdded ()
 
void WeakRefRemoved ()
 

Additional Inherited Members

- Public Types inherited from Object
typedef SmartPtr< Objectptr
 
typedef System::Details::SharedMembersType shared_members_type
 
- Static Public Member Functions inherited from Object
bool Equals (double const &objA, double const &objB)
 
bool Equals (float const &objA, float const &objB)
 
static std::enable_if<!IsSmartPtr< T1 >::value &&!IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static std::enable_if< IsSmartPtr< T1 >::value &&IsSmartPtr< T2 >::value, bool >::type Equals (T1 const &objA, T2 const &objB)
 
static bool ReferenceEquals (ptr const &objA, ptr const &objB)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, std::nullptr_t)
 
static std::enable_if<!IsSmartPtr< T >::value, bool >::type ReferenceEquals (T const &objA, T const &objB)
 
static const TypeInfoType ()
 

Constructor & Destructor Documentation

◆ CleanupOptions()

Aspose::Words::CleanupOptions::CleanupOptions ( )

Member Function Documentation

◆ get_DuplicateStyle()

bool Aspose::Words::CleanupOptions::get_DuplicateStyle ( ) const

Gets/sets a flag indicating whether duplicate styles should be removed from document. Default value is false.

◆ get_UnusedLists()

bool Aspose::Words::CleanupOptions::get_UnusedLists ( ) const

Specifies whether unused list and list definitions should be removed from document. Default value is true.

◆ get_UnusedStyles()

bool Aspose::Words::CleanupOptions::get_UnusedStyles ( ) const

Specifies whether unused styles should be removed from document. Default value is true.

◆ set_DuplicateStyle()

void Aspose::Words::CleanupOptions::set_DuplicateStyle ( bool  value)

◆ set_UnusedLists()

void Aspose::Words::CleanupOptions::set_UnusedLists ( bool  value)

◆ set_UnusedStyles()

void Aspose::Words::CleanupOptions::set_UnusedStyles ( bool  value)