Top | ![]() |
![]() |
![]() |
![]() |
FoDatatype * | maximum | Read / Write / Construct Only |
FoDatatype * | minimum | Read / Write / Construct Only |
FoDatatype * | optimum | Read / Write / Construct Only |
#define FO_LENGTH_RANGE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), FO_TYPE_LENGTH_RANGE, FoLengthRange))
GType
fo_length_range_get_type (void
);
Register the FoLengthRange object type.
FoDatatype *
fo_length_range_new_auto (void
);
Creates a new FoLengthRange with all components initialized to "auto".
FoDatatype *
fo_length_range_new_with_value (FoDatatype *datatype
);
Creates a new FoLengthRange set to value
.
FoDatatype *
fo_length_range_get_minimum (FoDatatype *datatype
);
Gets the .minimum component value of datatype
FoDatatype *
fo_length_range_get_optimum (FoDatatype *datatype
);
Gets the .optimum component value of datatype
FoDatatype *
fo_length_range_get_maximum (FoDatatype *datatype
);
Gets the .maximum component value of datatype
FoDatatype * fo_length_range_resolve (FoDatatype *shortform
,FoDatatype *minimum
,FoDatatype *optimum
,FoDatatype *maximum
,gfloat hundred_percent
,GError **error
);
Resolve the shortform and components of the length-range in accordance with Section 5.11, Datatypes, of the XSL 1.0 Recommendation.
Does not change the ref-count of any FoDatatype arguments.
shortform |
Single-value short form of the length-range, or NULL |
|
minimum |
.minimum component of the length-range, or NULL |
|
optimum |
.optimum component of the length-range, or NULL |
|
maximum |
.maximum component of the length-range, or NULL |
|
hundred_percent |
Length to use as 100% when components expressed as percentages |
|
error |
GError used for reporting errors |
FoDatatype * fo_length_range_resolve_allow_auto (FoDatatype *shortform
,FoDatatype *minimum
,FoDatatype *optimum
,FoDatatype *maximum
,gfloat hundred_percent
,GError **error
);
Resolve the shortform and components of the length-range in accordance with the definitions of block-progression-dimension and inline-progression-dimension in Section 7.14, Area Dimension Properties, of the XSL 1.0 Recommendation.
Use this when "auto" is an allowed value and percentages are computed into lengths.
Does not change the ref-count of any FoDatatype arguments.
shortform |
Single-value short form of the length-range, or NULL |
|
minimum |
.minimum component of the length-range, or NULL |
|
optimum |
.optimum component of the length-range, or NULL |
|
maximum |
.maximum component of the length-range, or NULL |
|
hundred_percent |
Length to use as 100% when components expressed as percentages |
|
error |
GError used for reporting errors |
FoDatatype *
fo_length_range_get_length_range_hundred_percent
(void
);
Get an FoLengthRange with the well-known value of 100%.
“maximum”
property“maximum” FoDatatype *
Length range maximum value.
Flags: Read / Write / Construct Only
“minimum”
property“minimum” FoDatatype *
Length range minimum value.
Flags: Read / Write / Construct Only
“optimum”
property“optimum” FoDatatype *
Length range optimum value.
Flags: Read / Write / Construct Only