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.
close #646 , #551
SheetStyleBuilder
以实现新增Sheet,使用XmlReader
读取旧style.xml,使用XmlWriter
在旧的基础上进行最追加修改style.xmlSheetStyleElementInfos
用于记录新旧style.xml的Element简要信息,方便修改逻辑处理SheetStyleBuildContext
用于记录Build上下文信息,方便修改逻辑处理SheetStyleBuildResult
用于记录Build结果,这里会输出一个CellXfIdMap
,因为新增Sheet会导致创建Cell要设置的样式Id发生偏移,这里做了一个映射,这样就可以正确的应用新增的CellXf了