https://github.com/lexml/lexml-renderer-docx
https://github.com/lexml/lexml-renderer-docx
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/lexml/lexml-renderer-docx
- Owner: lexml
- License: gpl-2.0
- Created: 2019-03-19T12:06:15.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2026-03-24T23:38:06.000Z (3 months ago)
- Last Synced: 2026-03-25T23:59:13.691Z (3 months ago)
- Language: Scala
- Size: 35.3 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# lexml-renderer-docx
O ponto de entrada está na classe `br.gov.lexml.renderer.docx.LexmlToDocx`:
```scala
class LexmlToDocx(config : LexmlToDocxConfig) {
def convert(source : Array[Byte]) : Array[Byte] = { ... }
```
Para usar, basta instanciar passando uma instância de `br.gov.lexml.renderer.docx.LexmlToDocxConfig`
e chamar o método `convert` passando o arquivo lexml em formato binário. O resultado será o arquivo
DOCX em formato binário.