![]() | ![]() | ![]() | xmlroff Reference Manual | ![]() |
---|
overflow —
enum FoEnumOverflow; #define FO_TYPE_ENUM_OVERFLOWGType fo_enum_overflow_get_type (void); struct FoPropertyOverflow; struct FoPropertyOverflowClass; FoProperty* fo_property_overflow_new (void); FoDatatype* fo_property_overflow_get_value (FoProperty *property); void fo_property_overflow_set_value (FoProperty *property, FoDatatype *new_value); FoProperty* fo_property_overflow_new_from_expression (constgchar *expression, FoContext *context, FoProperty *current_font_size, FoFo *fo_node,GError **error); FoProperty* fo_property_overflow_get_initial (void);
typedef enum { FO_ENUM_OVERFLOW_VISIBLE, FO_ENUM_OVERFLOW_HIDDEN, FO_ENUM_OVERFLOW_SCROLL, FO_ENUM_OVERFLOW_ERROR_IF_OVERFLOW, FO_ENUM_OVERFLOW_AUTO, FO_ENUM_OVERFLOW_INHERIT } FoEnumOverflow;
FoProperty* fo_property_overflow_new (void);
Creates a new FoPropertyOverflow initialized to default value.
Returns : | the new FoPropertyOverflow |
FoDatatype* fo_property_overflow_get_value (FoProperty *property);
Returns the current
property : | FoProperty object whose value is to be retrieved |
Returns : | The current |
void fo_property_overflow_set_value (FoProperty *property, FoDatatype *new_value);
Sets the
property : | FoProperty object whose value is to be set |
new_value : | New value for the property |
FoProperty* fo_property_overflow_new_from_expression (constgchar *expression, FoContext *context, FoProperty *current_font_size, FoFo *fo_node,GError **error);
Evaluates expression w.r.t. context and current_font_size. Returns an FoProperty object of correct type if expression evaluated without error, or NULL if an error occurred.
expression : | Expression to evaluate |
context : | FoContext object from which to possibly inherit values |
current_font_size : | Current font size |
fo_node : | Formatting object on which property expression was declared |
error : | Information about an error that has occurred |
Returns : | FoProperty object representing resolved expression, or NULL |
FoProperty* fo_property_overflow_get_initial (void);
Returns an instance of the property with the correct initial value
Returns : | An instance of the property |
<< fo-property-orphans | fo-property-padding-after >> |