mineadmin / components

mine-admin library
Apache License 2.0
10 stars 20 forks source link

xlsWriter没有做表头样式处理 #79

Closed develop-chen closed 6 days ago

develop-chen commented 3 months ago

image

boring-cyborg[bot] commented 3 months ago

Thanks for opening your first issue here! Be sure to follow the issue template!

dosubot[bot] commented 3 months ago

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.

#### Details **Sources** - [composer.json](https://github.com/mineadmin/components/blob/2.0/composer.json) - [src/AppStore/src/Command/AbstractCommand.php](https://github.com/mineadmin/components/blob/2.0/src/AppStore/src/Command/AbstractCommand.php)
**About Dosu** This response is meant to be useful and save you time. It is **not meant to be a precise solution**, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.