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

#include "Table.h"

Inherits Aspose::Pdf::BaseParagraph.

Public Member Functions

ASPOSE_PDF_SHARED_API const System::SharedPtr< Color > & get_BackgroundColor () const
 Gets table background color More...
 
ASPOSE_PDF_SHARED_API void set_BackgroundColor (System::SharedPtr< Color > value)
 Sets table background color More...
 
ASPOSE_PDF_SHARED_API const System::SharedPtr< Text::TextFragment > & get_BreakText () const
 Gets break text for table More...
 
ASPOSE_PDF_SHARED_API void set_BreakText (System::SharedPtr< Text::TextFragment > value)
 Sets break text for table More...
 
ASPOSE_PDF_SHARED_API BorderCornerStyle get_CornerStyle () const
 Gets the styles of the border corners More...
 
ASPOSE_PDF_SHARED_API void set_CornerStyle (BorderCornerStyle value)
 Sets the styles of the border corners More...
 
ASPOSE_PDF_SHARED_API const System::SharedPtr< Text::TextState > & get_RepeatingRowsStyle () const
 Gets the style for repeating rows More...
 
ASPOSE_PDF_SHARED_API void set_RepeatingRowsStyle (System::SharedPtr< Text::TextState > value)
 Gets the style for repeating rows More...
 
ASPOSE_PDF_SHARED_API int32_t get_RepeatingColumnsCount () const
 Gets the maximum columns count for table More...
 
ASPOSE_PDF_SHARED_API void set_RepeatingColumnsCount (int32_t value)
 Sets the maximum columns count for table More...
 
ASPOSE_PDF_SHARED_API int32_t get_RepeatingRowsCount () const
 Gets the first rows count repeated for several pages More...
 
ASPOSE_PDF_SHARED_API void set_RepeatingRowsCount (int32_t value)
 Gets the first rows count repeated for several pages More...
 
ASPOSE_PDF_SHARED_API System::String get_ColumnWidths () const
 Gets the column widths of the table. More...
 
ASPOSE_PDF_SHARED_API void set_ColumnWidths (System::String value)
 Gets the column widths of the table. More...
 
ASPOSE_PDF_SHARED_API TableBroken get_Broken () const
 Gets table vertial broken; More...
 
ASPOSE_PDF_SHARED_API void set_Broken (TableBroken value)
 Sets table vertial broken; More...
 
ASPOSE_PDF_SHARED_API const System::SharedPtr< BorderInfo > & get_DefaultCellBorder () const
 Gets default cell border; More...
 
ASPOSE_PDF_SHARED_API void set_DefaultCellBorder (System::SharedPtr< BorderInfo > value)
 Gets default cell border; More...
 
ASPOSE_PDF_SHARED_API System::String get_DefaultColumnWidth () const
 Gets default cell border; More...
 
ASPOSE_PDF_SHARED_API void set_DefaultColumnWidth (System::String value)
 Gets default cell border; More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Rowsget_Rows () const
 Gets the rows of the table. More...
 
ASPOSE_PDF_SHARED_API const System::SharedPtr< BorderInfo > & get_Border () const
 Gets the border. More...
 
ASPOSE_PDF_SHARED_API void set_Border (System::SharedPtr< BorderInfo > value)
 Sets the border. More...
 
ASPOSE_PDF_SHARED_API const System::SharedPtr< MarginInfo > & get_DefaultCellPadding () const
 Gets the default cell padding. More...
 
ASPOSE_PDF_SHARED_API void set_DefaultCellPadding (System::SharedPtr< MarginInfo > value)
 Sets the default cell padding. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< Text::TextStateget_DefaultCellTextState ()
 Gets the default cell text state. More...
 
ASPOSE_PDF_SHARED_API void set_DefaultCellTextState (System::SharedPtr< Text::TextState > value)
 Sets the default cell text state. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::HorizontalAlignment get_Alignment () const
 Gets the table alignment. More...
 
ASPOSE_PDF_SHARED_API void set_Alignment (Aspose::Pdf::HorizontalAlignment value)
 Sets the table alignment. More...
 
ASPOSE_PDF_SHARED_API float get_Left () const
 Gets the table left coordinate. More...
 
ASPOSE_PDF_SHARED_API void set_Left (float value)
 Sets the table left coordinate. More...
 
ASPOSE_PDF_SHARED_API float get_Top () const
 Gets the table top coordinate. More...
 
ASPOSE_PDF_SHARED_API void set_Top (float value)
 Sets the table top coordinate. More...
 
ASPOSE_PDF_SHARED_API bool get_IsBroken () const
 Gets the table is broken - will be truncated for next page. More...
 
ASPOSE_PDF_SHARED_API void set_IsBroken (bool value)
 Sets the table is broken - will be truncated for next page. More...
 
ASPOSE_PDF_SHARED_API bool get_IsBordersIncluded () const
 Gets border included in column widhts. More...
 
ASPOSE_PDF_SHARED_API void set_IsBordersIncluded (bool value)
 Sets border included in column widhts. More...
 
ASPOSE_PDF_SHARED_API Aspose::Pdf::ColumnAdjustment get_ColumnAdjustment () const
 Gets the table column adjustment. More...
 
ASPOSE_PDF_SHARED_API void set_ColumnAdjustment (Aspose::Pdf::ColumnAdjustment value)
 Sets the table column adjustment. More...
 
ASPOSE_PDF_SHARED_API Table ()
 Default ctor More...
 
ASPOSE_PDF_SHARED_API double GetWidth ()
 Get width. More...
 
ASPOSE_PDF_SHARED_API double GetHeight (System::SharedPtr< Page > parentPage=nullptr)
 Get height. More...
 
ASPOSE_PDF_SHARED_API void SetColumnTextState (int32_t colNumber, System::SharedPtr< Text::TextState > textState)
 Set height. More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< System::ObjectClone () override
 Clone the table. More...
 
- Public Member Functions inherited from Aspose::Pdf::BaseParagraph
virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::VerticalAlignment get_VerticalAlignment ()
 Gets a vertical alignment of paragraph More...
 
virtual ASPOSE_PDF_SHARED_API void set_VerticalAlignment (Aspose::Pdf::VerticalAlignment value)
 Sets a vertical alignment of paragraph More...
 
virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::HorizontalAlignment get_HorizontalAlignment ()
 Gets a horizontal alignment of paragraph More...
 
virtual ASPOSE_PDF_SHARED_API void set_HorizontalAlignment (Aspose::Pdf::HorizontalAlignment value)
 Sets a horizontal alignment of paragraph More...
 
ASPOSE_PDF_SHARED_API System::SharedPtr< MarginInfoget_Margin ()
 Gets a outer margin for paragraph (for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_Margin (System::SharedPtr< MarginInfo > value)
 Sets a outer margin for paragraph (for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsFirstParagraphInColumn () const
 Gets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API 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...
 
ASPOSE_PDF_SHARED_API bool get_IsKeptWithNext () const
 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...
 
ASPOSE_PDF_SHARED_API 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...
 
ASPOSE_PDF_SHARED_API bool get_IsInNewPage () const
 Gets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsInNewPage (bool value)
 Sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API bool get_IsInLineParagraph () const
 Gets a paragraph is inline. Default is false.(for pdf generation) More...
 
ASPOSE_PDF_SHARED_API void set_IsInLineParagraph (bool value)
 Sets a paragraph is inline. Default is false.(for pdf generation) More...
 
virtual ASPOSE_PDF_SHARED_API System::SharedPtr< Aspose::Pdf::Hyperlinkget_Hyperlink ()
 Gets the fragment hyperlink(for pdf generator). More...
 
virtual ASPOSE_PDF_SHARED_API void set_Hyperlink (System::SharedPtr< Aspose::Pdf::Hyperlink > value)
 Sets the fragment hyperlink(for pdf generator). More...
 
ASPOSE_PDF_SHARED_API int32_t get_ZIndex () const
 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...
 
ASPOSE_PDF_SHARED_API 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...
 
ASPOSE_PDF_SHARED_API 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 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

int32_t get_MaxCellsCount () const
 Gets max table cells count(for internal use) More...
 
int32_t get_PrintedRowsCount () const
 Gets printed rows count(for internal use) More...
 
const System::ArrayPtr< double > & get_InternalColumnWidths () const
 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 () const
 Gets special symbols processing like $P $p etc.. More...
 
const System::ArrayPtr< System::SharedPtr< Text::TextState > > & get_ColumnTextStates () const
 Gets text states for columns(for internally use). More...
 
double get_TablesTopMargin ()
 Gets top margin nested table. More...
 
const System::SharedPtr< Table > & get_ParentTable () const
 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 () const
 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 () const
 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...
 
ASPOSE_PDF_SHARED_API void Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer) override
 
ASPOSE_PDF_SHARED_API void Deserialize (System::SharedPtr< System::Xml::XmlReader > reader) override
 
virtual ASPOSE_PDF_SHARED_API ~Table ()
 
- Protected Member Functions inherited from Aspose::Pdf::BaseParagraph
System::String get_Id () const
 Gets a paragraph id. More...
 
void set_Id (System::String value)
 Sets a paragraph id. More...
 
const System::SharedPtr< Annotations::LinkAnnotation > & get_ReferencedFrom () const
 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...
 
- 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...
 

Detailed Description

Represents a table that can be added to the page.

Constructor & Destructor Documentation

◆ Table()

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

Default ctor

◆ ~Table()

virtual ASPOSE_PDF_SHARED_API Aspose::Pdf::Table::~Table ( )
protectedvirtual

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.
pageThe current page object.

◆ Clone()

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

Clone the table.

Returns
The cloned object

Reimplemented from Aspose::Pdf::BaseParagraph.

◆ Deserialize()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Table::Deserialize ( System::SharedPtr< System::Xml::XmlReader reader)
overrideprotectedvirtual

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_SHARED_API Aspose::Pdf::HorizontalAlignment Aspose::Pdf::Table::get_Alignment ( ) const

Gets the table alignment.

◆ get_BackgroundColor()

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

Gets table background color

◆ get_Border()

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

Gets the border.

◆ get_BreakText()

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

Gets break text for table

◆ get_Broken()

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

Gets table vertial broken;

◆ get_ColsCount()

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

Gets columns count from colwidhts

◆ get_ColumnAdjustment()

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

Gets the table column adjustment.

◆ get_ColumnTextStates()

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

Gets text states for columns(for internally use).

◆ get_ColumnWidths()

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

Gets the column widths of the table.

◆ get_CornerStyle()

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

Gets the styles of the border corners

◆ get_DefaultCellBorder()

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

Gets default cell border;

◆ get_DefaultCellPadding()

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

Gets the default cell padding.

◆ get_DefaultCellTextState()

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

Gets the default cell text state.

◆ get_DefaultColumnWidth()

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

Gets default cell border;

◆ get_InternalColumnWidths()

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

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

◆ get_IsBordersIncluded()

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

Gets border included in column widhts.

◆ get_IsBroken()

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

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

◆ get_IsProcessSpecialSymbols()

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

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

◆ get_Left()

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

Gets the table left coordinate.

◆ get_MaxCellsCount()

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

Gets max table cells count(for internal use)

◆ get_McId()

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

Gets McId property for marked content (TaggedPdf)

◆ get_McName()

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

Gets McName property for marked content (TaggedPdf)

◆ get_ParentTable()

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

Gets the parent table(for internal use only).

◆ get_PrintedRowsCount()

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

Gets printed rows count(for internal use)

◆ get_RepeatingColumnsCount()

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

Gets the maximum columns count for table

◆ get_RepeatingRowsCount()

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

Gets the first rows count repeated for several pages

◆ get_RepeatingRowsHeight()

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

◆ get_RepeatingRowsStyle()

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

Gets the style for repeating rows

◆ get_Rows()

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

Gets the rows of the table.

◆ get_TablesTopMargin()

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

Gets top margin nested table.

◆ get_Top()

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

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()

ASPOSE_PDF_SHARED_API double Aspose::Pdf::Table::GetHeight ( System::SharedPtr< Page parentPage = nullptr)

Get height.

Parameters
parentPageThe table's parent page (optional).
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()

ASPOSE_PDF_SHARED_API 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()

ASPOSE_PDF_SHARED_API void Aspose::Pdf::Table::Serialize ( System::SharedPtr< System::Xml::XmlTextWriter writer)
overrideprotectedvirtual

Reimplemented from Aspose::Pdf::BaseParagraph.

◆ set_Alignment()

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

Sets the table alignment.

◆ set_BackgroundColor()

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

Sets table background color

◆ set_Border()

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

Sets the border.

◆ set_BreakText()

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

Sets break text for table

◆ set_Broken()

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

Sets table vertial broken;

◆ set_ColumnAdjustment()

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

Sets the table column adjustment.

◆ set_ColumnWidths()

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

Gets the column widths of the table.

◆ set_CornerStyle()

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

Sets the styles of the border corners

◆ set_DefaultCellBorder()

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

Gets default cell border;

◆ set_DefaultCellPadding()

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

Sets the default cell padding.

◆ set_DefaultCellTextState()

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

Sets the default cell text state.

◆ set_DefaultColumnWidth()

ASPOSE_PDF_SHARED_API 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()

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

Sets border included in column widhts.

◆ set_IsBroken()

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

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

◆ set_Left()

ASPOSE_PDF_SHARED_API 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()

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

Sets the maximum columns count for table

◆ set_RepeatingRowsCount()

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

Gets the first rows count repeated for several pages

◆ set_RepeatingRowsStyle()

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

Gets the style for repeating rows

◆ set_Top()

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

Sets the table top coordinate.

◆ SetColumnTextState()

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

Set height.

Parameters
colNumberThe column number.
textStateThe text state for column.