LabeledFlowableStyle¶
-
class rinoh.flowable.LabeledFlowableStyle(base=
None, **attributes)¶ Style class for
LabeledFlowable- label_min_width¶
Minimum label width
Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
12pt
- label_max_width¶
Maximum label width
Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
80pt
- label_spacing¶
Spacing between a label and the labeled flowable
Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
3pt
- align_baselines¶
Line up the baselines of the label and the labeled flowable
Accepts
Bool:trueorfalseDefault:
true
- width¶
Width to render the flowable at (inherited from
FlowableStyle)Accepts
FlowableWidth:auto,fillor a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
auto
- horizontal_align¶
Horizontal alignment of the flowable (inherited from
FlowableStyle)Accepts
HorizontalAlignment:left,right,centerDefault:
left
- space_above¶
Vertical space preceding the flowable (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- space_below¶
Vertical space following the flowable (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- margin_left¶
Left margin (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- margin_right¶
Right margin (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- padding¶
Padding (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- padding_left¶
Left padding (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- padding_right¶
Right padding (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- padding_top¶
Top padding (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- padding_bottom¶
Bottom padding (inherited from
FlowableStyle)Accepts
Dimension: a numeric value followed by a unit (pt,in,pc,mm,cm,%,/2,/4)Default:
0
- keep_with_next¶
Keep this flowable and the next on the same page (inherited from
FlowableStyle)Accepts
Bool:trueorfalseDefault:
false
- border¶
Border surrounding the flowable (inherited from
FlowableStyle)Accepts
Stroke: the width (Dimension) and color (Color) of the stroke, separated by a comma (,)Default:
none
- border_left¶
Border left of the flowable (inherited from
FlowableStyle)Accepts
Stroke: the width (Dimension) and color (Color) of the stroke, separated by a comma (,)Default:
none
- border_right¶
Border right of the flowable (inherited from
FlowableStyle)Accepts
Stroke: the width (Dimension) and color (Color) of the stroke, separated by a comma (,)Default:
none
- border_top¶
Border above the flowable (inherited from
FlowableStyle)Accepts
Stroke: the width (Dimension) and color (Color) of the stroke, separated by a comma (,)Default:
none
- border_bottom¶
Border below the flowable (inherited from
FlowableStyle)Accepts
Stroke: the width (Dimension) and color (Color) of the stroke, separated by a comma (,)Default:
none
- background_color¶
Color of the area within the flowable’s borders (inherited from
FlowableStyle)Accepts
Color: HEX string with optional alpha component (#RRGGBB,#RRGGBBAA,#RGBor#RGBA)Default:
none
- page_break¶
Type of page break to insert before rendering this flowable (inherited from
FlowableStyle)Accepts
Break:none,any,left,right,any restart,left restart,right restartDefault:
None