Allows the representation of cell. More...
Public Member Functions | |
void | AddAdditionnalGeometries (Dtk_tab< Dtk_EntityPtr > inAdditionnalGeometries) |
Adds some additionnal geometries to the Dtk_OneCell. More... | |
void | Delete_Text () |
Affects _text to null in order not to read the text which is inside. More... | |
Dtk_OneCell () | |
Base constructor. More... | |
Dtk_OneCell (const Dtk_OneCell &inToBeCopied) | |
Dtk_OneCell (Dtk_OneCell &&inToBeMoved) DTK_NOEXCEPT | |
Dtk_Int32 | DtkDynamicType (const int &inId) |
Retrieves the dynamic entity type. More... | |
Dtk_Double64 | get_min_Height () |
Gets the original height. More... | |
Dtk_Double64 | get_min_Width () |
Gets the original width of the Dtk_Onecell. More... | |
const Dtk_tab< Dtk_EntityPtr > & | GetAdditionnalGeometries () const |
Retrieves the additionnal geometries of the Dtk_OneCell. More... | |
Dtk_Size_t & | getAnchor () |
Gets the Dtk_OneCell anchor. More... | |
Dtk_Int32 | GetBorderBottomBlanked () |
Gets BorderBottomBlanked of Bottom border. More... | |
const Dtk_RGB & | GetBorderBottomColor () |
Gets BorderBottomColor of Bottom border. More... | |
Dtk_Int32 | GetBorderLeftBlanked () |
Gets BorderLeftBlanked of Left border. More... | |
const Dtk_RGB & | GetBorderLeftColor () |
Gets BorderLeftColor of Left border. More... | |
Dtk_Int32 | GetBorderRightBlanked () |
Gets BorderRightBlanked of Right border. More... | |
const Dtk_RGB & | GetBorderRightColor () |
Gets BorderRightColor of Right border. More... | |
Dtk_Int32 | GetBorderTopBlanked () |
Gets BorderTopBlanked of Top border. More... | |
const Dtk_RGB & | GetBorderTopColor () |
Gets BorderTopColor of Top border. More... | |
Dtk_Double64 | getHeight () const |
Gets the height of the Dtk_OneCell. More... | |
Dtk_justication_type & | getJustification () |
Gets the Dtk_OneCell justification. More... | |
Dtk_Int32 | getnbCells_Left_Right () const |
Gets the Dtk_OneCell nbCells_Left_Right. More... | |
Dtk_Int32 | getnbCells_Top_Bottom () const |
Gets the number of cells at the bottom or left of the Dtk_OneCell. More... | |
Dtk_CompositeText & | GetText () |
Gets the text witch is in the Dtk_OneCell. More... | |
const Dtk_CompositeText & | GetText () const |
Dtk_Double64 | getWidth () const |
Gets the width of the Dtk_OneCell. More... | |
Dtk_bool | HasText () const |
bool | Merged_Cell_Horizontally () |
Tests if the cell is composed of cells merged horizontally. More... | |
bool | Merged_Cell_Vertically () |
tests if the cell is composed of cells merged vertically. More... | |
Dtk_OneCell & | operator= (const Dtk_OneCell &inToBeAssigned) |
Assignment Operator. More... | |
Dtk_OneCell & | operator= (Dtk_OneCell &&inToBeMoved) |
\MoveOp{inToBeMoved} More... | |
void | set_min_Height (const double &inHeight) |
Sets the Dtk_OneCell min_Height. More... | |
void | set_min_Width (const double &min_Width) |
Sets the Dtk_OneCell min_Width. More... | |
void | setAnchor (const Dtk_Size_t &inNumberOfAnchor) |
Set anchor of text. More... | |
void | SetBorderBottomBlanked (const Dtk_Int32 &inBorderBottomBlanked) |
Sets BorderBottomBlanked of Bottom border. More... | |
void | SetBorderBottomColor (const Dtk_Int32 &inBorderBottomColor) |
Sets BorderBottomColor of Bottom border. More... | |
void | SetBorderBottomColor (const Dtk_RGB &inBorderBottomColor) |
void | SetBorderLeftBlanked (const Dtk_Int32 &inBorderLeftBlanked) |
Sets BorderLeftBlanked of Left border. More... | |
void | SetBorderLeftColor (const Dtk_Int32 &inBorderLeftColor) |
Sets BorderLeftColor of Left border. More... | |
void | SetBorderLeftColor (const Dtk_RGB &inBorderLeftColor) |
void | SetBorderRightBlanked (const Dtk_Int32 &inBorderRightBlanked) |
Sets BorderRightBlanked of Right border. More... | |
void | SetBorderRightColor (const Dtk_Int32 &inBorderRightColor) |
Sets BorderRightColor of Right border. More... | |
void | SetBorderRightColor (const Dtk_RGB &inBorderRightColor) |
void | SetBorderTopBlanked (const Dtk_Int32 &inBorderTopBlanked) |
Sets BorderTopBlanked of Top border. More... | |
void | SetBorderTopColor (const Dtk_Int32 &inBorderTopColor) |
Sets BorderTopColor of Top border. More... | |
void | SetBorderTopColor (const Dtk_RGB &inBorderTopColor) |
void | setHeight (const double &inHeight) |
Sets the Dtk_OneCell height. More... | |
void | setJustification (const Dtk_justication_type &inNewJustification) |
Sets justification. More... | |
void | setnbCells_Left_Right (const Dtk_Size_t &inNewVal) |
Sets nbCells_Left_Right. More... | |
void | setnbCells_Top_Bottom (const Dtk_Size_t &inNewVal) |
Sets nbCells_Top_Bottom. More... | |
void | SetText (Dtk_CompositeText text) |
Sets the text in the Dtk_OneCell. More... | |
void | setWidth (const double &inWidth) |
Sets the Dtk_OneCell Width. More... | |
~Dtk_OneCell () | |
Destructor. More... | |
Static Public Member Functions | |
static Dtk_OneCell * | DtkDynamicCast (Dtk_Object *s) |
Performs a dynamic cast - doesn't need RTTI -. More... | |
Protected Types | |
enum | { _typeID = DTK_TYPE_CELL } |
Protected Member Functions | |
void | _CopyC (const Dtk_OneCell &cell) |
void | _InitC () |
void | _ResetC () |
Protected Attributes | |
Dtk_tab< Dtk_EntityPtr > | _AdditionnalGeometries |
Added geometries for Dtk_OneCell. More... | |
Dtk_Int32 | _BorderBottomBlanked |
Dtk_RGB | _BorderBottomColor |
Dtk_Int32 | _BorderLeftBlanked |
Dtk_RGB | _BorderLeftColor |
Dtk_Int32 | _BorderRightBlanked |
Dtk_RGB | _BorderRightColor |
Dtk_Int32 | _BorderTopBlanked |
Dtk_RGB | _BorderTopColor |
Dtk_bool | _HasText |
Dtk_Double64 | _Height |
The real height (before and after mergers). More... | |
Dtk_CompositeText | _text |
Dtk_Double64 | _Width |
The real width (before and after mergers). More... | |
Dtk_Size_t | anchor |
Defines the anchor texts. More... | |
Dtk_justication_type | justification |
Text justification. More... | |
Dtk_Double64 | min_Height |
The original height before mergers. More... | |
Dtk_Double64 | min_Width |
The original width before mergers. More... | |
Dtk_Int32 | nbCells_Left_Right |
Number of adjacent cells to the left or right. More... | |
Dtk_Int32 | nbCells_Top_Bottom |
Number of adjacent cells at the top or bottom. More... | |
Allows the representation of cell.
min_Height: The original height before mergers.
min_Width: The original width before mergers.
nbCells_Left_Right: Number of adjacent cells to the left or right.
nbCells_Top_Bottom: Number of adjacent cells at the top or bottom.
Dtk_OneCell::Dtk_OneCell | ( | ) |
Base constructor.
Dtk_OneCell::Dtk_OneCell | ( | const Dtk_OneCell & | inToBeCopied | ) |
Dtk_OneCell::Dtk_OneCell | ( | Dtk_OneCell && | inToBeMoved | ) |
Dtk_OneCell::~Dtk_OneCell | ( | ) |
Destructor.
|
protected |
|
protected |
|
protected |
void Dtk_OneCell::AddAdditionnalGeometries | ( | Dtk_tab< Dtk_EntityPtr > | inAdditionnalGeometries | ) |
Adds some additionnal geometries to the Dtk_OneCell.
inAdditionnalGeometries | The geometries to be added |
void Dtk_OneCell::Delete_Text | ( | ) |
Affects _text to null in order not to read the text which is inside.
|
static |
Performs a dynamic cast - doesn't need RTTI -.
Dtk_Int32 Dtk_OneCell::DtkDynamicType | ( | const int & | inId | ) |
Retrieves the dynamic entity type.
Dtk_Double64 Dtk_OneCell::get_min_Height | ( | ) |
Gets the original height.
Dtk_Double64 Dtk_OneCell::get_min_Width | ( | ) |
Gets the original width of the Dtk_Onecell.
const Dtk_tab< Dtk_EntityPtr >& Dtk_OneCell::GetAdditionnalGeometries | ( | ) | const |
Retrieves the additionnal geometries of the Dtk_OneCell.
Dtk_Size_t& Dtk_OneCell::getAnchor | ( | ) |
Gets the Dtk_OneCell anchor.
Dtk_Int32 Dtk_OneCell::GetBorderBottomBlanked | ( | ) |
Gets BorderBottomBlanked of Bottom border.
const Dtk_RGB& Dtk_OneCell::GetBorderBottomColor | ( | ) |
Gets BorderBottomColor of Bottom border.
Dtk_Int32 Dtk_OneCell::GetBorderLeftBlanked | ( | ) |
Gets BorderLeftBlanked of Left border.
const Dtk_RGB& Dtk_OneCell::GetBorderLeftColor | ( | ) |
Gets BorderLeftColor of Left border.
Dtk_Int32 Dtk_OneCell::GetBorderRightBlanked | ( | ) |
Gets BorderRightBlanked of Right border.
const Dtk_RGB& Dtk_OneCell::GetBorderRightColor | ( | ) |
Gets BorderRightColor of Right border.
Dtk_Int32 Dtk_OneCell::GetBorderTopBlanked | ( | ) |
Gets BorderTopBlanked of Top border.
const Dtk_RGB& Dtk_OneCell::GetBorderTopColor | ( | ) |
Gets BorderTopColor of Top border.
Dtk_Double64 Dtk_OneCell::getHeight | ( | ) | const |
Gets the height of the Dtk_OneCell.
Dtk_justication_type& Dtk_OneCell::getJustification | ( | ) |
Gets the Dtk_OneCell justification.
Dtk_Int32 Dtk_OneCell::getnbCells_Left_Right | ( | ) | const |
Gets the Dtk_OneCell nbCells_Left_Right.
Dtk_Int32 Dtk_OneCell::getnbCells_Top_Bottom | ( | ) | const |
Gets the number of cells at the bottom or left of the Dtk_OneCell.
Dtk_CompositeText& Dtk_OneCell::GetText | ( | ) |
Gets the text witch is in the Dtk_OneCell.
const Dtk_CompositeText& Dtk_OneCell::GetText | ( | ) | const |
Dtk_Double64 Dtk_OneCell::getWidth | ( | ) | const |
Gets the width of the Dtk_OneCell.
bool Dtk_OneCell::Merged_Cell_Horizontally | ( | ) |
Tests if the cell is composed of cells merged horizontally.
bool Dtk_OneCell::Merged_Cell_Vertically | ( | ) |
tests if the cell is composed of cells merged vertically.
Dtk_OneCell& Dtk_OneCell::operator= | ( | const Dtk_OneCell & | inToBeAssigned | ) |
Assignment Operator.
inToBeAssigned | Object to copy. |
Dtk_OneCell& Dtk_OneCell::operator= | ( | Dtk_OneCell && | inToBeMoved | ) |
\MoveOp{inToBeMoved}
void Dtk_OneCell::set_min_Height | ( | const double & | inHeight | ) |
Sets the Dtk_OneCell min_Height.
inHeight | The new height used to set min_Height |
void Dtk_OneCell::set_min_Width | ( | const double & | min_Width | ) |
Sets the Dtk_OneCell min_Width.
inWidth | The new width used to set min_Width |
void Dtk_OneCell::setAnchor | ( | const Dtk_Size_t & | inNumberOfAnchor | ) |
Set anchor of text.
inNumberOfAnchor | The new number of anchor |
void Dtk_OneCell::SetBorderBottomBlanked | ( | const Dtk_Int32 & | inBorderBottomBlanked | ) |
Sets BorderBottomBlanked of Bottom border.
inBorderBottomBlanked | : Blanked Status of the Bottom border |
void Dtk_OneCell::SetBorderBottomColor | ( | const Dtk_Int32 & | inBorderBottomColor | ) |
Sets BorderBottomColor of Bottom border.
inBorderBottomColor | : color of the Bottom border |
void Dtk_OneCell::SetBorderBottomColor | ( | const Dtk_RGB & | inBorderBottomColor | ) |
void Dtk_OneCell::SetBorderLeftBlanked | ( | const Dtk_Int32 & | inBorderLeftBlanked | ) |
Sets BorderLeftBlanked of Left border.
inBorderLeftBlanked | : Blanked Status of the Left border |
void Dtk_OneCell::SetBorderLeftColor | ( | const Dtk_Int32 & | inBorderLeftColor | ) |
Sets BorderLeftColor of Left border.
inBorderLeftColor | : color of the Left border |
void Dtk_OneCell::SetBorderLeftColor | ( | const Dtk_RGB & | inBorderLeftColor | ) |
void Dtk_OneCell::SetBorderRightBlanked | ( | const Dtk_Int32 & | inBorderRightBlanked | ) |
Sets BorderRightBlanked of Right border.
inBorderRightBlanked | : Blanked Status of the Right border |
void Dtk_OneCell::SetBorderRightColor | ( | const Dtk_Int32 & | inBorderRightColor | ) |
Sets BorderRightColor of Right border.
inBorderRightColor | : color of the Right border |
void Dtk_OneCell::SetBorderRightColor | ( | const Dtk_RGB & | inBorderRightColor | ) |
void Dtk_OneCell::SetBorderTopBlanked | ( | const Dtk_Int32 & | inBorderTopBlanked | ) |
Sets BorderTopBlanked of Top border.
inBorderTopBlanked | : Blanked Status of the Top border |
void Dtk_OneCell::SetBorderTopColor | ( | const Dtk_Int32 & | inBorderTopColor | ) |
Sets BorderTopColor of Top border.
inBorderTopColor | : color of the Top border |
void Dtk_OneCell::SetBorderTopColor | ( | const Dtk_RGB & | inBorderTopColor | ) |
void Dtk_OneCell::setHeight | ( | const double & | inHeight | ) |
Sets the Dtk_OneCell height.
inHeight | The new height used to set _Height |
void Dtk_OneCell::setJustification | ( | const Dtk_justication_type & | inNewJustification | ) |
Sets justification.
inNewJustification | The new Justification |
void Dtk_OneCell::setnbCells_Left_Right | ( | const Dtk_Size_t & | inNewVal | ) |
Sets nbCells_Left_Right.
inNewVal | The new int used to set nbCells_Left_Right |
void Dtk_OneCell::setnbCells_Top_Bottom | ( | const Dtk_Size_t & | inNewVal | ) |
Sets nbCells_Top_Bottom.
inNewVal | The new int used to set nbCells_Top_Bottom |
void Dtk_OneCell::SetText | ( | Dtk_CompositeText | text | ) |
Sets the text in the Dtk_OneCell.
text | The new text used to set _text |
void Dtk_OneCell::setWidth | ( | const double & | inWidth | ) |
Sets the Dtk_OneCell Width.
inWidth | The new width used to set _Width |
|
protected |
Added geometries for Dtk_OneCell.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
The real height (before and after mergers).
|
protected |
|
protected |
The real width (before and after mergers).
|
protected |
Defines the anchor texts.
|
protected |
Text justification.
|
protected |
The original height before mergers.
|
protected |
The original width before mergers.
|
protected |
Number of adjacent cells to the left or right.
|
protected |
Number of adjacent cells at the top or bottom.