diff options
author | Ralph Amissah <ralph@amissah.com> | 2012-01-10 23:11:27 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2012-01-10 23:11:27 -0500 |
commit | 19e69de67694b886800f6ee131d3ded9b5dd3d7a (patch) | |
tree | b8ffe0123475cffcb4f29dc6555a0b3ecec1ade0 /lib/sisu/v3dv/dal_numbering.rb | |
parent | v3dv: class names, use more CamelCase (diff) |
v3dv: make further changes to module names & test
Diffstat (limited to 'lib/sisu/v3dv/dal_numbering.rb')
-rw-r--r-- | lib/sisu/v3dv/dal_numbering.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/sisu/v3dv/dal_numbering.rb b/lib/sisu/v3dv/dal_numbering.rb index cd543450..cf7d861a 100644 --- a/lib/sisu/v3dv/dal_numbering.rb +++ b/lib/sisu/v3dv/dal_numbering.rb @@ -56,7 +56,7 @@ ** Description: system environment, resource control and configuration details =end -module SiSU_Numbering +module SiSU_DAL_Numbering class Numbering attr_accessor :obj,:osp,:ocn,:lv,:name,:index,:comment def initialize(md,data) @@ -139,7 +139,7 @@ module SiSU_Numbering chapter_number_counter=0 data.each do |dob| #@md.seg_names << [additions to segment names] title_no=nil - dob=SiSU_DocumentStructureExtract::Structure.new(@md,dob).structure_markup #must happen earlier, node info etc. require + dob=SiSU_DAL_DocumentStructureExtract::Structure.new(@md,dob).structure_markup #must happen earlier, node info etc. require if dob.is =='heading' \ and dob.autonum_ \ and defined? @md.make.num_top \ @@ -229,11 +229,11 @@ module SiSU_Numbering @tuned_file=@tuned_file.flatten end def ocn(data) #and auto segment numbering increment - @tuned_file=SiSU_DocumentStructureExtract::OCN.new(@md,data).ocn + @tuned_file=SiSU_DAL_DocumentStructureExtract::OCN.new(@md,data).ocn @tuned_file end def xml(data) - @tuned_file=SiSU_DocumentStructureExtract::XML.new(@md,data).dom + @tuned_file=SiSU_DAL_DocumentStructureExtract::XML.new(@md,data).dom @tuned_file end def minor_numbering(data) #and auto segment numbering increment @@ -343,9 +343,9 @@ module SiSU_Numbering m=dob.ln.to_s dob_tmp=[] if @md.pagenew.inspect =~/#{m}/ - dob_tmp << SiSU_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new]) << dob + dob_tmp << SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page_new]) << dob elsif @md.pagebreak.inspect =~/#{m}/ - dob_tmp << SiSU_DocumentStructure::ObjectLayout.new.break(Hx[:br_page]) << dob + dob_tmp << SiSU_DAL_DocumentStructure::ObjectLayout.new.break(Hx[:br_page]) << dob end para_result=unless dob_tmp.length > 0; dob else dob_tmp |