{"id":11849,"date":"2025-12-16T18:32:21","date_gmt":"2025-12-16T09:32:21","guid":{"rendered":"https:\/\/www.moonmile.net\/blog\/?p=11849"},"modified":"2025-12-30T15:28:51","modified_gmt":"2025-12-30T06:28:51","slug":"libreoffice-calc-%e3%81%a7-python-%e3%81%8b%e3%82%89%e5%b8%b3%e7%a5%a8%e4%bd%9c%e6%88%90%ef%bc%88%e3%83%86%e3%83%b3%e3%83%97%e3%83%ac%e3%83%bc%e3%83%88%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%81%ae","status":"publish","type":"post","link":"http:\/\/www.moonmile.net\/blog\/archives\/11849","title":{"rendered":"LibreOffice Calc \u3067 Python \u304b\u3089\u5e33\u7968\u4f5c\u6210\uff08\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5229\u7528\uff09"},"content":{"rendered":"\n<p>\u524d\u56de\u304b\u3089\u306e\u7d9a\u304d\u3002<\/p>\n\n\n\n<p>\u534a\u65e5\u307b\u3069\u8abf\u3079\u3066\u3001LibreOffice Calc \u3067\u306f\u3001\u5370\u5237\u7528\u306e\u30da\u30fc\u30b8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u30d8\u30c3\u30c0\u30fc\u3084\u30d5\u30c3\u30bf\u30fc\u306a\u3069\uff09\u3092 UNO API \u304b\u3089\u306f\u64cd\u4f5c\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u30b3\u30d4\u30fc\u3067\u304d\u306a\u3044\u306e\u3082\u5909\u3060\u3051\u3069\u30de\u30af\u30ed\u304b\u3089\u3082\u64cd\u4f5c\u304c\u3067\u304d\u307e\u305b\u3093\u306d\u3002<\/p>\n\n\n\n<p>\u4ed5\u65b9\u304c\u306a\u3044\u306e\u3067\u3001\u3042\u3089\u304b\u3058\u3081\u5370\u5237\u7528\u306e\u30da\u30fc\u30b8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\uff08*.ots\uff09\u3092\u4f5c\u3063\u3066\u304a\u3044\u3066\u3001\u305d\u308c\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u306b\u3057\u307e\u3059\u3002\u5225\u306b\u666e\u901a\u306e Calc \u30d5\u30a1\u30a4\u30eb\uff08*.ods\uff09\u3092\u4f7f\u3063\u3066\u3082\u4f5c\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30da\u30fc\u30b8\u30b9\u30bf\u30a4\u30eb\u306e\u4f5c\u6210<\/h2>\n\n\n\n<p>\u3042\u308c\u3053\u308c\u63a2\u3059\u3068\u30da\u30fc\u30b8\u30b9\u30bf\u30a4\u30eb\u304c\u4f5c\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3057\u305f\u3002<br>\u300c\u30b9\u30bf\u30a4\u30eb\u30da\u30a4\u30f3\u3092\u958b\u304f\u300d\u2192\u300c\u30da\u30fc\u30b8\u30b9\u30bf\u30a4\u30eb\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u300d\u3068\u3044\u3046\u624b\u9806\u3067\u30da\u30fc\u30b8\u30b9\u30bf\u30a4\u30eb\uff08\u3044\u308f\u3086\u308b\u30b7\u30fc\u30c8\u306b\u7d10\u3065\u3051\u308b\u30b9\u30bf\u30a4\u30eb\uff09\u3092\u4f5c\u6210\uff06\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u300c\u6a19\u6e96\u300d\u3068\u300c\u30ec\u30dd\u30fc\u30c8\u300d\u3068\u3044\u3046\u30b9\u30bf\u30a4\u30eb\u304c\u4f5c\u3063\u3066\u3044\u3042\u308b\u306e\u3067\u3001\u3053\u3053\u3067\u306f\u300c\u5e33\u7968\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d\u3068\u3044\u3046\u30b9\u30bf\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43-1024x649.png\" alt=\"\" class=\"wp-image-11850\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43-1024x649.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43-300x190.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43-768x487.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-43.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30d8\u30c3\u30c0\u30fc\u3001\u30d5\u30c3\u30bf\u30fc\u306e\u4ed5\u65b9\u306f Excel \u306e\u8a2d\u5b9a\u3068\u4f3c\u305f\u3088\u3046\u306a\u611f\u3058\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44-1024x649.png\" alt=\"\" class=\"wp-image-11851\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44-1024x649.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44-300x190.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44-768x487.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-44.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u78ba\u304b Excel \u3067\u306f\u5370\u5237\u30d7\u30ec\u30d3\u30e5\u30fc\u304b\u3089\u98db\u3079\u305f\u306f\u305a\u306a\u306e\u3067\u3059\u304c\u3001LibreOffice Calc \u3067\u306f\u98db\u3079\u307e\u305b\u3093\u3002\u307e\u3042\u3001\u3042\u307e\u308a\u5370\u5237\u3092\u3057\u306a\u3044\u306e\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002\u305f\u3060\u3057\u3001\u6587\u66f8\u3068\u3057\u3066 PDF \u306b\u5909\u63db\u3059\u308b\u3053\u3068\u304c\u591a\u3044\u3067\u3057\u3087\u3046\u304b\u3089\u3001\u3053\u3046\u3044\u3046\u5370\u5237\u30b9\u30bf\u30a4\u30eb\u3082\u6574\u5099\u3057\u3066\u307b\u3057\u3044\u304b\u306a\u3068\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45-1024x649.png\" alt=\"\" class=\"wp-image-11852\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45-1024x649.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45-300x190.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45-768x487.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-45.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u3053\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u300creport-template.ots\u300d\u3042\u308b\u3044\u306f\u300creport-template.ods\u300d\u306e\u3088\u3046\u306b\u4fdd\u5b58\u3057\u3066\u304a\u304d\u307e\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30d5\u30a1\u30a4\u30eb\u306e *.ots \u306b\u3057\u3066\u3057\u307e\u3046\u3068\u3001<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">C:\\Users\\Tomoaki\\AppData\\Roaming\\LibreOffice\\4\\user\\template\\report-template.ots<\/pre>\n\n\n\n<p>\u3053\u3093\u306a\u611f\u3058\u306e LibreOffice \u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u7528\u306e\u30d5\u30a9\u30eb\u30c0\u30fc\u306b\u4fdd\u5b58\u3055\u308c\u3066\u3057\u307e\u3046\u306e\u3067\u7d50\u69cb\u9762\u5012\u3067\u3059\u3002\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6587\u66f8\u3068\u306f\u3044\u3048 Python \u30de\u30af\u30ed\u304b\u3089\u53c2\u7167\u3059\u308b\u3060\u3051\u306a\u306e\u3067\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u3068\u540c\u3058\u5834\u6240\u306b\u7f6e\u3044\u305f\u307b\u3046\u304c\u5b9f\u9a13\u304c\u3057\u3084\u3059\u3044\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6587\u66f8\u3092\u958b\u3044\u3066\u3001\u5225\u540d\u3067\u9589\u3058\u308b<\/h2>\n\n\n\n<p>\u3044\u308d\u3044\u308d\u8a66\u3057\u305f\u306e\u3067\u3059\u304c\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u304c\u4e00\u756a\u5b89\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6587\u66f8\u3092\u958b\u304f<\/li>\n\n\n\n<li>\u30c7\u30fc\u30bf\u7b49\u3092\u66f8\u304d\u8fbc\u3080<\/li>\n\n\n\n<li>\u5225\u540d\u3067\u30d5\u30a1\u30a4\u30eb\u3092\u4fdd\u5b58\u3057\u3066\u9589\u3058\u308b<\/li>\n<\/ol>\n\n\n\n<p>\u9014\u4e2d\u306e\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6587\u66f8\u306e\u307b\u3046\u306e Calc \u3092\u958b\u3044\u305f\u307e\u307e\u306b\u3057\u3088\u3046\u304b\u3068\u601d\u3063\u305f\u306e\u3067\u3059\u304c\u3001Calc \u304c\u843d\u3061\u307e\u3059\u3002\u3069\u3046\u3084\u3089\u3001UI \u3067\u4f55\u304b\u53d7\u3051\u4ed8\u3051\u3088\u3046\u3068\u3057\u3066\u3046\u307e\u304f\u3044\u3063\u3066\u3044\u306a\u3044\u3088\u3046\u3067\u3059\u3002\u30de\u30af\u30ed\u3092\u52d5\u304b\u3057\u3066\u3044\u308b Calc \u3092 Hidden \u306b\u3057\u3066\u304a\u304f\u3068\u5b89\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\nimport uno\nfrom pathlib import Path\n\n# \u30b5\u30fc\u30d0\u30fc\u306e\u8d77\u52d5\n# &amp; &quot;C:\\Program Files\\LibreOffice\\program\\soffice&quot; --accept=&quot;socket,host=localhost,port=2002;urp;&quot; --norestore --nologo\n# PowerShell \u3067\u306e\u8d77\u52d5\n# &amp; &quot;C:\\Program Files\\LibreOffice\\program\\python&quot; .\\calcReport002.py\n\n&quot;&quot;&quot;\n\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304b\u3089\u65b0\u898f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u4f5c\u6210\u3057\u3066 Calc \u30ec\u30dd\u30fc\u30c8\u3092\u751f\u6210\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u3002\n\n\u624b\u9806:\n1. \u300c\u5e33\u7968\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u300d(report-template.ots) \u3092\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u3057\u3066\u65b0\u898f\u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u3092\u958b\u304f\n2. \u30b5\u30f3\u30d7\u30eb\u30c7\u30fc\u30bf\u306e\u884c\u6570\u306b\u5408\u308f\u305b\u3066\u660e\u7d30\u884c\u306e\u66f8\u5f0f\u3092\u8907\u88fd\n3. \u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u3080\n4. \u5225\u540d\u3067\u4fdd\u5b58\n&quot;&quot;&quot;\n\n\n# \u8a2d\u5b9a: \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u51fa\u529b\u5148\nTEMPLATE_NAME = &quot;report-template.ots&quot;\nOUTPUT_NAME = &quot;report-output.ods&quot;\nTEMPLATE_SHEET_NAME = &quot;Template&quot;  # \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u5185\u306e\u5e33\u7968\u30b7\u30fc\u30c8\u540d\nREPORT_SHEET_NAME = &quot;Report&quot;      # \u5fc5\u8981\u306a\u3089\u3053\u306e\u540d\u524d\u306e\u30b7\u30fc\u30c8\u3092\u4f7f\u7528\uff08\u5b58\u5728\u3057\u306a\u3051\u308c\u3070\u5148\u982d\u30b7\u30fc\u30c8\u3092\u4f7f\u3046\uff09\n\n\ndef to_file_url(path: Path) -&gt; str:\n\treturn uno.systemPathToFileUrl(str(path.resolve()))\n\n\ndef connect_desktop():\n\tlocal_ctx = uno.getComponentContext()\n\tresolver = local_ctx.ServiceManager.createInstanceWithContext(\n\t\t&quot;com.sun.star.bridge.UnoUrlResolver&quot;, local_ctx\n\t)\n\tctx = resolver.resolve(\n\t\t&quot;uno:socket,host=localhost,port=2002;urp;StarOffice.ComponentContext&quot;\n\t)\n\tsmgr = ctx.ServiceManager\n\tdesktop = smgr.createInstanceWithContext(&quot;com.sun.star.frame.Desktop&quot;, ctx)\n\tdoc = desktop.getCurrentComponent()\n\tif doc is None:\n\t\traise RuntimeError(&quot;\u30a2\u30af\u30c6\u30a3\u30d6\u306a Calc \u30c9\u30ad\u30e5\u30e1\u30f3\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093&quot;)\n\treturn desktop, doc\n\n\ndef load_template(desktop, template_path: Path):\n\turl = to_file_url(template_path)\n\tprops = (uno.createUnoStruct(&quot;com.sun.star.beans.PropertyValue&quot;),)\n\tprops&#x5B;0].Name = &quot;Hidden&quot;\n\tprops&#x5B;0].Value = True\n\treturn desktop.loadComponentFromURL(url, &quot;_blank&quot;, 0, props)\n\n\ndef ensure_rows_with_format(sheet, template_row_idx: int, start_row: int, rows_needed: int, last_col: int):\n\ttemplate_range = sheet.getCellRangeByPosition(0, template_row_idx, last_col, template_row_idx)\n\tsource_addr = template_range.getRangeAddress()\n\ttemplate_height = sheet.getRows().getByIndex(template_row_idx).Height\n\n\tfor i in range(rows_needed):\n\t\ttarget_row = start_row + i\n\t\tif target_row == template_row_idx:\n\t\t\tcontinue\n\t\tdest_addr = uno.createUnoStruct(&quot;com.sun.star.table.CellAddress&quot;)\n\t\tdest_addr.Sheet = source_addr.Sheet\n\t\tdest_addr.Column = 0\n\t\tdest_addr.Row = target_row\n\t\tsheet.copyRange(dest_addr, source_addr)\n\t\tsheet.getRows().getByIndex(target_row).Height = template_height\n\n\ndef write_data(sheet, data, start_row: int = 1, start_col: int = 0):\n\tfor r, row in enumerate(data):\n\t\tfor c, value in enumerate(row):\n\t\t\tcell = sheet.getCellByPosition(start_col + c, start_row + r)\n\t\t\tif isinstance(value, (int, float)):\n\t\t\t\tcell.setValue(value)\n\t\t\telse:\n\t\t\t\tcell.setString(str(value))\n\n\ndef main():\n\tbase_dir = Path(__file__).resolve().parent\n\ttemplate_path = base_dir \/ TEMPLATE_NAME\n\toutput_path = base_dir \/ OUTPUT_NAME\n\n\tsample_data = &#x5B;\n\t\t&#x5B;&quot;001&quot;, &quot;Alice&quot;, &quot;Sales&quot;, 1200.5],\n\t\t&#x5B;&quot;002&quot;, &quot;Bob&quot;, &quot;Marketing&quot;, 980.0],\n\t\t&#x5B;&quot;003&quot;, &quot;Carol&quot;, &quot;Engineering&quot;, 1540.75],\n\t\t&#x5B;&quot;004&quot;, &quot;Dave&quot;, &quot;Support&quot;, 760.25],\n\t]\n\n\tif not template_path.exists():\n\t\traise FileNotFoundError(f&quot;\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u304c\u898b\u3064\u304b\u308a\u307e\u305b\u3093: {template_path}&quot;)\n\n\tdesktop, _ = connect_desktop()\n\tdoc = load_template(desktop, template_path)\n\n\t# \u5e33\u7968\u30b7\u30fc\u30c8\u3092\u53d6\u5f97\uff08\u6307\u5b9a\u540d\u304c\u306a\u3051\u308c\u3070\u5148\u982d\u30b7\u30fc\u30c8\uff09\n\tsheets = doc.Sheets\n\tif sheets.hasByName(REPORT_SHEET_NAME):\n\t\treport_sheet = sheets.getByName(REPORT_SHEET_NAME)\n\telif sheets.hasByName(TEMPLATE_SHEET_NAME):\n\t\treport_sheet = sheets.getByName(TEMPLATE_SHEET_NAME)\n\telse:\n\t\treport_sheet = sheets.getByIndex(0)\n\n\t# \u30c7\u30fc\u30bf\u4ef6\u6570\u306b\u5408\u308f\u305b\u3066\u884c\u3092\u7528\u610f\uff08\u30d8\u30c3\u30c0\u30fc1\u884c + \u30c7\u30fc\u30bf\u884c\uff09\n\tlast_col = len(sample_data&#x5B;0]) - 1 if sample_data else 0\n\tensure_rows_with_format(\n\t\tsheet=report_sheet,\n\t\ttemplate_row_idx=1,\n\t\tstart_row=1,\n\t\trows_needed=len(sample_data),\n\t\tlast_col=last_col,\n\t)\n\n\t# \u30c7\u30fc\u30bf\u3092\u66f8\u304d\u8fbc\u307f\uff081\u884c\u76ee\u306f\u30d8\u30c3\u30c0\u30fc\u60f3\u5b9a\uff09\n\twrite_data(report_sheet, sample_data, start_row=1, start_col=0)\n\t# \u30b7\u30fc\u30c8\u540d\u3092\u5909\u66f4\n\treport_sheet.Name = &quot;\u7d66\u4e0e\u30ec\u30dd\u30fc\u30c8&quot;\n\n\t# \u5225\u540d\u3067\u4fdd\u5b58\n\tstore_props = (uno.createUnoStruct(&quot;com.sun.star.beans.PropertyValue&quot;),)\n\tstore_props&#x5B;0].Name = &quot;FilterName&quot;\n\tstore_props&#x5B;0].Value = &quot;calc8&quot;\n\tdoc.storeToURL(to_file_url(output_path), store_props)\n\tprint(f&quot;\u30ec\u30dd\u30fc\u30c8\u3092\u4fdd\u5b58\u3057\u307e\u3057\u305f: {output_path}&quot;)\n\n\t# \u5f8c\u51e6\u7406\n\ttry:\n\t\tdoc.dispose()\n\texcept Exception:\n\t\tpass\n\n\nif __name__ == &quot;__main__&quot;:\n\ttry:\n\t\tmain()\n\texcept Exception as e:\n\t\tprint(f&quot;error: {e}&quot;)\n\n\n<\/pre><\/div>\n\n\n<p>\u5f8c\u3067\u3001\u3082\u3046\u5c11\u3057\u696d\u52d9\u7528\u306e Python \u30b3\u30fc\u30c9\u3092\u6574\u7406\u3057\u307e\u3059\u304c\u3001\u809d\u306f\u4ee5\u4e0b\u306e\u90e8\u5206\u3067\u3059\u3002<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: python; title: ; notranslate\" title=\"\">\ndef load_template(desktop, template_path: Path):\n\turl = to_file_url(template_path)\n\tprops = (uno.createUnoStruct(&quot;com.sun.star.beans.PropertyValue&quot;),)\n\tprops&#x5B;0].Name = &quot;Hidden&quot;\n\tprops&#x5B;0].Value = True\n\treturn desktop.loadComponentFromURL(url, &quot;_blank&quot;, 0, props)\n\n<\/pre><\/div>\n\n\n<p>\u3053\u3053\u3067 Hidden \u306e\u5024\u3092 False \u306b\u3059\u308b\u3068 Calc \u304c\u8868\u793a\u3055\u308c\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u983b\u7e41\u306b Calc \u304c\u843d\u3061\u307e\u3059\u3002UNO API \u3067\u64cd\u4f5c\u3057\u3066\u3044\u308b\u3068\u304d\u306f\u3001UI \u3092\u6b62\u3081\u305f\u307b\u3046\u304c\u3088\u3055\u305d\u3046\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u5e33\u7968\u4f5c\u6210<\/h2>\n\n\n\n<p>\u4f5c\u6210\u3067\u304d\u305f report-output.ods \u304c\u3053\u308c\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46-1024x649.png\" alt=\"\" class=\"wp-image-11853\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46-1024x649.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46-300x190.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46-768x487.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-46.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u5370\u5237\u30d7\u30ec\u30d3\u30e5\u30fc<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"649\" src=\"https:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47-1024x649.png\" alt=\"\" class=\"wp-image-11854\" srcset=\"http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47-1024x649.png 1024w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47-300x190.png 300w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47-768x487.png 768w, http:\/\/www.moonmile.net\/blog\/wp-content\/uploads\/2025\/12\/image-47.png 1089w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>\u30d8\u30c3\u30c0\u30fc\u3001\u30d5\u30c3\u30bf\u30fc\u306e\u64cd\u4f5c\u306f\u3067\u304d\u306a\u3044\u306e\u3067\u3001\u3042\u3089\u304b\u3058\u3081\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u6587\u66f8\u306b\u5165\u308c\u3066\u304a\u304d\u307e\u3059\u3002\u30de\u30af\u30ed\u304b\u3089\u64cd\u4f5c\u3067\u304d\u306a\u3044\u306e\u306f\u75db\u3044\u306e\u3067\u3059\u304c\u3001\u793e\u540d\u306a\u3069\u306f\u56fa\u5b9a\u306b\u306a\u308b\u3057\u5370\u5237\u3057\u305f\u3068\u304d\u306e\u65e5\u6642\u306f\u30d8\u30c3\u30c0\u30fc\/\u30d5\u30c3\u30bf\u30fc\u306e\u6a5f\u80fd\u3068\u3057\u3066\u7528\u610f\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u3042\u307e\u308a\u4e0d\u4fbf\u306b\u306f\u306a\u3089\u306a\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u8907\u6570\u30da\u30fc\u30b8\u306b\u306a\u3063\u305f\u3068\u304d\u306e\u8a2d\u5b9a\u3068\u304b\u306f Excel \u3068\u540c\u3058\u306a\u306e\u3067\u3001\u3053\u308c\u3082\u3044\u3051\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6b21\u306f\u3001\u88cf\u306b\u30c7\u30fc\u30bf\u30b7\u30fc\u30c8\u3092\u8a2d\u5b9a\u3057\u3066\u95a2\u6570\u3068\u304b\u3067\u30bb\u30eb\u53c2\u7167\u3092\u3057\u3066\u3044\u308b\u3068\u304d\u306e\u52d5\u4f5c\u3067\u3059\u306d\u3002\u8acb\u6c42\u66f8\u3068\u304b\u3092\u4f5c\u308b\u3068\u304d\u306b\u4fbf\u5229\u306a\u65b9\u6cd5\u3067\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u524d\u56de\u304b\u3089\u306e\u7d9a\u304d\u3002 \u534a\u65e5\u307b\u3069\u8abf\u3079\u3066\u3001LibreOffice Calc \u3067\u306f\u3001\u5370\u5237\u7528\u306e\u30da\u30fc\u30b8\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\uff08\u30d8\u30c3\u30c0\u30fc\u3084\u30d5\u30c3\u30bf\u30fc\u306a\u3069\uff09\u3092 UNO API \u304b\u3089\u306f\u64cd\u4f5c\u3067\u304d\u306a\u3044\u3053\u3068\u304c\u308f\u304b\u308a\u307e\u3057\u305f\u3002\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3067\u30b3\u30d4\u30fc\u3067\u304d\u306a\u3044\u306e &hellip; <a href=\"http:\/\/www.moonmile.net\/blog\/archives\/11849\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3,109],"tags":[],"class_list":["post-11849","post","type-post","status-publish","format-standard","hentry","category-dev","category-libreoffice"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11849","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/comments?post=11849"}],"version-history":[{"count":2,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11849\/revisions"}],"predecessor-version":[{"id":11856,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/posts\/11849\/revisions\/11856"}],"wp:attachment":[{"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/media?parent=11849"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/categories?post=11849"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.moonmile.net\/blog\/wp-json\/wp\/v2\/tags?post=11849"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}