mdc/lib/rendering/renderer_html.rb
##
# Return a css class for the given alignment constant
# @param [Fixnum] alignment for the alignment
# @return [String] css class string to be used in HTML page
Return a css class for the given alignment constant
Return a css class for the given alignment constant
def class_for_constant(alignment)
      case alignment
      when Constants::LEFT then " class='left'"
      when Constants::RIGHT then " class='right'"
      when Constants::CENTER then " class='center'"
      when Constants::SEPARATOR then " class='separator'"
      else ''
      end
    end
def class_for_constant ( alignment ) case alignment when Constants :: LEFT then " class='left'" when Constants :: RIGHT then " class='right'" when Constants :: CENTER then " class='center'" when Constants :: SEPARATOR then " class='separator'" else '' end end
Return a css class for the given alignment constant
Return a css class for the given alignment constant
css class string to be used in HTML page
css class string to be used in HTML page
String
alignment
<not_specific>
<not_specific>
alignment for the alignment
alignment for the alignment