mirror of
https://github.com/gotenberg/gotenberg.git
synced 2026-08-17 12:42:16 +01:00
adding flat open document support (fixes #47)
This commit is contained in:
@@ -12,6 +12,7 @@ You may send one or more Office documents. Following file extensions are accepte
|
|||||||
|
|
||||||
* `.txt`
|
* `.txt`
|
||||||
* `.rtf`
|
* `.rtf`
|
||||||
|
* `.fodt`
|
||||||
* `.doc`
|
* `.doc`
|
||||||
* `.docx`
|
* `.docx`
|
||||||
* `.odt`
|
* `.odt`
|
||||||
|
|||||||
@@ -647,6 +647,7 @@ $client->store($request, $dest);
|
|||||||
<ul>
|
<ul>
|
||||||
<li><code>.txt</code></li>
|
<li><code>.txt</code></li>
|
||||||
<li><code>.rtf</code></li>
|
<li><code>.rtf</code></li>
|
||||||
|
<li><code>.fodt</code></li>
|
||||||
<li><code>.doc</code></li>
|
<li><code>.doc</code></li>
|
||||||
<li><code>.docx</code></li>
|
<li><code>.docx</code></li>
|
||||||
<li><code>.odt</code></li>
|
<li><code>.odt</code></li>
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import (
|
|||||||
var officeExts = []string{
|
var officeExts = []string{
|
||||||
".txt",
|
".txt",
|
||||||
".rtf",
|
".rtf",
|
||||||
|
".fodt",
|
||||||
".doc",
|
".doc",
|
||||||
".docx",
|
".docx",
|
||||||
".odt",
|
".odt",
|
||||||
|
|||||||
Reference in New Issue
Block a user