DOM::CSS2PageSize Class Reference
The CSS2Cursor
interface represents the size CSS Level 2 descriptor.
More...
#include <css_extensions.h>
Inheritance diagram for DOM::CSS2PageSize:

Public Methods | |
unsigned short | widthType () const |
A code defining the type of the width of the page. | |
unsigned short | heightType () const |
A code defining the type of the height of the page. | |
DOM::DOMString | identifier () const |
If width is CSS_IDENT or CSS_INHERIT , this attribute contains the string representation of the ident, otherwise it contains an empty string. | |
float | getWidth (const float widthType) |
This method is used to get the float value in a specified unit if the widthType represents a length. | |
float | getHeightSize (const float heightType) |
This method is used to get the float value in a specified unit if the heightType represents a length. | |
void | setWidthSize (const unsigned short widthType, const float value) |
This method is used to set the width position with a specified unit. | |
void | setHeightSize (const unsigned short heightType, const float value) |
This method is used to set the height position with a specified unit. | |
void | setIdentifier (const DOM::DOMString &identifier) |
Sets the identifier. |
Detailed Description
The CSS2Cursor
interface represents the size CSS Level 2 descriptor.
Definition at line 741 of file css_extensions.h.
Member Function Documentation
|
A code defining the type of the width of the page.
It would be one of Definition at line 503 of file css_extensions.cpp. Referenced by getWidth(), and setWidthSize(). |
|
A code defining the type of the height of the page.
It would be one of Definition at line 509 of file css_extensions.cpp. Referenced by getHeightSize(), and setHeightSize(). |
|
If
Definition at line 515 of file css_extensions.cpp. |
|
This method is used to get the float value in a specified unit if the
If the float doesn't contain a float value or can't be converted into the specified unit, a
Definition at line 521 of file css_extensions.cpp. References widthType(). |
|
This method is used to get the float value in a specified unit if the
If the float doesn't contain a float value or can't be converted into the specified unit, a
Definition at line 527 of file css_extensions.cpp. References heightType(). |
|
This method is used to set the width position with a specified unit.
If the
Definition at line 533 of file css_extensions.cpp. References widthType(). |
|
This method is used to set the height position with a specified unit.
If the
Definition at line 539 of file css_extensions.cpp. References heightType(). |
|
Sets the identifier.
Definition at line 545 of file css_extensions.cpp. |
The documentation for this class was generated from the following files: