We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9923695 commit 56cc98cCopy full SHA for 56cc98c
2 files changed
OpenDocumentReader/CoreWrapper.mm
@@ -27,6 +27,10 @@ - (int)translate:(NSString *)inputPath into:(NSString *)outputPath at:(NSNumber
27
const odr::DocumentMeta& meta = translator->getMeta();
28
config.entryCount = meta.entryCount;
29
30
+ if (meta.type == odr::DocumentType::TEXT) {
31
+ config.entryCount = 1;
32
+ }
33
+
34
translator->translate([outputPath cStringUsingEncoding:NSUTF8StringEncoding], config);
35
} catch (...) {
36
return -1;
OpenDocumentReader/Info.plist
@@ -36,7 +36,7 @@
<key>CFBundleShortVersionString</key>
37
<string>1.1</string>
38
<key>CFBundleVersion</key>
39
- <string>2</string>
+ <string>3</string>
40
<key>LSRequiresIPhoneOS</key>
41
<true/>
42
<key>UILaunchStoryboardName</key>
0 commit comments