add eval libreoffice writer compare font & subscript & page number

This commit is contained in:
tsuky_chen
2023-12-31 02:33:39 +08:00
parent c937e31b18
commit 52af1b6dd4
5 changed files with 127 additions and 12 deletions

View File

@@ -3,10 +3,40 @@
"snapshot": "libreoffice_writer",
"instruction": "Enter subscript",
"source": "https://ask.libreoffice.org/t/how-to-enter-superscript-and-subscript-in-libreoffice-base-forms-reports/23413",
"config": [],
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=1E6exEA2ZlfIOiiX2NkwRofOApeoIw5AaGJ0JXyDp47c",
"path": "Desktop/Enter_Subscript.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Enter_Subscript.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": "evaluation_dir"
}
"evaluator": {
"func": "compare_line_spacing",
"expected": {
"type": "cloud_file",
"path": "https://drive.google.com/uc?export=download&id=1XVz6gPg_7_-KBAtXTmrfAA5x-jWPjn-7",
"dest": "Enter_Subscript_Gold.docx"
},
"result": {
"type": "vm_file",
"path": "Desktop/Enter_Subscript.docx",
"dest": "Enter_Subscript.docx"
}
}
}

View File

@@ -3,10 +3,35 @@
"snapshot": "libreoffice_writer",
"instruction": "Add page number for every page at the bottom left",
"source": "https://ask.libreoffice.org/t/how-to-start-page-numbering-on-a-certain-page/39931/4",
"config": [],
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=1xj-MauDLOp8TKI76GBd4nV-MRpdwIY8_URql15itlnI",
"path": "Desktop/Add_Page_Number_Bottom_Left.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Add_Page_Number_Bottom_Left.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": "evaluation_dir"
}
"evaluator": {
"func": "has_page_numbers_in_footers",
"result": {
"type": "vm_file",
"path": "Desktop/Add_Page_Number_Bottom_Left.docx",
"dest": "Add_Page_Number_Bottom_Left.docx"
}
}
}

View File

@@ -3,10 +3,36 @@
"snapshot": "libreoffice_writer",
"instruction": "Change the font to \"Times New Roman\" throughout the text.",
"source": "https://ask.libreoffice.org/t/how-do-i-change-the-font-for-the-whole-document-in-writer/9220",
"config": [],
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://doc-04-20-docstext.googleusercontent.com/export/hglu5spf1pl3kjo47q5hl516lk/0jdord1s8easgk928n14o5ploc/1703957510000/108888117743638485671/108888117743638485671/1irIYOEZskuu70YPnhHYBy4-3uNpt7seiWfiL8ioG8hI?format=docx&dat=AOBvIb3dVvZfsPetuWvygmWVE0DN2EwCvS70RO3tsI1xB-JfwsFWjAhZ-G_wtxHYj7_U3pqO1GAElZkQ2iEjiC0SQWWnfWvbKAYqWgy9SX-YGKT2qQFy8lk1DJ4n62nmLLSheQcC21L7s66OOtRriBzQCIS-JTIqA-e7WhH3tgmBeGtgGl0QFootAsI-XsOYm_h0XtkJhfptTw1m4VcCapv5VW9NZhdqbaZHXT1UgGUtMqqRAN0ByJbhcbTmXeM_NDwyE650ti82NDkGZDo52zjxNxo8DeraUPl9Gz6Nq4q3uQPfxsPRMdIn0feWei8RlJLdHPAaGHKFpHH8BRmjb6VFoGvbsk3kUIROd326NCKNtRT_7g9SVYHw_zSSLW-yZa9IvVJIdn_9Qc1kiCT7uvCMc-pn3R7Yk7yB4Xx7cBvQx1CdhE0Pv0PBbOXnMT10mkVDAs1q4YBzB92zpY9U6Ll3ZNNiXfCaBB8uCgGWtFtyml999_hJG1OTHDCN4mwAnsfmVlj3wJM8gbwlPCUjvIH4vEeS-jWGdTroqaPGFTSBp8UY9nFNrM2VZNa0uxGPwM8Y_S3YxIjqILsbPPiID3R9g4mwp4yFfpQ18opy1W9uWu4D4WmoVFzVHnTuYZ5y3FETB2gSLuMB-gLMpDzUAHwm16VpOdth44h9d2ViHlN61ybbj01-cl75iKCztEZ6NWJFv1mfCF4r33pYDiSOw8oTMXsFxYIlsMub_KLiav9S5Rh9V084Lz9jypnjzid-_mKCuKYXP0xqhOsiwoI8Gk1Z7CAgAJgx6EkmOag-XEjSqF9sYyHyLCLR_8UwWKqUpHumusriVciFgm7LhhQ8B21s-TUgBDP4Zby1G1v6GHe71w3UWK4dZ83wf0MsZUg",
"path": "Desktop/Change_Font_Through_File.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Change_Font_Through_File.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": "evaluation_dir"
}
"evaluator": {
"func": "compare_font_names",
"expected": "Times New Roman",
"result": {
"type": "vm_file",
"path": "Desktop/Change_Font_Through_File.docx",
"dest": "Change_Font_Through_File.docx"
}
}
}