[DISCUSS] Discussion on the capability boundaries and facade API style of the new module fesod-doc #946
bengbengbalabalabeng
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Background
Source: https://lists.apache.org/thread/y67yzt1bhbrxq61m9hhlgg1ook45h6yw
Word document processing is an extremely high-frequency requirement in report generation, document creation, and data export. To ensure that the new
fesod-docmodule continues the excellent development experience, I would like to first discuss the capability boundaries and facade API style of this module.Capability boundaries and format support
.docx/.doc)It is recommended to focus solely on
.docxfor now (as theOOXMLformat has a natural advantage in node positioning for template filling) to keep the module lightweight and modern.It is recommended to prioritize support for "template filling and custom writing" (as this covers the vast majority of common scenarios), while structured reading and parsing can be left for later gradual implementation.
Facade API style
I have envisioned the following API styles:
For simple linear documents, use the fluent API for processing. For highly complex custom layouts, use the builders API to process in chunks.
These are some of my initial thoughts. Looking forward to any thoughts or suggestions.
All reactions