read cell attributes cm, ph, and vm #173
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request reads the attributes
cm CellMetaIndex
ph ShowPhonetic
vm ValueMetaIndex
The cell meta index is found when writing formulas where Excel hides that they are arrays and shows them as simpel formulas. Previously reading/writing such a file would result in showing curly brackets. This implementation allows reading the metadata.xml file.
I do not have examples for ph and vm yet. Therefore could not test either. This PR does not provide options to write a file from scratch with cm and metadata. This will require a follow up PR to create metadata.xml.
It's a bit inconvenient that we have to assign these entries for every cell in the workbook. Whether they are available or not. Maybe something like flagging fields that are filled would be a better idea in the future