ImagingTools Core SDK
Public Member Functions | List of all members
imtreport::IReportPageabstract

#include <IReportPage.h>

Inherits iser::ISerializable.

Inherited by imtreport::CReportPage [virtual].

Public Member Functions

virtual ElementIds GetPageElements () const =0
 
virtual i2d::IObject2d * GetPageElement (const QByteArray &elementId) const =0
 
virtual QByteArray AddText (const QString &text, const i2d::CVector2d &position, const double textWidth=-1.0, const Qt::Alignment alignment=Qt::AlignLeft)=0
 
virtual QByteArray AddImage (const QString &imagePath, const i2d::CRectangle &rect)=0
 
virtual QByteArray AddLine (const i2d::CLine2d &line)=0
 
virtual QByteArray AddRectangle (const i2d::CRectangle &rect, const QColor &fillColor=Qt::transparent)=0
 
virtual QByteArray AddPolygone (const QVector< i2d::CVector2d > &points, const QColor &fillColor=Qt::transparent)=0
 
virtual QByteArray AddTextTable (const i2d::CRectangle &rect, int rowCount, int columnCount)=0
 
virtual bool RemovePageElement (const QByteArray &elementId)=0
 

Detailed Description

Interface for a page in the report document.

Definition at line 26 of file IReportPage.h.

Member Function Documentation

◆ AddImage()

virtual QByteArray imtreport::IReportPage::AddImage ( const QString &  imagePath,
const i2d::CRectangle &  rect 
)
pure virtual

Add an image file to the report page.

◆ AddLine()

virtual QByteArray imtreport::IReportPage::AddLine ( const i2d::CLine2d &  line)
pure virtual

Add a line to the report page.

◆ AddPolygone()

virtual QByteArray imtreport::IReportPage::AddPolygone ( const QVector< i2d::CVector2d > &  points,
const QColor &  fillColor = Qt::transparent 
)
pure virtual

Add a polygone to the report page.

◆ AddRectangle()

virtual QByteArray imtreport::IReportPage::AddRectangle ( const i2d::CRectangle &  rect,
const QColor &  fillColor = Qt::transparent 
)
pure virtual

Add a rectangle to the report page.

◆ AddText()

virtual QByteArray imtreport::IReportPage::AddText ( const QString &  text,
const i2d::CVector2d &  position,
const double  textWidth = -1.0,
const Qt::Alignment  alignment = Qt::AlignLeft 
)
pure virtual

Add a text label to the report page.

◆ AddTextTable()

virtual QByteArray imtreport::IReportPage::AddTextTable ( const i2d::CRectangle &  rect,
int  rowCount,
int  columnCount 
)
pure virtual

Add a text table to the report page.

◆ GetPageElement()

virtual i2d::IObject2d * imtreport::IReportPage::GetPageElement ( const QByteArray &  elementId) const
pure virtual

Get a page element with a given ID.

◆ GetPageElements()

virtual ElementIds imtreport::IReportPage::GetPageElements ( ) const
pure virtual

Get the list of page elements.

◆ RemovePageElement()

virtual bool imtreport::IReportPage::RemovePageElement ( const QByteArray &  elementId)
pure virtual

Remove a page element.