7 module CaptionItemColumnModule
9 attr :file_item, :caption_manifest, :item, :column_name
11 def initialize file_item, caption_manifest, item
12 @file_item = file_item
13 @caption_manifest = caption_manifest
15 @column_name = 'caption'
30 def column_template_dir
31 self.filer.template_dir + 'item_column/'
34 def column_template_file_name
35 raise "undefined column_template_file_name\n"
38 def column_template_name
39 self.column_template_dir + self.column_template_file_name
43 self.filer.template_dir + 'caption/'
46 def item_template_file_name
47 raise "undefined item_template_file_name\n"
50 def item_template_name
51 self.item_template_dir + self.item_template_file_name