| Top |
| gboolean | conditionality | Read / Write / Construct Only |
| double | length | Read / Write / Construct Only |
FoDatatype *
fo_length_cond_new (void);
Creates a new FoLengthCond initialized to default value.
FoDatatype * fo_length_cond_new_with_value (gdouble length,gboolean condity);
Creates a new FoLengthCond set to length
and condity
length |
Length component of the new FoLengthCond |
|
condity |
Conditionality component of the new FoLengthCond |
FoDatatype *
fo_length_cond_new_from_length (FoDatatype *length);
Creates a new FoLengthCond with .length component set to length
and .conditionality component set to default value.
gdouble
fo_length_cond_get_length (FoDatatype *datatype);
Gets the .length component value of datatype
void fo_length_cond_set_length (FoDatatype *datatype,gdouble new_length);
Sets the .length component of datatype
gboolean
fo_length_cond_get_condity (FoDatatype *datatype);
Gets the .conditionality component value of datatype
void fo_length_cond_set_condity (FoDatatype *datatype,gboolean new_condity);
Sets the .condity component of datatype
FoDatatype *
fo_length_cond_get_length_cond_zero (void);
Get an FoLengthCond with the well-known value of 0pt/discard.
FoDatatype * fo_length_cond_resolve (FoDatatype *shortform,FoDatatype *length,FoDatatype *condity,GError **error);
Resolve the shortform and components of the length-conditional in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.
shortform |
Single-value short form of the length-conditional, or NULL |
|
length |
.length component of the space, or NULL |
|
condity |
.conditionality component of the space, or NULL |
|
error |
GError used for reporting errors |
“conditionality” property“conditionality” gboolean
Whether or not the space must always be retained.
Owner: FoLengthCond
Flags: Read / Write / Construct Only
Default value: FALSE