PHP Excel - 跨选区居中
PHP Excel - Center Across Selection
我需要将 A 到 O 列的文本居中而不合并它们。我知道我可以在 Excel 中选择居中选择,但如何在 PHPExcel 中做到这一点?
我需要在 excel sheet
中完成以下任务
A) Center Across Selection
B) Insert a TextBox so I can place that anywhere
C) Insert a shape
编辑
我不知道为什么我得到负分,但我的问题是有效的,并且在互联网上没有帮助,所以如果还不支持,请告诉我。
编辑 2
我发现使用 HORIZONTAL_CENTER_CONTINUOUS 作为跨选区的中心是有效的。现在我需要插入 TextBox 和 Shape
如果您需要表单输入和形状,那么您的选择非常有限。我唯一知道的是 PHP 的 COM extension, which requires a COM enabled spreadsheet program such as MS Excel or OpenOffice Calc running on the server; the Open Office alternative to COM (PUNO), which requires Open Office installed on the server with Java support enabled; and Ilia Alshanetsky's Excel extension from github, that requires the commercial libXL component 安装在您的服务器上。
我需要将 A 到 O 列的文本居中而不合并它们。我知道我可以在 Excel 中选择居中选择,但如何在 PHPExcel 中做到这一点?
我需要在 excel sheet
中完成以下任务A) Center Across Selection
B) Insert a TextBox so I can place that anywhere
C) Insert a shape
编辑
我不知道为什么我得到负分,但我的问题是有效的,并且在互联网上没有帮助,所以如果还不支持,请告诉我。
编辑 2
我发现使用 HORIZONTAL_CENTER_CONTINUOUS 作为跨选区的中心是有效的。现在我需要插入 TextBox 和 Shape
如果您需要表单输入和形状,那么您的选择非常有限。我唯一知道的是 PHP 的 COM extension, which requires a COM enabled spreadsheet program such as MS Excel or OpenOffice Calc running on the server; the Open Office alternative to COM (PUNO), which requires Open Office installed on the server with Java support enabled; and Ilia Alshanetsky's Excel extension from github, that requires the commercial libXL component 安装在您的服务器上。