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