Skip to content

Latest commit

 

History

History
66 lines (46 loc) · 2.21 KB

File metadata and controls

66 lines (46 loc) · 2.21 KB

SpreadsheetFileRequest

Request for spreadsheet files, like xls, xlsx, xlsm, ods

Properties

Name Type Description Notes
sourceLanguage String Language of original file
targetLanguages List<String> List of target languages
originalFileName String Type in the file name. If null will be as request ID. [optional]
url String Link to file for translation. Ignore, if &quot;file&quot; property not null
origin String Url or name of the application using this SDK. Not required. [optional]
isNeedAlignment Boolean Do result formating like the source. This option needs more expensive requests. [optional]
translationDictionary Map<String, String> Set a specific translation between source and target words. [optional]
savingMode SavingModeEnum Toggle file saving mode for storage. Is Files by default. [optional]
format FormatEnum Input file format
outputFormat OutputFormatEnum output file format
worksheets List<Integer> List of Worksheets to translate by sequence number (1-based index). If not present, translate all worksheets [optional]
ranges Map<String, WorksheetData> Dictionary of ranges in Excel workbooks [optional]

Enum: SavingModeEnum

Name Value
FILES "Files"
ARCHIVE "Archive"
BOTH "Both"

Enum: FormatEnum

Name Value
UNKNOWN "Unknown"
XLS "Xls"
XLSX "Xlsx"
XLSM "Xlsm"
ODS "Ods"

Enum: OutputFormatEnum

Name Value
XLS "Xls"
XLSX "Xlsx"
XLSM "Xlsm"
XLSB "Xlsb"
HTML "Html"
PDF "Pdf"
XPS "Xps"
ODS "Ods"
MD "Md"
DOCX "Docx"
PPTX "Pptx"
TIFF "Tiff"