Represents a table that can be added to the page. More...

Inherits Aspose::Pdf::BaseParagraph.

Public Member Functions

System::SharedPtr< Colorget_BackgroundColor ()
 Gets table background color More...
 
void set_BackgroundColor (System::SharedPtr< Color > value)
 Sets table background color More...
 
System::SharedPtr< Text::TextFragmentget_BreakText ()
 Gets break text for table More...
 
void set_BreakText (System::SharedPtr< Text::TextFragment > value)
 Sets break text for table More...
 
BorderCornerStyle get_CornerStyle ()
 Gets the styles of the border corners More...
 
void set_CornerStyle (BorderCornerStyle value)
 Sets the styles of the border corners More...
 
System::SharedPtr< Text::TextStateget_RepeatingRowsStyle ()
 Gets the style for repeating rows More...
 
void set_RepeatingRowsStyle (System::SharedPtr< Text::TextState > value)
 Gets the style for repeating rows More...
 
int32_t get_RepeatingColumnsCount ()
 Gets the maximum columns count for table More...
 
void set_RepeatingColumnsCount (int32_t value)
 Sets the maximum columns count for table More...
 
int32_t get_RepeatingRowsCount ()
 Gets the first rows count repeated for several pages More...
 
void set_RepeatingRowsCount (int32_t value)
 Gets the first rows count repeated for several pages More...
 
System::String get_ColumnWidths ()
 Gets the column widths of the table. More...
 
void set_ColumnWidths (System::String value)
 Gets the column widths of the table. More...
 
TableBroken get_Broken ()
 Gets table vertial broken; More...
 
void set_Broken (TableBroken value)
 Sets table vertial broken; More...
 
System::SharedPtr< BorderInfoget_DefaultCellBorder ()
 Gets default cell border; More...
 
void set_DefaultCellBorder (System::SharedPtr< BorderInfo > value)
 Gets default cell border; More...
 
System::String get_DefaultColumnWidth ()
 Gets default cell border; More...
 
void set_DefaultColumnWidth (System::String value)
 Gets default cell border; More...
 
System::SharedPtr< Aspose::Pdf::Rowsget_Rows ()
 Gets the rows of the table. More...
 
System::SharedPtr< BorderInfoget_Border ()
 Gets the border. More...
 
void set_Border (System::SharedPtr< BorderInfo > value)
 Sets the border. More...
 
System::SharedPtr< MarginInfoget_DefaultCellPadding ()
 Gets the default cell padding. More...
 
void set_DefaultCellPadding (System::SharedPtr< MarginInfo > value)
 Sets the default cell padding. More...
 
System::SharedPtr< Text::TextStateget_DefaultCellTextState ()
 Gets the default cell text state. More...
 
void set_DefaultCellTextState (System::SharedPtr< Text::TextState > value)
 Sets the default cell text state. More...
 
Aspose::Pdf::HorizontalAlignment get_Alignment ()
 Gets the table alignment. More...
 
void set_Alignment (Aspose::Pdf::HorizontalAlignment value)
 Sets the table alignment. More...
 
float get_Left ()
 Gets the table left coordinate. More...
 
void set_Left (float value)
 Sets the table left coordinate. More...
 
float get_Top ()
 Gets the table top coordinate. More...
 
void set_Top (float value)
 Sets the table top coordinate. More...
 
bool get_IsBroken ()
 Gets the table is broken - will be truncated for next page. More...
 
void set_IsBroken (bool value)
 Sets the table is broken - will be truncated for next page. More...
 
bool get_IsBordersIncluded ()
 Gets border included in column widhts. More...
 
void set_IsBordersIncluded (bool value)
 Sets border included in column widhts. More...
 
Aspose::Pdf::ColumnAdjustment get_ColumnAdjustment ()
 Gets the table column adjustment. More...
 
void set_ColumnAdjustment (Aspose::Pdf::ColumnAdjustment value)
 Sets the table column adjustment. More...
 
double GetWidth ()
 Get width. More...
 
double GetHeight ()
 Get height. More...
 
void SetColumnTextState (int32_t colNumber, System::SharedPtr< Text::TextState > textState)
 Set height. More...
 
virtual System::SharedPtr< System::ObjectClone ()
 Clone the table. More...
 
 Table ()
 
- Public Member Functions inherited from Aspose::Pdf::BaseParagraph
virtual Aspose::Pdf::VerticalAlignment get_VerticalAlignment ()
 Gets a vertical alignment of paragraph More...
 
virtual void set_VerticalAlignment (Aspose::Pdf::VerticalAlignment value)
 Sets a vertical alignment of paragraph More...
 
virtual Aspose::Pdf::HorizontalAlignment get_HorizontalAlignment ()
 Gets a horizontal alignment of paragraph More...
 
virtual void set_HorizontalAlignment (Aspose::Pdf::HorizontalAlignment value)
 Sets a horizontal alignment of paragraph More...
 
System::SharedPtr< MarginInfoget_Margin ()
 Gets a outer margin for paragraph (for pdf generation) More...
 
void set_Margin (System::SharedPtr< MarginInfo > value)
 Sets a outer margin for paragraph (for pdf generation) More...
 
bool get_IsFirstParagraphInColumn ()
 Gets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) More...
 
void set_IsFirstParagraphInColumn (bool value)
 Sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) More...
 
bool get_IsKeptWithNext ()
 Gets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) More...
 
void set_IsKeptWithNext (bool value)
 Sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation) More...
 
bool get_IsInNewPage ()
 Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
void set_IsInNewPage (bool value)
 Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
bool get_IsInLineParagraph ()
 Gets a paragraph is inline. Default is false.(for pdf generation) More...
 
void set_IsInLineParagraph (bool value)
 Sets a paragraph is inline. Default is false.(for pdf generation) More...
 
virtual System::SharedPtr< Aspose::Pdf::Hyperlinkget_Hyperlink ()
 Gets the fragment hyperlink(for pdf generator). More...
 
virtual void set_Hyperlink (System::SharedPtr< Aspose::Pdf::Hyperlink > value)
 Sets the fragment hyperlink(for pdf generator). More...
 
int32_t get_ZIndex ()
 Gets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. More...
 
void set_ZIndex (int32_t value)
 Sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page. More...
 
 BaseParagraph ()
 
- 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 refernce 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 int GetHashCode () const
 Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. More...
 
virtual ASPOSECPP_SHARED_API String ToString () ASPOSE_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 (unsigned int argument)
 Set n'th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode. More...
 
template<>
bool Equals (float const &objA, float const &objB)
 
template<>
bool Equals (double const &objA, double const &objB)
 
template<>
bool ReferenceEquals (String const &str, std::nullptr_t)
 
template<>
bool ReferenceEquals (String const &str1, String const &str2)
 

Protected Member Functions

int32_t get_MaxCellsCount ()
 Gets max table cells count(for internal use) More...
 
int32_t get_PrintedRowsCount ()
 Gets printed rows count(for internal use) More...
 
System::ArrayPtr< double > get_InternalColumnWidths ()
 Gets the column widths of the table.(for internal use) More...
 
void set_InternalColumnWidths (System::ArrayPtr< double > value)
 Gets the column widths of the table.(for internal use) More...
 
int32_t get_ColsCount ()
 Gets columns count from colwidhts More...
 
bool get_IsProcessSpecialSymbols ()
 Gets special symbols processing like $P $p etc.. More...
 
System::ArrayPtr< System::SharedPtr< Text::TextState > > get_ColumnTextStates ()
 Gets text states for columns(for internally use). More...
 
double get_TablesTopMargin ()
 Gets top margin nested table. More...
 
System::SharedPtr< Tableget_ParentTable ()
 Gets the parent table(for internal use only). More...
 
void set_ParentTable (System::SharedPtr< Table > value)
 Sets the parent table(for internal use only). More...
 
System::String get_McName ()
 Gets McName property for marked content (TaggedPdf) More...
 
void set_McName (System::String value)
 Sets McName property for marked content (TaggedPdf) More...
 
int32_t get_McId ()
 Gets McId property for marked content (TaggedPdf) More...
 
void set_McId (int32_t value)
 Sets McId property for marked content (TaggedPdf) More...
 
double get_RepeatingRowsHeight ()
 
double GetColumnWidth (int32_t index)
 Gets the column widths of the table.(for internal use) More...
 
System::SharedPtr< System::ObjectGetObjectById (System::String id)
 Gets a object with specified ID in the document. More...
 
double GetAllBordersWidth ()
 
double GetRepeatingColumnWidth ()
 
bool Process (double &curX, double &curY, bool isCalculatedMode, double pageRealWidth, double bottomY, System::SharedPtr< Page > page, bool isProcessSpecialSymbols, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators)
 Process table. More...
 
void ApplyColumnWidth (double realWidth, System::SharedPtr< Page > page)
 Apply column width. More...
 
void ResetFormattedFragments (System::SharedPtr< Paragraphs > paragraphs)
 Reset isConverted property of formatted fragments More...
 
virtual void Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer)
 
virtual void Deserialize (System::SharedPtr< System::Xml::XmlReader > reader)
 
- Protected Member Functions inherited from Aspose::Pdf::BaseParagraph
System::String get_Id ()
 Gets a paragraph id. More...
 
void set_Id (System::String value)
 Sets a paragraph id. More...
 
System::SharedPtr< Annotations::LinkAnnotationget_ReferencedFrom ()
 Gets the fragment hyperlink(for pdf generator internal use). More...
 
void set_ReferencedFrom (System::SharedPtr< Annotations::LinkAnnotation > value)
 Sets the fragment hyperlink(for pdf generator internal use). More...
 
void ChangePosition (double &curX, double &curY, double newX, double newY, bool isNextParagraphInline)
 
void ProcessHyperlink (System::SharedPtr< Page > page, System::SharedPtr< Rectangle > rect)
 

Static Protected Member Functions

static double GetBorderHeight (System::SharedPtr< BorderInfo > border)
 Gets border height. More...
 
static double GetBorderWidth (System::SharedPtr< BorderInfo > border)
 Gets border width. More...
 
static void DrawLine (System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, System::SharedPtr< GraphInfo > info, System::SharedPtr< Point > start, System::SharedPtr< Point > end)
 Adds border into the page's content. More...
 
static void DrawRoundedRectangle (System::SharedPtr< GraphInfo > info, System::SharedPtr< Point > topLeft, System::SharedPtr< Point > rightBottom, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, double radius)
 Add operators for rectangle. More...
 
static double GetLineWidth (System::SharedPtr< GraphInfo > info)
 Returns line width. More...
 
static double GetLineSingleWidth (System::SharedPtr< GraphInfo > info)
 Returns line single width. More...
 
static void DrawDoubleBorder (System::SharedPtr< BorderInfo > border, System::SharedPtr< Point > leftTop, System::SharedPtr< Point > rightBottom, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, double left, double right, double top, double bottom)
 
static void DrawBorder (System::SharedPtr< BorderInfo > border, System::SharedPtr< Point > leftTop, System::SharedPtr< Point > rightBottom, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, BorderCornerStyle cornerStyle)
 Adds border into the page's content. More...
 
static void DrawBackground (System::SharedPtr< Point > leftTop, double width, double height, System::SharedPtr< Color > color, System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>> operators, BorderCornerType type, double radius)
 
static void ApplyBorderToCurXY (double &curX, double &curY, System::SharedPtr< BorderInfo > border, double leftRowBorderWidth)
 
static double GetColumnWidth (System::String stringColumnWidth)
 Get column width More...
 
static System::ArrayPtr< double > GetColumnWidths (System::String columnWidthString, double realWidth, bool isCutRightPageMargin)
 
- Static Protected Member Functions inherited from Aspose::Pdf::BaseParagraph
static bool get_IsZIndexSet ()
 Gets the fragment hyperlink(for pdf generator performance internal use). More...
 
static void set_IsZIndexSet (bool value)
 Sets the fragment hyperlink(for pdf generator performance internal use). More...
 

Additional Inherited Members

- Public Types inherited from System::Object
typedef SmartPtr< Objectptr
 Alias for smart pointer type. More...
 
typedef System::Details::SharedMembersType shared_members_type
 structure to keep list of shared pointers contained in object. 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 ()
 Impleemnts C# typeof(System.Object) construct. More...
 

Detailed Description

Represents a table that can be added to the page.

Constructor & Destructor Documentation

◆ Table()

Aspose::Pdf::Table::Table ( )

Member Function Documentation

◆ ApplyBorderToCurXY()

static void Aspose::Pdf::Table::ApplyBorderToCurXY ( double &  curX,
double &  curY,
System::SharedPtr< BorderInfo border,
double  leftRowBorderWidth 
)
staticprotected

◆ ApplyColumnWidth()

void Aspose::Pdf::Table::ApplyColumnWidth ( double  realWidth,
System::SharedPtr< Page page 
)
protected

Apply column width.

Parameters
realWidthThe real width.

◆ Clone()

virtual System::SharedPtr<System::Object> Aspose::Pdf::Table::Clone ( )
virtual

Clone the table.

Returns
The cloned object

Reimplemented from Aspose::Pdf::BaseParagraph.

◆ Deserialize()

virtual void Aspose::Pdf::Table::Deserialize ( System::SharedPtr< System::Xml::XmlReader reader)
protectedvirtual

Reimplemented from Aspose::Pdf::BaseParagraph.

◆ DrawBackground()

static void Aspose::Pdf::Table::DrawBackground ( System::SharedPtr< Point leftTop,
double  width,
double  height,
System::SharedPtr< Color color,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators,
BorderCornerType  type,
double  radius 
)
staticprotected

◆ DrawBorder()

static void Aspose::Pdf::Table::DrawBorder ( System::SharedPtr< BorderInfo border,
System::SharedPtr< Point leftTop,
System::SharedPtr< Point rightBottom,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators,
BorderCornerStyle  cornerStyle 
)
staticprotected

Adds border into the page's content.

Parameters
borderThe border style.
leftTopThe left top point.
rightBottomThe right bottom point.
operatorsThe operators list to be added into the page's content.
cornerStyleThe border corner style.

◆ DrawDoubleBorder()

static void Aspose::Pdf::Table::DrawDoubleBorder ( System::SharedPtr< BorderInfo border,
System::SharedPtr< Point leftTop,
System::SharedPtr< Point rightBottom,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators,
double  left,
double  right,
double  top,
double  bottom 
)
staticprotected

◆ DrawLine()

static void Aspose::Pdf::Table::DrawLine ( System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators,
System::SharedPtr< GraphInfo info,
System::SharedPtr< Point start,
System::SharedPtr< Point end 
)
staticprotected

Adds border into the page's content.

Parameters
operatorsThe operators list to be added into the page's content.
infoThe border info.
startThe start point.
endThe end point.

◆ DrawRoundedRectangle()

static void Aspose::Pdf::Table::DrawRoundedRectangle ( System::SharedPtr< GraphInfo info,
System::SharedPtr< Point topLeft,
System::SharedPtr< Point rightBottom,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators,
double  radius 
)
staticprotected

Add operators for rectangle.

Parameters
infoThe border info.
topLeftThe left top point.
rightBottomThe right bottom point.
operatorsThe operators list to be added into the page's content.
radiusThe border radius.

◆ get_Alignment()

Aspose::Pdf::HorizontalAlignment Aspose::Pdf::Table::get_Alignment ( )

Gets the table alignment.

◆ get_BackgroundColor()

System::SharedPtr<Color> Aspose::Pdf::Table::get_BackgroundColor ( )

Gets table background color

◆ get_Border()

System::SharedPtr<BorderInfo> Aspose::Pdf::Table::get_Border ( )

Gets the border.

◆ get_BreakText()

System::SharedPtr<Text::TextFragment> Aspose::Pdf::Table::get_BreakText ( )

Gets break text for table

◆ get_Broken()

TableBroken Aspose::Pdf::Table::get_Broken ( )

Gets table vertial broken;

◆ get_ColsCount()

int32_t Aspose::Pdf::Table::get_ColsCount ( )
protected

Gets columns count from colwidhts

◆ get_ColumnAdjustment()

Aspose::Pdf::ColumnAdjustment Aspose::Pdf::Table::get_ColumnAdjustment ( )

Gets the table column adjustment.

◆ get_ColumnTextStates()

System::ArrayPtr<System::SharedPtr<Text::TextState> > Aspose::Pdf::Table::get_ColumnTextStates ( )
protected

Gets text states for columns(for internally use).

◆ get_ColumnWidths()

System::String Aspose::Pdf::Table::get_ColumnWidths ( )

Gets the column widths of the table.

◆ get_CornerStyle()

BorderCornerStyle Aspose::Pdf::Table::get_CornerStyle ( )

Gets the styles of the border corners

◆ get_DefaultCellBorder()

System::SharedPtr<BorderInfo> Aspose::Pdf::Table::get_DefaultCellBorder ( )

Gets default cell border;

◆ get_DefaultCellPadding()

System::SharedPtr<MarginInfo> Aspose::Pdf::Table::get_DefaultCellPadding ( )

Gets the default cell padding.

◆ get_DefaultCellTextState()

System::SharedPtr<Text::TextState> Aspose::Pdf::Table::get_DefaultCellTextState ( )

Gets the default cell text state.

◆ get_DefaultColumnWidth()

System::String Aspose::Pdf::Table::get_DefaultColumnWidth ( )

Gets default cell border;

◆ get_InternalColumnWidths()

System::ArrayPtr<double> Aspose::Pdf::Table::get_InternalColumnWidths ( )
protected

Gets the column widths of the table.(for internal use)

◆ get_IsBordersIncluded()

bool Aspose::Pdf::Table::get_IsBordersIncluded ( )

Gets border included in column widhts.

◆ get_IsBroken()

bool Aspose::Pdf::Table::get_IsBroken ( )

Gets the table is broken - will be truncated for next page.

◆ get_IsProcessSpecialSymbols()

bool Aspose::Pdf::Table::get_IsProcessSpecialSymbols ( )
protected

Gets special symbols processing like $P $p etc..

◆ get_Left()

float Aspose::Pdf::Table::get_Left ( )

Gets the table left coordinate.

◆ get_MaxCellsCount()

int32_t Aspose::Pdf::Table::get_MaxCellsCount ( )
protected

Gets max table cells count(for internal use)

◆ get_McId()

int32_t Aspose::Pdf::Table::get_McId ( )
protected

Gets McId property for marked content (TaggedPdf)

◆ get_McName()

System::String Aspose::Pdf::Table::get_McName ( )
protected

Gets McName property for marked content (TaggedPdf)

◆ get_ParentTable()

System::SharedPtr<Table> Aspose::Pdf::Table::get_ParentTable ( )
protected

Gets the parent table(for internal use only).

◆ get_PrintedRowsCount()

int32_t Aspose::Pdf::Table::get_PrintedRowsCount ( )
protected

Gets printed rows count(for internal use)

◆ get_RepeatingColumnsCount()

int32_t Aspose::Pdf::Table::get_RepeatingColumnsCount ( )

Gets the maximum columns count for table

◆ get_RepeatingRowsCount()

int32_t Aspose::Pdf::Table::get_RepeatingRowsCount ( )

Gets the first rows count repeated for several pages

◆ get_RepeatingRowsHeight()

double Aspose::Pdf::Table::get_RepeatingRowsHeight ( )
protected

◆ get_RepeatingRowsStyle()

System::SharedPtr<Text::TextState> Aspose::Pdf::Table::get_RepeatingRowsStyle ( )

Gets the style for repeating rows

◆ get_Rows()

System::SharedPtr<Aspose::Pdf::Rows> Aspose::Pdf::Table::get_Rows ( )

Gets the rows of the table.

◆ get_TablesTopMargin()

double Aspose::Pdf::Table::get_TablesTopMargin ( )
protected

Gets top margin nested table.

◆ get_Top()

float Aspose::Pdf::Table::get_Top ( )

Gets the table top coordinate.

◆ GetAllBordersWidth()

double Aspose::Pdf::Table::GetAllBordersWidth ( )
protected

◆ GetBorderHeight()

static double Aspose::Pdf::Table::GetBorderHeight ( System::SharedPtr< BorderInfo border)
staticprotected

Gets border height.

◆ GetBorderWidth()

static double Aspose::Pdf::Table::GetBorderWidth ( System::SharedPtr< BorderInfo border)
staticprotected

Gets border width.

◆ GetColumnWidth() [1/2]

double Aspose::Pdf::Table::GetColumnWidth ( int32_t  index)
protected

Gets the column widths of the table.(for internal use)

Parameters
indexThe index of column.

◆ GetColumnWidth() [2/2]

static double Aspose::Pdf::Table::GetColumnWidth ( System::String  stringColumnWidth)
staticprotected

Get column width

Parameters
stringColumnWidthThe string representation.

◆ GetColumnWidths()

static System::ArrayPtr<double> Aspose::Pdf::Table::GetColumnWidths ( System::String  columnWidthString,
double  realWidth,
bool  isCutRightPageMargin 
)
staticprotected

◆ GetHeight()

double Aspose::Pdf::Table::GetHeight ( )

Get height.

Returns
The table height

◆ GetLineSingleWidth()

static double Aspose::Pdf::Table::GetLineSingleWidth ( System::SharedPtr< GraphInfo info)
staticprotected

Returns line single width.

Parameters
infoThe border info.

◆ GetLineWidth()

static double Aspose::Pdf::Table::GetLineWidth ( System::SharedPtr< GraphInfo info)
staticprotected

Returns line width.

Parameters
infoThe border info.

◆ GetObjectById()

System::SharedPtr<System::Object> Aspose::Pdf::Table::GetObjectById ( System::String  id)
protected

Gets a object with specified ID in the document.

Parameters
idThe object id.
Returns
The object with specified id. Null if the id is not found.

◆ GetRepeatingColumnWidth()

double Aspose::Pdf::Table::GetRepeatingColumnWidth ( )
protected

◆ GetWidth()

double Aspose::Pdf::Table::GetWidth ( )

Get width.

Returns
The table width

◆ Process()

bool Aspose::Pdf::Table::Process ( double &  curX,
double &  curY,
bool  isCalculatedMode,
double  pageRealWidth,
double  bottomY,
System::SharedPtr< Page page,
bool  isProcessSpecialSymbols,
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator >>>  operators 
)
protected

Process table.

Parameters
curXThe current X positon.
curYThe current Y positon.
isCalculatedModeThe calculation mode for nested tables.
pageRealWidthThe real page width.
bottomYThe page bottom Y coordinate.
pageThe page.
isProcessSpecialSymbolsThe condition for special symbols processing like $P $p etc.
operatorsThe operators list to be added into the page's content.

◆ ResetFormattedFragments()

void Aspose::Pdf::Table::ResetFormattedFragments ( System::SharedPtr< Paragraphs paragraphs)
protected

Reset isConverted property of formatted fragments

◆ Serialize()

virtual void Aspose::Pdf::Table::Serialize ( System::SharedPtr< System::Xml::XmlTextWriter writer)
protectedvirtual

Reimplemented from Aspose::Pdf::BaseParagraph.

◆ set_Alignment()

void Aspose::Pdf::Table::set_Alignment ( Aspose::Pdf::HorizontalAlignment  value)

Sets the table alignment.

◆ set_BackgroundColor()

void Aspose::Pdf::Table::set_BackgroundColor ( System::SharedPtr< Color value)

Sets table background color

◆ set_Border()

void Aspose::Pdf::Table::set_Border ( System::SharedPtr< BorderInfo value)

Sets the border.

◆ set_BreakText()

void Aspose::Pdf::Table::set_BreakText ( System::SharedPtr< Text::TextFragment value)

Sets break text for table

◆ set_Broken()

void Aspose::Pdf::Table::set_Broken ( TableBroken  value)

Sets table vertial broken;

◆ set_ColumnAdjustment()

void Aspose::Pdf::Table::set_ColumnAdjustment ( Aspose::Pdf::ColumnAdjustment  value)

Sets the table column adjustment.

◆ set_ColumnWidths()

void Aspose::Pdf::Table::set_ColumnWidths ( System::String  value)

Gets the column widths of the table.

◆ set_CornerStyle()

void Aspose::Pdf::Table::set_CornerStyle ( BorderCornerStyle  value)

Sets the styles of the border corners

◆ set_DefaultCellBorder()

void Aspose::Pdf::Table::set_DefaultCellBorder ( System::SharedPtr< BorderInfo value)

Gets default cell border;

◆ set_DefaultCellPadding()

void Aspose::Pdf::Table::set_DefaultCellPadding ( System::SharedPtr< MarginInfo value)

Sets the default cell padding.

◆ set_DefaultCellTextState()

void Aspose::Pdf::Table::set_DefaultCellTextState ( System::SharedPtr< Text::TextState value)

Sets the default cell text state.

◆ set_DefaultColumnWidth()

void Aspose::Pdf::Table::set_DefaultColumnWidth ( System::String  value)

Gets default cell border;

◆ set_InternalColumnWidths()

void Aspose::Pdf::Table::set_InternalColumnWidths ( System::ArrayPtr< double >  value)
protected

Gets the column widths of the table.(for internal use)

◆ set_IsBordersIncluded()

void Aspose::Pdf::Table::set_IsBordersIncluded ( bool  value)

Sets border included in column widhts.

◆ set_IsBroken()

void Aspose::Pdf::Table::set_IsBroken ( bool  value)

Sets the table is broken - will be truncated for next page.

◆ set_Left()

void Aspose::Pdf::Table::set_Left ( float  value)

Sets the table left coordinate.

◆ set_McId()

void Aspose::Pdf::Table::set_McId ( int32_t  value)
protected

Sets McId property for marked content (TaggedPdf)

◆ set_McName()

void Aspose::Pdf::Table::set_McName ( System::String  value)
protected

Sets McName property for marked content (TaggedPdf)

◆ set_ParentTable()

void Aspose::Pdf::Table::set_ParentTable ( System::SharedPtr< Table value)
protected

Sets the parent table(for internal use only).

◆ set_RepeatingColumnsCount()

void Aspose::Pdf::Table::set_RepeatingColumnsCount ( int32_t  value)

Sets the maximum columns count for table

◆ set_RepeatingRowsCount()

void Aspose::Pdf::Table::set_RepeatingRowsCount ( int32_t  value)

Gets the first rows count repeated for several pages

◆ set_RepeatingRowsStyle()

void Aspose::Pdf::Table::set_RepeatingRowsStyle ( System::SharedPtr< Text::TextState value)

Gets the style for repeating rows

◆ set_Top()

void Aspose::Pdf::Table::set_Top ( float  value)

Sets the table top coordinate.

◆ SetColumnTextState()

void Aspose::Pdf::Table::SetColumnTextState ( int32_t  colNumber,
System::SharedPtr< Text::TextState textState 
)

Set height.

Parameters
colNumberThe column number.
textStateThe text state for column.