-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Inline strings are not written into spreadsheet. #353
Comments
I can confirm what you described. But what is the use-case for using inline strings instead of shared one ? |
|
That seems fair. If this is important to you, please consider contributing a PR for it. In the meantime we can probably workaround it by using shared strings. |
Hi, |
@eltharin this would be a different issue, please consider opening a new issue, or better yet contributing a patch for it. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Fixed by PR #2569. |
What is the expected behavior?
The generated spreadsheet contains text 'inline str' in A1 cell. The text appears directly in the cell inside
sheet1.xml
(and not insharedStrings.xml
).What is the current behavior?
A1 cell of generated spreadsheet is empty.
What are the steps to reproduce?
Which versions of PhpSpreadsheet and PHP are affected?
1.0.0.
When a cell value is set with a
DataType::TYPE_INLINE
the writer should write such string into the spreadsheet as inline string (which goes directly into the content of a cell rather than shared string table). See 18.3.1.4 and 18.18.11 in ISO/IEC 29500-1 for more info.The text was updated successfully, but these errors were encountered: