【问题标题】:How to modify existing word docx file using phpdocx如何使用 phpdocx 修改现有的 word docx 文件
【发布时间】:2013-05-30 08:50:44
【问题描述】:

我想使用 phpdocx 修改我现有的 word ( docx ) 文件。如何使用 php docx 在我当前的 word 文件上设置边框?

【问题讨论】:

  • 如果这没有解决您的问题,请您报告正确答案或添加更多信息吗?

标签: php pdf-generation docx


【解决方案1】:

如果使用“边框”,您的意思是边距,只需使用该功能:

         modifyPageLayout ($paperType ,array('marginTop' => '3',
                                             'marginRight' => '2',
                                             'marginBottom' => '3',
                                             'marginLeft' => '2'));

整数给出了一个点的二十分之一的大小!

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-04-05
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-10-03
    相关资源
    最近更新 更多