mirror of
https://github.com/ONLYOFFICE/document-server-integration.git
synced 2026-04-07 14:06:11 +08:00
csharp: convert after uploading only tagged formats
This commit is contained in:
@ -104,9 +104,7 @@ namespace OnlineEditorsExample
|
||||
public static List<Format> Convertible()
|
||||
{
|
||||
return All()
|
||||
.Where(format => (format.Type == "cell" && format.Convert.Contains("xlsx"))
|
||||
|| (format.Type == "slide" && format.Convert.Contains("pptx"))
|
||||
|| (format.Type == "word" && format.Convert.Contains("docx")))
|
||||
.Where(format => format.Actions.Contains("auto-convert"))
|
||||
.ToList();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user