class SiSU_XML_ODF_ODT_Format::Tags

Public Instance Methods

set_bookmark_tag(dob) click to toggle source
# File lib/sisu/xml_odf_odt_format.rb, line 122
def set_bookmark_tag(dob)
  tags=''
  if dob.tags.length > 0
    dob.tags.each do |tag|
      tags +=%{ <text:span text:style-name="Span_subscript"><text:bookmark-start text:name="#{tag}"/><text:bookmark-end text:name="#{tag}"/></text:span>}
    end
  end
  tags
end