<fo:block
border-width="1mm">
This block contains one millimeter border around it.
</fo:block>
Rectangular block area boxes,share many common area properties:
space before
space after
margin
border
padding
space before
margin
border
padding
content
space after
The space before and space after is the empty space which separate the block from
the other blocks.
The margin is the empty area on the outside of the block.
The border is the rectangle drawn around the external edge of the area. It can
have different widths on all four sides. It can also be filled with different
colors and background images.
The padding is the area between the border and the content.
The content area consist actual content like pictures,text,graphics.
Attributes of Block Style
Blocks are sequences of output that can be individually styled:
<fo:block
font-size="12pt"
font-family="sans-serif">
This block of output will be written in a 12pt sans-serif font.
</fo:block>
Font attributes:
font-family
font-weight
font-style
font-size
font-variant
Text attributes:
text-align
text-align-last
text-indent
start-indent
end-indent
wrap-option (defines word wrap)
break-before (defines page breaks)
break-after (defines page breaks)
reference-orientation (defines text rotation in 90" increments)