mirror of
https://github.com/ONLYOFFICE/desktop-sdk.git
synced 2026-02-10 18:15:05 +08:00
Fix bug 78244
This commit is contained in:
@ -8277,7 +8277,12 @@ void CCefViewEditor::CreateLocalFile(const AscEditorType& nFileFormatSrc, const
|
||||
oChecker.nFileType = CAscApplicationManager::GetFileFormatByExtentionForSave(sTemplatePath);
|
||||
|
||||
if (oChecker.nFileType & AVS_OFFICESTUDIO_FILE_DOCUMENT)
|
||||
nFileFormat = AscEditorType::etDocument;
|
||||
{
|
||||
if (oChecker.nFileType == AVS_OFFICESTUDIO_FILE_DOCUMENT_OFORM_PDF)
|
||||
nFileFormat = AscEditorType::etDocumentMasterForm;
|
||||
else
|
||||
nFileFormat = AscEditorType::etDocument;
|
||||
}
|
||||
else if (oChecker.nFileType & AVS_OFFICESTUDIO_FILE_PRESENTATION)
|
||||
nFileFormat = AscEditorType::etPresentation;
|
||||
else if (oChecker.nFileType & AVS_OFFICESTUDIO_FILE_SPREADSHEET)
|
||||
|
||||
Reference in New Issue
Block a user