class SiSU_HTML_Format::HeadInformation
Attributes
md[R]
rdf[R]
Public Class Methods
new(md)
click to toggle source
# File lib/sisu/html_format.rb, line 97 def initialize(md) @md=md # DublinCore 1 - title @bits=SiSU_Proj_HTML::Bits.new @per=SiSU_HTML_Persist::Persist.new @per.seg_name_x=SiSU_HTML::Seg.new.seg_name_x @per.seg_name_x_tracker=SiSU_HTML::Seg.new.seg_name_x_tracker @tocband_scroll,@tocband_segtoc=nil,nil @stylesheet=SiSU_Style::CSS_HeadInfo.new(md).stylesheet @o_str ||=SiSU_Env::ProcessingSettings.new(md).output_dir_structure @index,@metalink='index','#metadata' @toc=@md.file.base_filename.html_segtoc end
Public Instance Methods
doc_types(page=:seg)
click to toggle source
# File lib/sisu/html_format.rb, line 157 def doc_types(page=:seg) #used in toc & seg_nav_band wgt=SiSU_HTML_Format::Widget.new(@md) %{ <table summary="segment navigation available documents types: toc,doc,pdf,concordance" border="0" cellpadding="3" cellspacing="0"> <tr> <td align="center" bgcolor=#{the_color.band2}> #{wgt.manifest(page)} #{wgt.search} </tr></table>} end
dot()
click to toggle source
# File lib/sisu/html_format.rb, line 131 def dot dot_white end
dot_clear()
click to toggle source
# File lib/sisu/html_format.rb, line 125 def dot_clear 'dot_clear.png' end
dot_nxt()
click to toggle source
# File lib/sisu/html_format.rb, line 152 def dot_nxt %{<img border="0" width="100%" height="20" src="#{url_path_image_sys}/#{icon.dot}" alt=">" />} end
dot_pre()
click to toggle source
# File lib/sisu/html_format.rb, line 149 def dot_pre %{<img border="0" width="100%" height="20" src="#{url_path_image_sys}/#{icon.dot}" alt="<" />} end
dot_toc()
click to toggle source
# File lib/sisu/html_format.rb, line 146 def dot_toc %{<img border="0" width="100%" height="20" src="#{url_path_image_sys}/#{icon.dot}" alt="^" />} end
dot_white()
click to toggle source
# File lib/sisu/html_format.rb, line 128 def dot_white 'dot_white.png' end
html_close()
click to toggle source
# File lib/sisu/html_format.rb, line 190 def html_close #moved %{</body> </html>} end
icon()
click to toggle source
# File lib/sisu/html_format.rb, line 115 def icon def up 'arrow_up_red.png' end def next 'arrow_next_red.png' end def previous 'arrow_prev_red.png' end def dot_clear 'dot_clear.png' end def dot_white 'dot_white.png' end def dot dot_white end self end
next()
click to toggle source
# File lib/sisu/html_format.rb, line 119 def next 'arrow_next_red.png' end
nxt()
click to toggle source
# File lib/sisu/html_format.rb, line 143 def nxt %{<img border="0" width="22" height="22" src="#{url_path_image_sys}/#{icon.next}" alt="next >>" />} end
pre()
click to toggle source
# File lib/sisu/html_format.rb, line 140 def pre %{<img border="0" width="22" height="22" src="#{url_path_image_sys}/#{icon.previous}" alt="<< previous" />} end
previous()
click to toggle source
# File lib/sisu/html_format.rb, line 122 def previous 'arrow_prev_red.png' end
toc()
click to toggle source
# File lib/sisu/html_format.rb, line 137 def toc %{<img border="0" width="22" height="22" src="#{url_path_image_sys}/#{icon.up}" alt="toc" />} end
up()
click to toggle source
# File lib/sisu/html_format.rb, line 116 def up 'arrow_up_red.png' end
url_path_image_sys()
click to toggle source
# File lib/sisu/html_format.rb, line 110 def url_path_image_sys (@o_str.dump_or_redirect?) \ ? './image' : "#{Xx[:html_relative2]}_sisu/image_sys" end