Closed develop-chen closed 6 days ago
Thanks for opening your first issue here! Be sure to follow the issue template!
It looks like you're trying to apply styles to a table header using a library that might not be PHPExcel or xlsWriter, as mentioned in your query. If you're working within the components
repository, it's important to note that this project uses PhpSpreadsheet, the successor to PHPExcel, as indicated in the composer.json
file. PhpSpreadsheet offers comprehensive methods for styling, including header styles, which are well-documented in the official PhpSpreadsheet documentation.
Your code snippet seems to be part of an abstract class named AbstractCommand
, extending a Command
class from the Hyperf framework, without directly implementing any interfaces in the provided snippet. For specific issues with header styling, ensure you're using PhpSpreadsheet's styling methods correctly. If problems persist, sharing more detailed code snippets, especially those related to how you're attempting to set the header style, could help diagnose the issue more effectively.
To continue the conversation, mention @dosu.