Add new input type: odt

This commit is contained in:
Tichau committed 2016-09-02 19:16:38 +02:00
1 parent 77d33cbb95
commit fc000f36b2
3 files changed
+3 -2

No files matched your search

@@ -13,7 +13,7 @@ namespace FileConverter.ConversionJobs
return new ConversionJob_ExtractCDA(conversionPreset);
}
if (inputFileExtension == "doc" || inputFileExtension == "docx")
if (inputFileExtension == "doc" || inputFileExtension == "docx" || inputFileExtension == "odt")
{
return new ConversionJob_Word(conversionPreset);
}
+1
View File
@@ -75,6 +75,7 @@ namespace FileConverter
case "pdf":
case "doc":
case "docx":
case "odt":
return InputCategoryNames.Document;
}
+1 -1
View File
@@ -142,7 +142,7 @@
<Component Id="RegistryEntries" Guid="{C3EF3D67-0206-4DBD-B2EA-78FF2E290093}">
<RegistryKey Root="HKCU" Key="Software\FileConverter" ForceDeleteOnUninstall="yes">
<RegistryValue Name="Path" Type="string" Value="[INSTALLFOLDER]FileConverter.exe"/>
<RegistryValue Name="CompatibleInputExtensions" Type="string" Value="3gp;aac;aiff;ape;avi;bik;bmp;cda;doc;docx;exr;flac;flv;gif;ico;jpg;jpeg;m4a;m4v;mkv;mov;mp3;mp4;mpeg;oga;ogg;ogv;pdf;png;psd;svg;tga;tiff;vob;wav;webm;wma;wmv"/>
<RegistryValue Name="CompatibleInputExtensions" Type="string" Value="3gp;aac;aiff;ape;avi;bik;bmp;cda;doc;docx;exr;flac;flv;gif;ico;jpg;jpeg;m4a;m4v;mkv;mov;mp3;mp4;mpeg;odt;oga;ogg;ogv;pdf;png;psd;svg;tga;tiff;vob;wav;webm;wma;wmv"/>
</RegistryKey>
</Component>
</ComponentGroup>