{"id":1098800,"date":"2025-01-08T15:24:29","date_gmt":"2025-01-08T07:24:29","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/1098800.html"},"modified":"2025-01-08T15:24:45","modified_gmt":"2025-01-08T07:24:45","slug":"python%e7%94%9f%e6%88%90word%e5%a6%82%e4%bd%95%e7%a9%ba%e4%b8%a4%e6%a0%bc-2","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/1098800.html","title":{"rendered":"python\u751f\u6210word\u5982\u4f55\u7a7a\u4e24\u683c"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25062833\/3843dc98-1bea-4661-9a64-6380ff336b03.webp\" alt=\"python\u751f\u6210word\u5982\u4f55\u7a7a\u4e24\u683c\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u751f\u6210Word\u6587\u6863\u5e76\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684<code>python-docx<\/code>\u5e93\u3002\u4ee5\u4e0b\u662f\u5b9e\u73b0\u8fd9\u4e00\u76ee\u6807\u7684\u6b65\u9aa4\uff1a<\/strong><\/p>\n<\/p>\n<ol>\n<li>\n<p><strong>\u5b89\u88c5python-docx\u5e93<\/strong>\uff1a\u9996\u5148\uff0c\u786e\u4fdd\u4f60\u5df2\u7ecf\u5b89\u88c5\u4e86<code>python-docx<\/code>\u5e93\u3002\u4f60\u53ef\u4ee5\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install python-docx<\/p>\n<p><\/code><\/pre>\n<\/p>\n<\/li>\n<li>\n<p><strong>\u521b\u5efa\u5e76\u8bbe\u7f6e\u6bb5\u843d\u683c\u5f0f<\/strong>\uff1a\u4f7f\u7528<code>python-docx<\/code>\u5e93\u521b\u5efa\u4e00\u4e2aWord\u6587\u6863\uff0c\u5e76\u8bbe\u7f6e\u6bb5\u843d\u7684\u9996\u884c\u7f29\u8fdb\u3002<\/p>\n<\/p>\n<\/li>\n<\/ol>\n<p><pre><code class=\"language-python\">from docx import Document<\/p>\n<p>from docx.shared import Pt<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863<\/strong><\/h2>\n<p>doc = Document()<\/p>\n<h2><strong>\u6dfb\u52a0\u4e00\u4e2a\u6bb5\u843d<\/strong><\/h2>\n<p>paragraph = doc.add_paragraph(&#39;\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6bb5\u843d\uff0c\u9996\u884c\u9700\u8981\u7a7a\u4e24\u683c\u3002&#39;)<\/p>\n<h2><strong>\u8bbe\u7f6e\u6bb5\u843d\u9996\u884c\u7f29\u8fdb<\/strong><\/h2>\n<p>paragraph_format = paragraph.paragraph_format<\/p>\n<p>paragraph_format.first_line_indent = Pt(28.35)  # \u8fd9\u91cc\u8bbe\u7f6e\u9996\u884c\u7f29\u8fdb\uff0c28.35 Pt \u5927\u7ea6\u7b49\u4e8e1cm\uff0c\u4e24\u683c\u5927\u7ea6\u662f0.74cm<\/p>\n<h2><strong>\u4fdd\u5b58\u6587\u6863<\/strong><\/h2>\n<p>doc.save(&#39;example.docx&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p><strong>\u8be6\u7ec6\u8bf4\u660e\uff1a<\/strong><\/p>\n<\/p>\n<ul>\n<li><strong>\u5b89\u88c5python-docx\u5e93<\/strong>\uff1a\u4f7f\u7528<code>pip<\/code>\u5de5\u5177\u5b89\u88c5<code>python-docx<\/code>\u5e93\uff0c\u8fd9\u662f\u4e00\u4e2a\u7528\u4e8e\u521b\u5efa\u548c\u4fee\u6539Microsoft Word (.docx) \u6587\u4ef6\u7684Python\u5e93\u3002<\/li>\n<li><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863<\/strong>\uff1a\u4f7f\u7528<code>Document()<\/code>\u65b9\u6cd5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863\u5bf9\u8c61\u3002<\/li>\n<li><strong>\u6dfb\u52a0\u6bb5\u843d<\/strong>\uff1a\u4f7f\u7528<code>add_paragraph()<\/code>\u65b9\u6cd5\u5728\u6587\u6863\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u6bb5\u843d\uff0c\u5e76\u4f20\u5165\u6587\u672c\u5185\u5bb9\u3002<\/li>\n<li><strong>\u8bbe\u7f6e\u6bb5\u843d\u683c\u5f0f<\/strong>\uff1a\u83b7\u53d6\u6bb5\u843d\u7684\u683c\u5f0f\u5bf9\u8c61\uff0c\u5e76\u8bbe\u7f6e<code>first_line_indent<\/code>\u5c5e\u6027\u6765\u5b9e\u73b0\u9996\u884c\u7f29\u8fdb\u3002<code>Pt(28.35)<\/code>\u8868\u793a\u9996\u884c\u7f29\u8fdb\u7684\u8ddd\u79bb\uff0c\u8fd9\u91cc\u8bbe\u7f6e\u4e3a28.35\u70b9\uff08Pt\uff09\uff0c\u5927\u7ea6\u7b49\u4e8e1\u5398\u7c73\uff0c\u4e24\u683c\u5927\u7ea6\u662f0.74\u5398\u7c73\u3002<\/li>\n<li><strong>\u4fdd\u5b58\u6587\u6863<\/strong>\uff1a\u4f7f\u7528<code>save()<\/code>\u65b9\u6cd5\u5c06\u6587\u6863\u4fdd\u5b58\u5230\u6307\u5b9a\u8def\u5f84\u3002<\/li>\n<\/ul>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728Python\u4e2d\u751f\u6210\u4e00\u4e2aWord\u6587\u6863\uff0c\u5e76\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\u7684\u6548\u679c\u3002\u4e0b\u9762\u662f\u66f4\u8be6\u7ec6\u7684\u5185\u5bb9\uff0c\u5305\u542b\u4e00\u4e9b\u8fdb\u9636\u6280\u5de7\u548c\u6700\u4f73\u5b9e\u8df5\u3002<\/p>\n<\/p>\n<hr>\n<h2><strong>\u4e00\u3001\u5b89\u88c5\u548c\u5bfc\u5165\u5fc5\u8981\u7684\u5e93<\/strong><\/h2>\n<p><p>\u5728\u5f00\u59cb\u4e4b\u524d\uff0c\u4f60\u9700\u8981\u5b89\u88c5\u548c\u5bfc\u5165\u5fc5\u8981\u7684\u5e93\u3002<code>python-docx<\/code>\u662f\u4e00\u4e2a\u529f\u80fd\u5f3a\u5927\u7684\u5e93\uff0c\u53ef\u4ee5\u7528\u6765\u521b\u5efa\u548c\u4fee\u6539Word\u6587\u6863\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install python-docx<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5b89\u88c5\u597d\u5e93\u4e4b\u540e\uff0c\u5728\u4f60\u7684Python\u811a\u672c\u4e2d\u5bfc\u5165\u5b83\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from docx import Document<\/p>\n<p>from docx.shared import Pt, Inches<\/p>\n<p>from docx.enum.text import WD_PARAGRAPH_ALIGNMENT<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e8c\u3001\u521b\u5efa\u548c\u4fdd\u5b58Word\u6587\u6863<\/strong><\/h2>\n<p><p>\u9996\u5148\uff0c\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863\u5bf9\u8c61\u5e76\u6dfb\u52a0\u4e00\u4e9b\u57fa\u672c\u7684\u6bb5\u843d\u548c\u6587\u672c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\"># \u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863<\/p>\n<p>doc = Document()<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898<\/strong><\/h2>\n<p>doc.add_heading(&#39;Python\u751f\u6210Word\u6587\u6863\u793a\u4f8b&#39;, level=1)<\/p>\n<h2><strong>\u6dfb\u52a0\u6bb5\u843d<\/strong><\/h2>\n<p>paragraph = doc.add_paragraph(&#39;\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6bb5\u843d\uff0c\u9996\u884c\u9700\u8981\u7a7a\u4e24\u683c\u3002&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e09\u3001\u8bbe\u7f6e\u6bb5\u843d\u683c\u5f0f<\/strong><\/h2>\n<p><p>\u4e3a\u4e86\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\uff0c\u4f60\u9700\u8981\u8c03\u6574\u6bb5\u843d\u7684\u683c\u5f0f\u3002\u4ee5\u4e0b\u662f\u4e00\u4e9b\u5e38\u89c1\u7684\u6bb5\u843d\u683c\u5f0f\u8bbe\u7f6e\uff1a<\/p>\n<\/p>\n<p><h2>3.1 \u9996\u884c\u7f29\u8fdb<\/h2>\n<\/p>\n<p><p>\u901a\u8fc7\u8bbe\u7f6e\u9996\u884c\u7f29\u8fdb\uff0c\u4f60\u53ef\u4ee5\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">paragraph_format = paragraph.paragraph_format<\/p>\n<p>paragraph_format.first_line_indent = Pt(28.35)  # 28.35 Pt \u5927\u7ea6\u7b49\u4e8e1\u5398\u7c73\uff0c\u4e24\u683c\u5927\u7ea6\u662f0.74\u5398\u7c73<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>3.2 \u884c\u95f4\u8ddd\u548c\u5bf9\u9f50\u65b9\u5f0f<\/h2>\n<\/p>\n<p><p>\u4f60\u8fd8\u53ef\u4ee5\u8bbe\u7f6e\u6bb5\u843d\u7684\u884c\u95f4\u8ddd\u548c\u5bf9\u9f50\u65b9\u5f0f\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">paragraph_format.line_spacing = Pt(18)  # \u8bbe\u7f6e\u884c\u95f4\u8ddd<\/p>\n<p>paragraph_format.alignment = WD_PARAGRAPH_ALIGNMENT.JUSTIFY  # \u8bbe\u7f6e\u5bf9\u9f50\u65b9\u5f0f\u4e3a\u4e24\u7aef\u5bf9\u9f50<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u56db\u3001\u6dfb\u52a0\u66f4\u591a\u5185\u5bb9<\/strong><\/h2>\n<p><p>\u4f60\u53ef\u4ee5\u7ee7\u7eed\u6dfb\u52a0\u66f4\u591a\u7684\u6bb5\u843d\u3001\u56fe\u7247\u3001\u8868\u683c\u7b49\u5185\u5bb9\uff0c\u4ee5\u4e30\u5bcc\u6587\u6863\u3002<\/p>\n<\/p>\n<p><h2>4.1 \u6dfb\u52a0\u56fe\u7247<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">doc.add_picture(&#39;example.png&#39;, width=Inches(4.0))<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><h2>4.2 \u6dfb\u52a0\u8868\u683c<\/h2>\n<\/p>\n<p><pre><code class=\"language-python\">table = doc.add_table(rows=3, cols=3)<\/p>\n<p>for row in table.rows:<\/p>\n<p>    for cell in row.cells:<\/p>\n<p>        cell.text = &#39;\u5355\u5143\u683c\u5185\u5bb9&#39;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u4e94\u3001\u4fdd\u5b58\u6587\u6863<\/strong><\/h2>\n<p><p>\u6700\u540e\uff0c\u4fdd\u5b58\u6587\u6863\u5230\u6307\u5b9a\u8def\u5f84\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">doc.save(&#39;example.docx&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<h2><strong>\u516d\u3001\u603b\u7ed3<\/strong><\/h2>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u6b65\u9aa4\uff0c\u4f60\u53ef\u4ee5\u5728Python\u4e2d\u751f\u6210\u4e00\u4e2a\u5305\u542b\u5404\u79cd\u683c\u5f0f\u548c\u5185\u5bb9\u7684Word\u6587\u6863\u3002\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\uff0c\u4f60\u53ef\u4ee5\u6839\u636e\u9700\u8981\u8c03\u6574\u6bb5\u843d\u683c\u5f0f\u3001\u6dfb\u52a0\u56fe\u7247\u548c\u8868\u683c\u7b49\uff0c\u4ee5\u5b9e\u73b0\u66f4\u590d\u6742\u7684\u6587\u6863\u751f\u6210\u9700\u6c42\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u5b8c\u6574\u7684\u793a\u4f8b\u4ee3\u7801\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from docx import Document<\/p>\n<p>from docx.shared import Pt, Inches<\/p>\n<p>from docx.enum.text import WD_PARAGRAPH_ALIGNMENT<\/p>\n<h2><strong>\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Word\u6587\u6863<\/strong><\/h2>\n<p>doc = Document()<\/p>\n<h2><strong>\u6dfb\u52a0\u6807\u9898<\/strong><\/h2>\n<p>doc.add_heading(&#39;Python\u751f\u6210Word\u6587\u6863\u793a\u4f8b&#39;, level=1)<\/p>\n<h2><strong>\u6dfb\u52a0\u6bb5\u843d<\/strong><\/h2>\n<p>paragraph = doc.add_paragraph(&#39;\u8fd9\u662f\u4e00\u4e2a\u793a\u4f8b\u6bb5\u843d\uff0c\u9996\u884c\u9700\u8981\u7a7a\u4e24\u683c\u3002&#39;)<\/p>\n<p>paragraph_format = paragraph.paragraph_format<\/p>\n<p>paragraph_format.first_line_indent = Pt(28.35)  # 28.35 Pt \u5927\u7ea6\u7b49\u4e8e1\u5398\u7c73\uff0c\u4e24\u683c\u5927\u7ea6\u662f0.74\u5398\u7c73<\/p>\n<p>paragraph_format.line_spacing = Pt(18)  # \u8bbe\u7f6e\u884c\u95f4\u8ddd<\/p>\n<p>paragraph_format.alignment = WD_PARAGRAPH_ALIGNMENT.JUSTIFY  # \u8bbe\u7f6e\u5bf9\u9f50\u65b9\u5f0f\u4e3a\u4e24\u7aef\u5bf9\u9f50<\/p>\n<h2><strong>\u6dfb\u52a0\u56fe\u7247<\/strong><\/h2>\n<p>doc.add_picture(&#39;example.png&#39;, width=Inches(4.0))<\/p>\n<h2><strong>\u6dfb\u52a0\u8868\u683c<\/strong><\/h2>\n<p>table = doc.add_table(rows=3, cols=3)<\/p>\n<p>for row in table.rows:<\/p>\n<p>    for cell in row.cells:<\/p>\n<p>        cell.text = &#39;\u5355\u5143\u683c\u5185\u5bb9&#39;<\/p>\n<h2><strong>\u4fdd\u5b58\u6587\u6863<\/strong><\/h2>\n<p>doc.save(&#39;example.docx&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u901a\u8fc7\u8fd9\u79cd\u65b9\u5f0f\uff0c\u4f60\u53ef\u4ee5\u8f7b\u677e\u5730\u5728Python\u4e2d\u751f\u6210\u5177\u6709\u4e30\u5bcc\u683c\u5f0f\u548c\u5185\u5bb9\u7684Word\u6587\u6863\uff0c\u5e76\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\u7684\u6548\u679c\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u4f7f\u7528Python\u5728Word\u6587\u6863\u4e2d\u63d2\u5165\u7a7a\u683c\uff1f<\/strong><br \/>\u5728Python\u4e2d\uff0c\u53ef\u4ee5\u4f7f\u7528<code>python-docx<\/code>\u5e93\u6765\u64cd\u4f5cWord\u6587\u6863\u3002\u8981\u63d2\u5165\u7a7a\u683c\uff0c\u53ef\u4ee5\u901a\u8fc7\u6dfb\u52a0\u7a7a\u767d\u6bb5\u843d\u6216\u5728\u6587\u672c\u4e2d\u6dfb\u52a0\u7a7a\u683c\u5b57\u7b26\u6765\u5b9e\u73b0\u3002\u4f8b\u5982\uff0c\u4f7f\u7528\u7a7a\u767d\u6bb5\u843d\u53ef\u4ee5\u5728\u6587\u6863\u4e2d\u521b\u5efa\u660e\u663e\u7684\u95f4\u9694\uff0c\u800c\u5728\u6587\u672c\u4e2d\u63d2\u5165\u591a\u4e2a\u7a7a\u683c\u5b57\u7b26\u53ef\u4ee5\u5b9e\u73b0\u66f4\u7ec6\u81f4\u7684\u6392\u7248\u3002\u4ee3\u7801\u793a\u4f8b\u53ef\u4ee5\u53c2\u8003\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">from docx import Document\n\ndoc = Document()\ndoc.add_paragraph(&#39;\u8fd9\u662f\u7b2c\u4e00\u6bb5\u3002&#39;)\ndoc.add_paragraph(&#39; &#39;)  # \u6dfb\u52a0\u4e00\u4e2a\u7a7a\u767d\u6bb5\u843d\ndoc.add_paragraph(&#39;\u8fd9\u662f\u7b2c\u4e8c\u6bb5\u3002&#39;)\ndoc.save(&#39;example.docx&#39;)\n<\/code><\/pre>\n<p><strong>\u5728Python\u4e2d\u5982\u4f55\u8bbe\u7f6eWord\u6587\u6863\u7684\u6bb5\u843d\u95f4\u8ddd\uff1f<\/strong><br \/>\u9664\u4e86\u63d2\u5165\u7a7a\u683c\uff0c\u8bbe\u7f6e\u6bb5\u843d\u95f4\u8ddd\u4e5f\u662f\u4e00\u79cd\u5e38\u89c1\u7684\u8c03\u6574\u6587\u6863\u5e03\u5c40\u7684\u65b9\u6cd5\u3002\u5728<code>python-docx<\/code>\u4e2d\uff0c\u53ef\u4ee5\u901a\u8fc7\u8bbe\u7f6e<code>paragraph_format<\/code>\u5c5e\u6027\u6765\u8c03\u6574\u6bb5\u843d\u7684\u95f4\u8ddd\u3002\u4ee5\u4e0b\u662f\u4e00\u4e2a\u793a\u4f8b\uff1a<\/p>\n<pre><code class=\"language-python\">from docx import Document\nfrom docx.shared import Pt\n\ndoc = Document()\np = doc.add_paragraph(&#39;\u8fd9\u662f\u4e00\u4e2a\u6bb5\u843d\u3002&#39;)\np.paragraph_format.space_after = Pt(12)  # \u8bbe\u7f6e\u6bb5\u843d\u540e\u95f4\u8ddd\u4e3a12\u78c5\ndoc.save(&#39;example_with_spacing.docx&#39;)\n<\/code><\/pre>\n<p><strong>\u5982\u4f55\u5728Word\u6587\u6863\u4e2d\u4f7f\u7528Python\u6dfb\u52a0\u7279\u5b9a\u683c\u5f0f\u7684\u6587\u672c\uff1f<\/strong><br \/>\u53ef\u4ee5\u4f7f\u7528<code>python-docx<\/code>\u5e93\u6765\u521b\u5efa\u4e0d\u540c\u683c\u5f0f\u7684\u6587\u672c\uff0c\u6bd4\u5982\u52a0\u7c97\u3001\u659c\u4f53\u7b49\u3002\u901a\u8fc7\u8bbe\u7f6e\u6587\u672c\u7684\u6837\u5f0f\uff0c\u53ef\u4ee5\u589e\u5f3a\u6587\u6863\u7684\u53ef\u8bfb\u6027\u548c\u7f8e\u89c2\u6027\u3002\u793a\u4f8b\u4ee3\u7801\u5982\u4e0b\uff1a<\/p>\n<pre><code class=\"language-python\">from docx import Document\n\ndoc = Document()\np = doc.add_paragraph()\np.add_run(&#39;\u8fd9\u662f\u52a0\u7c97\u7684\u6587\u672c\u3002&#39;).bold = True\np.add_run(&#39; \u8fd9\u662f\u6b63\u5e38\u7684\u6587\u672c\u3002&#39;)\ndoc.save(&#39;formatted_text.docx&#39;)\n<\/code><\/pre>\n<p>\u8fd9\u4e9b\u65b9\u6cd5\u53ef\u4ee5\u5e2e\u52a9\u4f60\u5728\u4f7f\u7528Python\u751f\u6210Word\u6587\u6863\u65f6\uff0c\u5b9e\u73b0\u4e0d\u540c\u7684\u683c\u5f0f\u548c\u5e03\u5c40\u6548\u679c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u751f\u6210Word\u6587\u6863\u5e76\u5b9e\u73b0\u6bb5\u843d\u9996\u884c\u7a7a\u4e24\u683c\uff0c\u53ef\u4ee5\u4f7f\u7528Python\u7684python-docx\u5e93\u3002\u4ee5\u4e0b\u662f\u5b9e [&hellip;]","protected":false},"author":3,"featured_media":1098827,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1098800"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=1098800"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1098800\/revisions"}],"predecessor-version":[{"id":1098831,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/1098800\/revisions\/1098831"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/1098827"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=1098800"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=1098800"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=1098800"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}