Top | ![]() |
![]() |
![]() |
![]() |
GObject ╰── GInitiallyUnowned ╰── FoObject ╰── FoProperty ╰── FoPropertyBorderLeftWidth
FoProperty * fo_property_new_from_expr (FoPropertyClass *property_class
,const gchar *expr
,FoContext *context
,FoProperty *current_font_size
,FoFo *fo_node
,GError **error
);
Evaluates expr
as a value of an instance of property_class
.
The other parameters provide the context for evaluating expr
.
property_class |
Class of property for which to evaluate expression. |
|
expr |
Expression to evaluate. |
|
context |
Current FoContext. |
|
current_font_size |
Current "font-size" value |
|
fo_node |
Current FO |
|
error |
Indication of any error that occurred |
FoDatatype *
fo_property_get_value (FoProperty *property
);
Returns the current value property value of property
.
void fo_property_set_value (FoProperty *property
,FoDatatype *new_value
);
Sets the 'value' property of property
.
property |
FoProperty object whose value is to be set. |
|
new_value |
New value for the property. |
gboolean
fo_property_class_is_inherited (FoPropertyClass *property_class
);
Indicates whether the XSL property represented by property_class
is defined in the XSL 1.0 Recommendation as an inherited property.
gboolean
fo_property_is_inherited (FoProperty *property
);
Indicates whether the XSL property represented by property
is
defined in the XSL 1.0 Recommendation as an inherited property.
gboolean
fo_property_class_is_shorthand (FoPropertyClass *property_class
);
Indicates whether the XSL property represented by property_class
is defined in the XSL 1.0 Recommendation as a shorthand property.
gboolean
fo_property_is_shorthand (FoProperty *property
);
Indicates whether the XSL property represented by property
is
defined in the XSL 1.0 Recommendation as a shorthand property.
FoDatatype * (*FoResolveEnumFunc) (const gchar *token
,FoContext *context
,GError **err
);
FoDatatype * (*FoResolvePercentFunc) (gdouble percentage
,const FoDatatype *font_size
,const FoFo *fo_node
,const FoContext *context
,GError **err
);