DefaultStyle __construct(
[
$elem = null], [
$value = null], [
$namespace = null]
)
|
|
Constructor method.
Parameters:
|
|
$elem: |
|
|
|
$value: |
|
|
|
$namespace: |
|
Information Tags:
| Since: | 0.5.2 - 30. Feb. 2007 |
Redefinition of:
- ODPElement::__construct()
- Constructor.
Redefined in descendants as:
Retrieve family.
API Tags:
Information Tags:
| Since: | 0.5.0 - 08.02.2007 |
void getGraphicProperties(
)
|
|
Retrieve a <style:graphic-properties> tag.
If it does not exists, create on and add it as a child.
API Tags:
Information Tags:
| Todo: | Replace the else path by something which uses $this->getChild(..)! |
| Since: | 0.5.2 - 03.03.2007 |
void getParagraphProperties(
)
|
|
Retrieve a <style:paragraph-properties> tag.
If it does not exists, create on and add it as a child.
API Tags:
Information Tags:
| Todo: | Replace the else path by something which uses $this->getChild(..)! |
| Since: | 0.5.2 - 03.03.2007 |
void getTextProperties(
)
|
|
Retrieve a <style:text-properties> tag.
If it does not exists, create on and add it as a child.
API Tags:
Information Tags:
| Todo: | Replace the else path by something which uses $this->getChild(..)! |
| Since: | 0.5.2 - 03.03.2007 |
bool hasGraphicProperties(
)
|
|
Checks if the current default style has an graphic-properties element as child.
API Tags:
| Return: | True if there is an <style:graphic-properties> tag as child of the current <style:default-style> tag. |
| Access: | public |
Information Tags:
| Since: | 0.5.2 - 04.03.2007 |
bool hasParagraphProperties(
)
|
|
Checks if the current default style has an paragraph-properties element as child.
API Tags:
| Return: | True if there is an <style:paragraph-properties> tag as child of the current <style:default-style> tag. |
| Access: | public |
Information Tags:
| Since: | 0.5.2 - 04.03.2007 |
bool hasTextProperties(
)
|
|
Checks if the current default style has an text-properties element as child.
API Tags:
| Return: | True if there is an <style:text-properties> tag as child of the current <style:default-style> tag. |
| Access: | public |
Information Tags:
| Since: | 0.5.2 - 04.03.2007 |
void setFamily(
string
$value
)
|
|
Set family.
Parameters:
|
string |
$value: |
Must be a value out of 'ruby','control', 'presentation', 'drawing-page', 'default', 'chart', 'table-page', 'table-cell', 'table-row', 'table-column', 'section', 'text', 'table', 'paragraph' or 'graphic'. |
API Tags:
Information Tags:
| Since: | 0.5.0 - 08.02.2007 |