Aspose::Pub::ParagraphStyle Class Reference

This class describes style of PUB paragraph More...

Inherits Aspose::Pub::BaseStyle.

Public Member Functions

ASPOSE_PUB_SHARED_API AlignmentType get_Align () const
 Alignment type More...
 
ASPOSE_PUB_SHARED_API int32_t get_DefaultStyleIndex () const
 Index of default text style in Document.DefaultTextStyles array More...
 
ASPOSE_PUB_SHARED_API double get_LineSpacingValue () const
 Value of line spacing More...
 
ASPOSE_PUB_SHARED_API Aspose::Pub::LineSpacingType get_LineSpacingType () const
 Type of line spacing More...
 
ASPOSE_PUB_SHARED_API int32_t get_TopIndent () const
 Top indent value More...
 
ASPOSE_PUB_SHARED_API int32_t get_BottomIndent () const
 Bottom indent More...
 
ASPOSE_PUB_SHARED_API int32_t get_FirstLineIndent () const
 First line indent More...
 
ASPOSE_PUB_SHARED_API int32_t get_LeftIndent () const
 Left indent More...
 
ASPOSE_PUB_SHARED_API int32_t get_RightIndent () const
 Right indent More...
 
ASPOSE_PUB_SHARED_API bool get_IsList () const
 Is list paragraph More...
 
ASPOSE_PUB_SHARED_API bool get_IsOrderedList () const
 Is paragraph ordered list More...
 
ASPOSE_PUB_SHARED_API char16_t get_UnorderedListChar () const
 Character for unordered list in paragraph, if paragraph is an unordered list More...
 
ASPOSE_PUB_SHARED_API ParagraphStyle ()
 Constructor More...
 
ASPOSE_PUB_SHARED_API void SetAlignmentType (AlignmentType value)
 Sets alignment type More...
 
ASPOSE_PUB_SHARED_API void SetDefaultStyleIndex (int32_t value)
 Sets index for default text style in Document.DefaultTextStyles array More...
 
ASPOSE_PUB_SHARED_API void SetLineSpacingValue (double value)
 Sets value of line spacing More...
 
ASPOSE_PUB_SHARED_API void SetLineSpacingType (Aspose::Pub::LineSpacingType value)
 Sets type of line spacing More...
 
ASPOSE_PUB_SHARED_API void SetTopIndent (int32_t value)
 Sets top indent More...
 
ASPOSE_PUB_SHARED_API void SetBottomIndent (int32_t value)
 Sets bottom indent More...
 
ASPOSE_PUB_SHARED_API void SetFirstLineIndent (int32_t value)
 Sets first line indent More...
 
ASPOSE_PUB_SHARED_API void SetLeftIndent (int32_t value)
 Sets left indent More...
 
ASPOSE_PUB_SHARED_API void SetRightIndent (int32_t value)
 Sets right indent More...
 
ASPOSE_PUB_SHARED_API void SetIsList (bool value)
 Sets is paragraph list More...
 
ASPOSE_PUB_SHARED_API void SetIsOrderedList (bool value)
 Sets whether paragraph is ordered list More...
 
ASPOSE_PUB_SHARED_API void SetUnorderedListChar (char16_t value)
 Sets character for unordered list in paragraph More...
 
- Public Member Functions inherited from Aspose::Pub::BaseStyle
ASPOSE_PUB_SHARED_API bool get_IsEmpty ()
 Is style not initialized More...
 
ASPOSE_PUB_SHARED_API BaseStyle ()
 
- Public Member Functions inherited from System::Object
ASPOSECPP_SHARED_API Object ()
 Creates object. Initializes all internal data structures. More...
 
virtual ASPOSECPP_SHARED_API ~Object ()
 Destroys object. Frees all internal data structures. More...
 
ASPOSECPP_SHARED_API 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 reference counter. More...
 
ASPOSECPP_SHARED_API void Lock ()
 Implements C# lock() statement locking. Call directly or use LockContext sentry object. More...
 
ASPOSECPP_SHARED_API void Unlock ()
 Implements C# lock() statement unlocking. Call directly or use LockContext sentry object. More...
 
virtual ASPOSECPP_SHARED_API bool Equals (ptr obj)
 Compares objects using C# Object.Equals semantics. More...
 
virtual ASPOSECPP_SHARED_API int32_t GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () const
 Analog of C# Object.ToString() method. Enables converting custom objects to string. More...
 
virtual ASPOSECPP_SHARED_API ptr MemberwiseClone () const
 Analog of C# Object.MemberwiseClone() method. Enables cloning custom types. More...
 
virtual ASPOSECPP_SHARED_API const TypeInfoGetType () const
 Gets actual type of object. Analog of C# System.Object.GetType() call. More...
 
virtual ASPOSECPP_SHARED_API bool Is (const TypeInfo &targetType) const
 Check if object represents an instance of type described by targetType. Analog of C# 'is' operator. More...
 
virtual ASPOSECPP_SHARED_API void SetTemplateWeakPtr (uint32_t argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
virtual ASPOSECPP_SHARED_API bool FastCast (const Details::FastRttiBase &helper, void **out_ptr) const
 For internal purposes only. More...
 
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. More...
 
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. More...
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 Specialization of Object::ReferenceEquals for case of string and nullptr. More...
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 Specialization of Object::ReferenceEquals for case of strings. More...
 

Protected Member Functions

ASPOSE_PUB_SHARED_API System::String GetNamesOfAllProcessedIdentifiers () override
 Gets names of all identifiers processed More...
 
- Protected Member Functions inherited from Aspose::Pub::BaseStyle
System::ArrayPtr< int32_t > get_IdentifiersSetted ()
 
System::String get_PropertiesSetted ()
 
void AddIdentifierProcessed (int32_t id)
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. 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 ()
 Implements C# typeof(System.Object) construct. More...
 
- Protected Attributes inherited from Aspose::Pub::BaseStyle
System::SharedPtr< System::Collections::Generic::List< int32_t > > _processedIds
 Identifiers processed More...
 

Detailed Description

This class describes style of PUB paragraph

Constructor & Destructor Documentation

◆ ParagraphStyle()

ASPOSE_PUB_SHARED_API Aspose::Pub::ParagraphStyle::ParagraphStyle ( )

Constructor

Member Function Documentation

◆ get_Align()

ASPOSE_PUB_SHARED_API AlignmentType Aspose::Pub::ParagraphStyle::get_Align ( ) const

Alignment type

◆ get_BottomIndent()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_BottomIndent ( ) const

Bottom indent

◆ get_DefaultStyleIndex()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_DefaultStyleIndex ( ) const

Index of default text style in Document.DefaultTextStyles array

◆ get_FirstLineIndent()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_FirstLineIndent ( ) const

First line indent

◆ get_IsList()

ASPOSE_PUB_SHARED_API bool Aspose::Pub::ParagraphStyle::get_IsList ( ) const

Is list paragraph

◆ get_IsOrderedList()

ASPOSE_PUB_SHARED_API bool Aspose::Pub::ParagraphStyle::get_IsOrderedList ( ) const

Is paragraph ordered list

◆ get_LeftIndent()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_LeftIndent ( ) const

Left indent

◆ get_LineSpacingType()

ASPOSE_PUB_SHARED_API Aspose::Pub::LineSpacingType Aspose::Pub::ParagraphStyle::get_LineSpacingType ( ) const

Type of line spacing

◆ get_LineSpacingValue()

ASPOSE_PUB_SHARED_API double Aspose::Pub::ParagraphStyle::get_LineSpacingValue ( ) const

Value of line spacing

◆ get_RightIndent()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_RightIndent ( ) const

Right indent

◆ get_TopIndent()

ASPOSE_PUB_SHARED_API int32_t Aspose::Pub::ParagraphStyle::get_TopIndent ( ) const

Top indent value

◆ get_UnorderedListChar()

ASPOSE_PUB_SHARED_API char16_t Aspose::Pub::ParagraphStyle::get_UnorderedListChar ( ) const

Character for unordered list in paragraph, if paragraph is an unordered list

◆ GetNamesOfAllProcessedIdentifiers()

ASPOSE_PUB_SHARED_API System::String Aspose::Pub::ParagraphStyle::GetNamesOfAllProcessedIdentifiers ( )
overrideprotectedvirtual

Gets names of all identifiers processed

Returns
Names of identifiers

Implements Aspose::Pub::BaseStyle.

◆ SetAlignmentType()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetAlignmentType ( AlignmentType  value)

Sets alignment type

Parameters
valuealignment type

◆ SetBottomIndent()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetBottomIndent ( int32_t  value)

Sets bottom indent

Parameters
valueBottom indent value

◆ SetDefaultStyleIndex()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetDefaultStyleIndex ( int32_t  value)

Sets index for default text style in Document.DefaultTextStyles array

Parameters
valuedefault style index

◆ SetFirstLineIndent()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetFirstLineIndent ( int32_t  value)

Sets first line indent

Parameters
valueFirst line indent value

◆ SetIsList()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetIsList ( bool  value)

Sets is paragraph list

Parameters
valueIs list value

◆ SetIsOrderedList()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetIsOrderedList ( bool  value)

Sets whether paragraph is ordered list

Parameters
valueIs ordered list value

◆ SetLeftIndent()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetLeftIndent ( int32_t  value)

Sets left indent

Parameters
valueLefdt indent value

◆ SetLineSpacingType()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetLineSpacingType ( Aspose::Pub::LineSpacingType  value)

Sets type of line spacing

Parameters
valueValue of line spacing type

◆ SetLineSpacingValue()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetLineSpacingValue ( double  value)

Sets value of line spacing

Parameters
valueValue of line spacing

◆ SetRightIndent()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetRightIndent ( int32_t  value)

Sets right indent

Parameters
valueRight indent value

◆ SetTopIndent()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetTopIndent ( int32_t  value)

Sets top indent

Parameters
valueTop indent value

◆ SetUnorderedListChar()

ASPOSE_PUB_SHARED_API void Aspose::Pub::ParagraphStyle::SetUnorderedListChar ( char16_t  value)

Sets character for unordered list in paragraph

Parameters
valueUnordered list char value