}
end
end
class Paragraph_id_ocn #used by table version #work area 2003w48
attr_accessor :paranum,:font,:p_num
def initialize(md,paranum)
@paranum,@vz,@p_num=paranum,SiSU_Env::Get_init.instance.skin,SiSU_HTML_Format::Paragraph_number.new(md,paranum) #font
end
def txt
%{ #{@p_num.name}
}
end
def txt_00
%{ #{@p_num.name}
}
end
def font_citation
%{}
end
def endnote
%{ #{@p_num.name}
}
end
def table
%{ #{@p_num.name}
}
end
def tiny
%{ #{@p_num.name}
}
end
def small
%{ #{@p_num.name}
} # keep but not used?
end
def font_tiny
%{}
end
def font_small
%{}
end
def header_
%{ #{@p_num.name}
}
end
end
class Head_information
include SiSU_Viz
include SiSU_HTML_Format
include SiSU_Env
attr_reader :md,:sfx,:pdf,:rdf,:vz
def initialize(md='')
@md=md
@sfx,@pdf=@md.sfx,@md.pdf
@rdf=SiSU_XML_tags::RDF.new(md)
# DublinCore 1 - title
@vz=SiSU_Env::Get_init.instance.skin
@css=SiSU_Env::CSS_stylesheet.new(md)
@seg_name_html=(SiSU_HTML::Source::Seg.new.seg_name_html || [])
@seg_name_html_tracker=(SiSU_HTML::Source::Seg.new.seg_name_html_tracker || [])
case @md.file_type
when /php/; @index='index' # @index="index.php"
else @index='index'
end
@metalink='#metadata'
@tocband_scroll,@tocband_segtoc=nil,nil
end
def doc_type
%{
\n}
end
def toc_head_escript #embedded script in this case PHP
# %{PHP or other embedded script for object persistence may go HERE
}
end
def seg_head_escript #embedded script in this case PHP
# %{PHP or other embedded script for object persistence may go HERE
}
end
def table_close
%{
#{@vz.table_close}}
end
def buttons_home
%{
#{@vz.banner_home_and_index_buttons}
}
end
def copyat
%{#{@vz.paragraph_heading_1_center}copy @
#{@vz.txt_home}
}
end
end
class Widget < Head_information
def initialize(md)
super(md)
@md=md
@cf_defaults=SiSU_Env::Info_processing_flag.new
end
def home
%{