Print one segment of a header or footer decoration.
Headers and footers have three different segments.
One each for left aligned, centered, and right aligned text.
@param segment decoration segment to print
@param alignment alignment of the segment. 0=left, 1=center, 2=right
@param page page number to print, if specified in the decoration segment.
@param header true = print the header, false = print the footer
Print one segment of a header or footer decoration. Headers and footers have three different segments. One each for left aligned, centered, and right aligned text.
@param segment decoration segment to print @param alignment alignment of the segment. 0=left, 1=center, 2=right @param page page number to print, if specified in the decoration segment. @param header true = print the header, false = print the footer