Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var SupportedFormats = map[string][]string{
"pdf": {"doc", "docx", "txt", "odt", "rtf"},
"doc": {"pdf", "docx", "txt", "odt", "rtf"},
"docx": {"pdf", "doc", "txt", "odt", "rtf"},
"odt": {"pdf", "doc", "docx", "txt", "rtf"},
"rtf": {"pdf", "doc", "docx", "txt", "odt"},
"txt": {"pdf", "doc", "docx", "odt", "rtf"},
}
SupportedFormats defines the supported input and output formats
Functions ¶
func ConvertDocument ¶
ConvertDocument converts a document from one format to another using LibreOffice
func IsFormatSupported ¶
func MergeToPDF ¶
Types ¶
type ConversionOptions ¶
ConversionOptions contains options for document conversion
Click to show internal directories.
Click to hide internal directories.