Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Excel export with table format #1512

Closed
yayitazale opened this issue Mar 2, 2020 · 10 comments
Closed

Excel export with table format #1512

yayitazale opened this issue Mar 2, 2020 · 10 comments
Labels
feature request help wanted needs a developer who want to add this feature
Milestone

Comments

@yayitazale
Copy link
Contributor

The exported excel archive is not formatted as a table

Solution
Format the excell as a table, with titles and so, This is the guide to do it manually: https://support.office.com/en-us/article/Format-an-Excel-table-6789619F-C889-495C-99C2-2F971C0E2370

Thanks

@kevinpapst
Copy link
Member

Which export exactly?
And I have no Excel for testing, so I need dev help with that one.

@kevinpapst kevinpapst added feature request help wanted needs a developer who want to add this feature labels Mar 2, 2020
@yayitazale
Copy link
Contributor Author

Export > Excel

imagen

This is hat we get:
kimai-export-original.xlsx
And this is the same but with table format:
kimai-export-titles.xlsx

@kevinpapst
Copy link
Member

@HeinzWuert
Copy link

Maybe this would solve the problem with loosing the autostart of the macro when creating the excel sheet.

@yayitazale
Copy link
Contributor Author

Maybe this is related: https://stackoverflow.com/questions/50934401/phpspreadsheet-multiple-tables-with-format-as-table-in-excel-worksheet

You only need 1 table format as table.

@kevinpapst
Copy link
Member

@HeinzWuert this is the export, which creates the excel dynamically, instead of parsing an existing template file.

@yayitazale yes, but I have no idea how to apply that. if anyone knows how to set that style on the table, I am happy to integrate it into kimai.

@yayitazale
Copy link
Contributor Author

I found this, maybe it can be usefull:

https://github.com/PHPOffice/PhpSpreadsheet

@kevinpapst
Copy link
Member

Yes and no.
Yes: this is the library I am using to generate the excel files.
No: I couldn't find any documentation how these table styles can be applied.

This was referenced Mar 3, 2020
@kevinpapst kevinpapst added this to the 1.9 milestone Mar 20, 2020
@kevinpapst
Copy link
Member

now available in master

@lock
Copy link

lock bot commented May 20, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. If you use Kimai on a daily basis, please consider donating to support further development of Kimai.

@lock lock bot locked and limited conversation to collaborators May 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature request help wanted needs a developer who want to add this feature
Development

No branches or pull requests

3 participants