Represents a single custom tab stop. The TabStop object is a member of the TabStopCollection collection.
Normally, a tab stop specifies a position where a tab stop exists. But because tab stops can be inherited from parent styles, it might be needed for the child object to define explicitly that there is no tab stop at a given position. To clear an inherited tab stop at a given position, create a TabStop object and set Alignment to TabAlignment.Clear.
For more information see TabStopCollection.
Shows how to modify the position of the right tab stop in TOC related paragraphs.
#include <Aspose.Words.Cpp/TabStop.h>
Inheritance diagram for Aspose::Words::TabStop:Public Member Functions | |
| TabStop (double position) | |
| Initializes a new instance of this class. More... | |
| TabStop (double position, TabAlignment alignment, TabLeader leader) | |
| Initializes a new instance of this class. More... | |
| bool | Equals (SharedPtr< TabStop > rhs) |
| Compares with the specified TabStop. More... | |
| TabAlignment | get_Alignment () const |
| Gets or sets the alignment of text at this tab stop. More... | |
| bool | get_IsClear () |
| Returns true if this tab stop clears any existing tab stops in this position. More... | |
| TabLeader | get_Leader () const |
| Gets or sets the type of the leader line displayed under the tab character. More... | |
| double | get_Position () |
| Gets the position of the tab stop in points. More... | |
| int32_t | GetHashCode () const override |
| Calculates hash code for this object. More... | |
| virtual const TypeInfo & | GetType () const override |
| virtual bool | Is (const TypeInfo &target) const override |
| void | set_Alignment (TabAlignment value) |
| Setter for get_Alignment. More... | |
| void | set_Leader (TabLeader value) |
| Setter for get_Leader. More... | |
Static Public Member Functions | |
| static const TypeInfo & | Type () |
| Aspose::Words::TabStop::TabStop | ( | double | position | ) |
Initializes a new instance of this class.
Shows how to work with a document's collection of tab stops.
| Aspose::Words::TabStop::TabStop | ( | double | position, |
| Aspose::Words::TabAlignment | alignment, | ||
| Aspose::Words::TabLeader | leader | ||
| ) |
Initializes a new instance of this class.
| position | The position of the tab stop in points. |
| alignment | A TabAlignment value that specifies the alignment of text at this tab stop. |
| leader | A TabLeader value that specifies the type of the leader line displayed under the tab character. |
Shows how to work with a document's collection of tab stops.
| bool Aspose::Words::TabStop::Equals | ( | System::SharedPtr< Aspose::Words::TabStop > | rhs | ) |
Compares with the specified TabStop.
Shows how to work with a document's collection of tab stops.
| Aspose::Words::TabAlignment Aspose::Words::TabStop::get_Alignment | ( | ) | const |
Gets or sets the alignment of text at this tab stop.
Shows how to modify the position of the right tab stop in TOC related paragraphs.
| bool Aspose::Words::TabStop::get_IsClear | ( | ) |
Returns true if this tab stop clears any existing tab stops in this position.
Shows how to work with a document's collection of tab stops.
| Aspose::Words::TabLeader Aspose::Words::TabStop::get_Leader | ( | ) | const |
Gets or sets the type of the leader line displayed under the tab character.
Shows how to modify the position of the right tab stop in TOC related paragraphs.
| double Aspose::Words::TabStop::get_Position | ( | ) |
Gets the position of the tab stop in points.
Shows how to modify the position of the right tab stop in TOC related paragraphs.
|
overridevirtual |
Calculates hash code for this object.
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
| void Aspose::Words::TabStop::set_Alignment | ( | Aspose::Words::TabAlignment | value | ) |
Setter for Aspose::Words::TabStop::get_Alignment.
| void Aspose::Words::TabStop::set_Leader | ( | Aspose::Words::TabLeader | value | ) |
Setter for Aspose::Words::TabStop::get_Leader.
|
static |