Exemplo n.º 1
0
        private void OnToolboxInterlinearExportMenuItem_Click(object sender, EventArgs e)
        {
            Analytics.Track("Export Toolbox Interlinear");

            var mediaFileName = Path.GetFileName(AssociatedComponentFile.PathToAnnotatedFile);
            var action        = new Action <string>(path => ToolboxTranscriptionExporter.Export(_file.ParentElement.Id, mediaFileName, path, (((AnnotationComponentFile)_file).Tiers)));

            DoSimpleExportDialog(".txt", "Toolbox Standard Format File", "interlinear", "Toolbox", action);
        }
Exemplo n.º 2
0
        private void OnToolboxInterlinearExportMenuItem_Click(object sender, EventArgs e)
        {
            Analytics.Track("Export Toolbox Interlinear");

            var mediaFileName = Path.GetFileName(AssociatedComponentFile.PathToAnnotatedFile);
            var action        = new Action <string>(path => ToolboxTranscriptionExporter.Export(_file.ParentElement.Id, mediaFileName, path, (((AnnotationComponentFile)_file).Tiers)));

            DoSimpleExportDialog(".txt",
                                 LocalizationManager.GetString("SessionsView.Transcription.TextAnnotation.CommaSeparatedValuesFileDescriptor", "Toolbox Standard Format File ({0})"),
                                 "interlinear", "Toolbox", action);
        }