setCompany not working? #3083
-
I am trying to set the worksheet "Properties" when creating a spreadsheet with PHPSpreadsheet. All fields are working with the code below EXCEPT for setCompany. When I look at the resulting worksheet properties, that field states "Specify the company" so, clearly, PHPSpreadsheet is not updating that field even though all the others are updating properly. Any ideas on how to fix this?
In the PHPSpreadsheet help docs, it lists setCompany as an option so I am stymied. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
What format are you writing? Company is an extended property, and that isn't supported by the Xls Writer; but it is written correctly for Xlsx, and as a meta property for Ods |
Beta Was this translation helpful? Give feedback.
-
I am generating an xls file. However, "Comments" (PHPSpreadsheet = setDescription) and "Subject" (PHPSpreadsheet = Subject) are also extended properties and they work? (at least how my Excel works under the "Show All Properties" that opens to show the extended.) |
Beta Was this translation helpful? Give feedback.
What format are you writing? Company is an extended property, and that isn't supported by the Xls Writer; but it is written correctly for Xlsx, and as a meta property for Ods