Esempio n. 1
0
 /// <summary>
 /// Constructor
 /// </summary>
 /// <param name="converter">An implementation of AbstractConverter</param>
 public DaisyAddinLib(AbstractConverter converter)
 {
     this.converter       = converter;
     this.resourceManager = new ChainResourceManager();
     // Add a default resource managers (for common labels)
     this.resourceManager.Add(new System.Resources.ResourceManager("DaisyAddinLib.resources.Labels",
                                                                   Assembly.GetExecutingAssembly()));
 }
Esempio n. 2
0
 /* Constructor which initializes all components of the Form */
 public ConverterForm(AbstractConverter converter, string inputFile, string outputFile, ResourceManager manager, bool isDirect, Hashtable listMathMl, Hashtable table, string control, string output_Pipeline)
 {
     InitializeComponent();
     this.converter       = converter;
     this.inputFile       = inputFile;
     this.outputFile      = outputFile;
     this.manager         = manager;
     this.isDirect        = isDirect;
     this.table           = table;
     this.listMathMl      = listMathMl;
     lblProgress.Text     = "Loading translation details. Please wait for a while...";
     lostElements         = new ArrayList();
     this.control         = control;
     this.output_Pipeline = output_Pipeline;
 }
Esempio n. 3
0
 /* Bunch of Docs Constructor*/
 public Progress(AbstractConverter converter, ResourceManager manager, String outputfile, ArrayList list, String category, Hashtable propTable, string control, Hashtable multipleMathMl, string output_Pipeline)
 {
     InitializeComponent();
     this.converter            = converter;
     this.manager              = manager;
     this.outputfilepath       = outputfile;
     subList                   = list;
     this.table                = propTable;
     this.progressBar1.Maximum = subList.Count;
     this.category             = category;
     subDocFootNum             = 1;
     lblProgress.Text          = "Loading translation details. Please wait for a while...";
     AddMathmlDtds();
     this.control         = control;
     this.multipleMathMl  = multipleMathMl;
     this.output_Pipeline = output_Pipeline;
 }