| Top |
| FoDatatype * | fo_space_new () |
| FoDatatype * | fo_space_new_from_length () |
| void | fo_space_set_minimum () |
| gfloat | fo_space_get_minimum () |
| void | fo_space_set_optimum () |
| gfloat | fo_space_get_optimum () |
| void | fo_space_set_maximum () |
| gfloat | fo_space_get_maximum () |
| void | fo_space_set_precedence () |
| gint | fo_space_get_precedence () |
| void | fo_space_set_condity () |
| gboolean | fo_space_get_condity () |
| FoDatatype * | fo_space_get_space_0pt () |
| FoDatatype * | fo_space_resolve () |
| gboolean | conditionality | Read / Write / Construct Only |
| float | maximum | Read / Write / Construct Only |
| float | minimum | Read / Write / Construct Only |
| float | optimum | Read / Write / Construct Only |
| int | precedence | Read / Write / Construct Only |
FoDatatype *
fo_space_new (void);
Creates a new FoSpace initialized to default value.
FoDatatype *
fo_space_new_from_length (FoDatatype *length);
Creates a new FoSpace with .minimum, .optimum, and .maximum
components set to length
and .conditionality and .precedence
components set to default values.
void fo_space_set_minimum (FoDatatype *datatype,gfloat new_minimum);
Sets the .minimum component of datatype
gfloat
fo_space_get_minimum (FoDatatype *datatype);
Gets the .minimum component value of datatype
void fo_space_set_optimum (FoDatatype *datatype,gfloat new_optimum);
Sets the .optimum component of datatype
gfloat
fo_space_get_optimum (FoDatatype *datatype);
Gets the .optimum component value of datatype
void fo_space_set_maximum (FoDatatype *datatype,gfloat new_maximum);
Sets the .maximum component of datatype
gfloat
fo_space_get_maximum (FoDatatype *datatype);
Gets the .maximum component value of datatype
void fo_space_set_precedence (FoDatatype *datatype,gint new_precedence);
Sets the .precedence component of datatype
gint
fo_space_get_precedence (FoDatatype *datatype);
Gets the .precedence component value of datatype
void fo_space_set_condity (FoDatatype *datatype,gboolean new_condity);
Sets the .conditionality component value of datatype
gboolean
fo_space_get_condity (FoDatatype *datatype);
Gets the .conditionality component value of datatype
FoDatatype *
fo_space_get_space_0pt (void);
Create and return an FoSpace with the well-known value 0pt.
This saves creation of multiple FoSpace objects that all have the value 0pt.
FoDatatype * fo_space_resolve (FoDatatype *shortform,FoDatatype *minimum,FoDatatype *optimum,FoDatatype *maximum,FoDatatype *precedence,FoDatatype *condity,gfloat hundred_percent,GError **error);
Resolve the shortform and components of the space in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.
shortform |
Single-value short form of the space, or NULL |
|
minimum |
.minimum component of the space, or NULL |
|
optimum |
.optimum component of the space, or NULL |
|
maximum |
.maximum component of the space, or NULL |
|
precedence |
.precedence component of the space, or NULL |
|
condity |
.conditionality component of the space, or NULL |
|
hundred_percent |
Length to use as 100% when components expressed as percentages |
|
error |
GError used for reporting errors |
“conditionality” property“conditionality” gboolean
Whether or not the space must always be retained.
Owner: FoSpace
Flags: Read / Write / Construct Only
Default value: FALSE
“maximum” property “maximum” float
Space range maximum value.
Owner: FoSpace
Flags: Read / Write / Construct Only
Default value: 0
“minimum” property “minimum” float
Space range minimum value.
Owner: FoSpace
Flags: Read / Write / Construct Only
Default value: 0
“optimum” property “optimum” float
Space range optimum value.
Owner: FoSpace
Flags: Read / Write / Construct Only
Default value: 0