Sha256: b75c93de52e3825d459c2aa33216c01ebfff5beb8cf0e646015002b310cbcb6a
Contents?: true
Size: 881 Bytes
Versions: 6
Compression:
Stored size: 881 Bytes
Contents
module RRTF # Represents a set of formatting that can be applied to position paragraphs. class PositionStyle < AnonymousStyle include PositionFormatting # This is the constructor for the PositionStyle class. # # @param [Hash] options the position style options. # @option options (see AnonymousStyle#initialize) # @option options (see PositionFormatting#initialize_position_formatting) def initialize(options = {}) super(options) initialize_position_formatting(options) end # This method generates a string containing the prefix associated with the # style object. Equivalent to {#rtf_formatting} for the PositionStyle class. def prefix(document) rtf_formatting(document) end def rtf_formatting(document) position_formatting_to_rtf(document) end end # class PositionStyle end # module RRTF
Version data entries
6 entries across 6 versions & 1 rubygems