add eval libreoffice writer compare image & centering & check file existence

This commit is contained in:
tsuky_chen
2023-12-31 03:17:53 +08:00
parent 52af1b6dd4
commit f04e625ad9
5 changed files with 112 additions and 10 deletions

View File

@@ -3,10 +3,32 @@
"snapshot": "libreoffice_writer",
"instruction": "Export the current document into PDF, keep the file name",
"source": "https://www.libreofficehelp.com/save-export-writer-documents-in-pdf-epub-format/",
"config": [],
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=15OtwtRFSdgyHokESupem6dBvtPeiWyKoZ7Pk5pmdzQc",
"path": "Desktop/Save_Writer_PDF.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Save_Writer_PDF.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": "evaluation_dir"
}
"evaluator": {
"func": "check_file_exists",
"file_name": "Save_Writer_PDF.pdf",
"directory": "/home/user/Downloads/"
}
}