Class: SiSU_XML_Format::FormatScroll

Inherits:
FormatTextObject show all
Includes:
SiSU_Parts_XML
Defined in:
lib/sisu/xml_format.rb,
lib/sisu/xml_format.rb

Instance Attribute Summary

Attributes inherited from FormatTextObject

#banner, #dob, #font, #format, #headname, #link, #linkname, #md, #ocn, #p_num, #para_id, #paranum, #table, #txt, #url

Instance Method Summary collapse

Methods included from SiSU_Parts_XML

#_url_path_image_base, #band1, #band2, #banner_band, #black, #blue_ink, #blue_tinge, #grey, #grey_medium, #grey_pale, #home_button_only, #ico, #png_home, #png_home_button, #set_face, #set_fonts, #table1, #table2, #the_banner, #the_color, #the_font, #the_line_break, #the_png, #the_table_close, #the_url_decoration, #txt_close, #txt_open, #white, #xml_close, #xml_open, #yellow_light

Methods included from SiSU_Parts_Generic

#footer_signature, #home, #home_txt, #i_choice, #i_home_button, #i_ico, #i_new, #rl_root, #root_http, #sisu, #sisu_txt, #sisudoc, #site, #the_icon, #the_text, #the_url, #txt_home, #txt_hp, #txt_hp_alias, #txt_signature, #urify, #url_close, #url_open

Methods inherited from FormatTextObject

#bold, #bold_header, #bold_para, #bullet, #center, #center_bold, #code, #dl, #endnote_body, #endnote_body_indent, #gsub_body, #heading_body7, #heading_normal, #no_paranum, #para, #para_form_css, #scr_endnote_body, #table_css_end, #title_header, #title_header1, #title_header2, #title_header3, #title_header4, #title_header4_old, #toc_head_copy_at

Constructor Details

#initialize(md, txt) ⇒ FormatScroll

Returns a new instance of FormatScroll.



296
297
298
# File 'lib/sisu/xml_format.rb', line 296

def initialize(md,dob)
  super(md,dob)
end

Instance Method Details

#heading_bodyObject



299
300
301
302
# File 'lib/sisu/xml_format.rb', line 299

def heading_body
  %{<p class="norm">#{@p_num.name}#{@headname}#{@dob.obj} </p>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body0Object



303
304
305
306
# File 'lib/sisu/xml_format.rb', line 303

def heading_body0
  %{<h1 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h1>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body1Object



307
308
309
310
# File 'lib/sisu/xml_format.rb', line 307

def heading_body1
  %{<h2 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h2>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body2Object



311
312
313
314
# File 'lib/sisu/xml_format.rb', line 311

def heading_body2
  %{<h3 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h3>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body3Object



315
316
317
318
# File 'lib/sisu/xml_format.rb', line 315

def heading_body3
  %{<h4 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h4>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body4Object



319
320
321
322
# File 'lib/sisu/xml_format.rb', line 319

def heading_body4
  %{<h5 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h5>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body5Object



323
324
325
326
# File 'lib/sisu/xml_format.rb', line 323

def heading_body5
  %{<h6 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h6>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end

#heading_body6Object



327
328
329
330
# File 'lib/sisu/xml_format.rb', line 327

def heading_body6
  %{<h7 class="norm">#{@p_num.name}#{@headname}#{@dob.obj}</h7>} +
  %{<p class="paranum"><font size="1" color="#777777">&nbsp;&nbsp;#{@dob.ocn}</font></p>\n}
end