Aspose::Pdf::Row Class Referencefinal

Represents a row of the table. More...

Inherits System::ICloneable.

Public Member Functions

System::SharedPtr< Colorget_BackgroundColor ()
 Gets the background color. More...
 
void set_BackgroundColor (System::SharedPtr< Color > value)
 Sets the background color. More...
 
System::SharedPtr< BorderInfoget_Border ()
 Gets the border. More...
 
void set_Border (System::SharedPtr< BorderInfo > value)
 Sets the border. More...
 
System::SharedPtr< Aspose::Pdf::Cellsget_Cells ()
 Gets the cells of the row. More...
 
void set_Cells (System::SharedPtr< Aspose::Pdf::Cells > value)
 Gets the cells of the row. More...
 
System::SharedPtr< BorderInfoget_DefaultCellBorder ()
 Gets default cell border; More...
 
void set_DefaultCellBorder (System::SharedPtr< BorderInfo > value)
 Gets default cell border; More...
 
double get_MinRowHeight ()
 Gets height for row; More...
 
void set_MinRowHeight (double value)
 Gets height for row; More...
 
double get_FixedRowHeight ()
 Gets fixed row height - row may have fixed height; More...
 
void set_FixedRowHeight (double value)
 Gets fixed row height - row may have fixed height; More...
 
bool get_IsInNewPage ()
 Gets fixed row is in new page - page with this property should be printed to next page Default false; More...
 
void set_IsInNewPage (bool value)
 Gets fixed row is in new page - page with this property should be printed to next page Default false; More...
 
bool get_IsRowBroken ()
 Gets is row can be broken between two pages More...
 
void set_IsRowBroken (bool value)
 Gets is row can be broken between two pages More...
 
System::SharedPtr< Text::TextStateget_DefaultCellTextState ()
 Gets default text state for row cells More...
 
void set_DefaultCellTextState (System::SharedPtr< Text::TextState > value)
 Sets default text state for row cells More...
 
System::SharedPtr< MarginInfoget_DefaultCellPadding ()
 Gets default margin for row cells More...
 
void set_DefaultCellPadding (System::SharedPtr< MarginInfo > value)
 Sets default margin for row cells More...
 
Aspose::Pdf::VerticalAlignment get_VerticalAlignment ()
 Gets the vertical alignment. More...
 
void set_VerticalAlignment (Aspose::Pdf::VerticalAlignment value)
 Sets the vertical alignment. More...
 
 Row ()
 Initializes a new instance of the Row class. More...
 
System::SharedPtr< System::ObjectClone ()
 Clone the row. More...
 
- 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_CellCount ()
 Gets cell count for current page(for internal use) More...
 
void set_CellCount (int32_t value)
 Sets cell count for current page(for internal use) More...
 
double get_Height ()
 Gets row height(for internal use) More...
 
void set_Height (double value)
 Sets row height(for internal use) More...
 
bool get_IsRowExceedPage ()
 Gets is row exceed page More...
 
double get_Width ()
 Gets row width(for internal use) More...
 
void set_Width (double value)
 Sets row width(for internal use) More...
 
System::SharedPtr< System::Collections::Generic::List< System::SharedPtr< Operator > > > get_Operators ()
 
void ApplyDefaults (System::SharedPtr< Table > table)
 Apply defaults More...
 
bool Process (System::SharedPtr< Table > table, double &curY, double &curX, bool isCalculatedMode, double realPageWidth, double bottomY, System::SharedPtr< Page > page, int32_t &rowNumber)
 Process row. More...
 
void Serialize (System::SharedPtr< System::Xml::XmlTextWriter > writer)
 
void Deserialize (System::SharedPtr< System::Xml::XmlReader > reader)
 

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 row of the table.

Constructor & Destructor Documentation

◆ Row()

Aspose::Pdf::Row::Row ( )

Initializes a new instance of the Row class.

Member Function Documentation

◆ ApplyDefaults()

void Aspose::Pdf::Row::ApplyDefaults ( System::SharedPtr< Table table)
protected

Apply defaults

Parameters
tableThe table.

◆ Clone()

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

Clone the row.

Returns
The cloned object

Implements System::ICloneable.

◆ Deserialize()

void Aspose::Pdf::Row::Deserialize ( System::SharedPtr< System::Xml::XmlReader reader)
protected

◆ get_BackgroundColor()

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

Gets the background color.

◆ get_Border()

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

Gets the border.

◆ get_CellCount()

int32_t Aspose::Pdf::Row::get_CellCount ( )
protected

Gets cell count for current page(for internal use)

◆ get_Cells()

System::SharedPtr<Aspose::Pdf::Cells> Aspose::Pdf::Row::get_Cells ( )

Gets the cells of the row.

◆ get_DefaultCellBorder()

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

Gets default cell border;

◆ get_DefaultCellPadding()

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

Gets default margin for row cells

◆ get_DefaultCellTextState()

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

Gets default text state for row cells

◆ get_FixedRowHeight()

double Aspose::Pdf::Row::get_FixedRowHeight ( )

Gets fixed row height - row may have fixed height;

◆ get_Height()

double Aspose::Pdf::Row::get_Height ( )
protected

Gets row height(for internal use)

◆ get_IsInNewPage()

bool Aspose::Pdf::Row::get_IsInNewPage ( )

Gets fixed row is in new page - page with this property should be printed to next page Default false;

◆ get_IsRowBroken()

bool Aspose::Pdf::Row::get_IsRowBroken ( )

Gets is row can be broken between two pages

◆ get_IsRowExceedPage()

bool Aspose::Pdf::Row::get_IsRowExceedPage ( )
protected

Gets is row exceed page

◆ get_MinRowHeight()

double Aspose::Pdf::Row::get_MinRowHeight ( )

Gets height for row;

◆ get_Operators()

System::SharedPtr<System::Collections::Generic::List<System::SharedPtr<Operator> > > Aspose::Pdf::Row::get_Operators ( )
protected

◆ get_VerticalAlignment()

Aspose::Pdf::VerticalAlignment Aspose::Pdf::Row::get_VerticalAlignment ( )

Gets the vertical alignment.

◆ get_Width()

double Aspose::Pdf::Row::get_Width ( )
protected

Gets row width(for internal use)

◆ Process()

bool Aspose::Pdf::Row::Process ( System::SharedPtr< Table table,
double &  curY,
double &  curX,
bool  isCalculatedMode,
double  realPageWidth,
double  bottomY,
System::SharedPtr< Page page,
int32_t &  rowNumber 
)
protected

Process row.

Parameters
tableThe table.
curYThe current Y coordinate.
curXThe current X coordinate.
isCalculatedModeThe calculation mode for nested tables.
realPageWidthThe page width without margins.
bottomYThe min bottom Y.
pageThe page bottom margin.
rowNumberThe row number.

◆ Serialize()

void Aspose::Pdf::Row::Serialize ( System::SharedPtr< System::Xml::XmlTextWriter writer)
protected

◆ set_BackgroundColor()

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

Sets the background color.

◆ set_Border()

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

Sets the border.

◆ set_CellCount()

void Aspose::Pdf::Row::set_CellCount ( int32_t  value)
protected

Sets cell count for current page(for internal use)

◆ set_Cells()

void Aspose::Pdf::Row::set_Cells ( System::SharedPtr< Aspose::Pdf::Cells value)

Gets the cells of the row.

◆ set_DefaultCellBorder()

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

Gets default cell border;

◆ set_DefaultCellPadding()

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

Sets default margin for row cells

◆ set_DefaultCellTextState()

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

Sets default text state for row cells

◆ set_FixedRowHeight()

void Aspose::Pdf::Row::set_FixedRowHeight ( double  value)

Gets fixed row height - row may have fixed height;

◆ set_Height()

void Aspose::Pdf::Row::set_Height ( double  value)
protected

Sets row height(for internal use)

◆ set_IsInNewPage()

void Aspose::Pdf::Row::set_IsInNewPage ( bool  value)

Gets fixed row is in new page - page with this property should be printed to next page Default false;

◆ set_IsRowBroken()

void Aspose::Pdf::Row::set_IsRowBroken ( bool  value)

Gets is row can be broken between two pages

◆ set_MinRowHeight()

void Aspose::Pdf::Row::set_MinRowHeight ( double  value)

Gets height for row;

◆ set_VerticalAlignment()

void Aspose::Pdf::Row::set_VerticalAlignment ( Aspose::Pdf::VerticalAlignment  value)

Sets the vertical alignment.

◆ set_Width()

void Aspose::Pdf::Row::set_Width ( double  value)
protected

Sets row width(for internal use)