mirror of
https://github.com/xiaoqidun/ofdgo.git
synced 2026-10-31 11:01:19 +08:00
1 parent
4962955a40
commit
e54203b7f4
2 files changed
+3
No files matched your search
@@ -13086,6 +13086,7 @@ function showError(err, empty = !state.doc) {
|
|||||||
|
|
||||||
function setBusy(busy, text = "", percent = 0, status = "", tab = documentTab()) {
|
function setBusy(busy, text = "", percent = 0, status = "", tab = documentTab()) {
|
||||||
const operation = operationRequest(tab);
|
const operation = operationRequest(tab);
|
||||||
|
if (!busy && operation) tab.preparationBusy = true;
|
||||||
busy ||= Boolean(tab.editTask || operation);
|
busy ||= Boolean(tab.editTask || operation);
|
||||||
if (operation?.preparing && operation.progress) ({text, percent} = operation.progress);
|
if (operation?.preparing && operation.progress) ({text, percent} = operation.progress);
|
||||||
const resumeSearch = tab.busy && !busy && tab.state.searchPaused;
|
const resumeSearch = tab.busy && !busy && tab.state.searchPaused;
|
||||||
|
|||||||
@@ -1622,6 +1622,8 @@ func (e *businessEngine) checkDocument(name string) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
switch name {
|
switch name {
|
||||||
|
case "ofdgoFontFaces", "ofdgoFontMenu", "ofdgoFontPreferenceOrder", "ofdgoFontFace", "ofdgoCheckTextFont":
|
||||||
|
return nil
|
||||||
case "ofdgoDiscardObjects", "ofdgoExportObjects", "ofdgoCheckDocument", "ofdgoPDFContext", "ofdgoOpenPDF", "ofdgoOpen", "ofdgoLoadPDF", "ofdgoConfigure", "ofdgoDocumentInfo", "ofdgoSVGFontData", "ofdgoRenderBackends", "ofdgoOutputFormats", "ofdgoExportFormats", "ofdgoParsePageRange", "ofdgoMatchFontFiles", "ofdgoOutlineLinks", "ofdgoDocumentNavigation", "ofdgoInvoices", "ofdgoRenderPage", "ofdgoSearchPage", "ofdgoPageTextString", "ofdgoOpenLinks", "ofdgoDiscardPrint", "ofdgoDiscardSave", "ofdgoDetectFormat", "ofdgoConvertFile", "ofdgoPackFiles", "ofdgoLoadImport", "ofdgoCreateDocument", "ofdgoLayoutPrint", "ofdgoPrintSide", "ofdgoPrintPDF":
|
case "ofdgoDiscardObjects", "ofdgoExportObjects", "ofdgoCheckDocument", "ofdgoPDFContext", "ofdgoOpenPDF", "ofdgoOpen", "ofdgoLoadPDF", "ofdgoConfigure", "ofdgoDocumentInfo", "ofdgoSVGFontData", "ofdgoRenderBackends", "ofdgoOutputFormats", "ofdgoExportFormats", "ofdgoParsePageRange", "ofdgoMatchFontFiles", "ofdgoOutlineLinks", "ofdgoDocumentNavigation", "ofdgoInvoices", "ofdgoRenderPage", "ofdgoSearchPage", "ofdgoPageTextString", "ofdgoOpenLinks", "ofdgoDiscardPrint", "ofdgoDiscardSave", "ofdgoDetectFormat", "ofdgoConvertFile", "ofdgoPackFiles", "ofdgoLoadImport", "ofdgoCreateDocument", "ofdgoLayoutPrint", "ofdgoPrintSide", "ofdgoPrintPDF":
|
||||||
return nil
|
return nil
|
||||||
default:
|
default:
|
||||||
|
|||||||
Reference in new issue
Block a user