Comments (1)
For anyone interested, here is a workaround that can be used here:
Docx::new().footer(
Footer::new().add_paragraph(
Paragraph::new().add_run(
Run::new()
.add_field_char(FieldCharType::Begin, false)
.add_instr_text(InstrText::Unsupported("PAGE".to_owned()))
.add_field_char(FieldCharType::End, false),
)
)
);
(based on the approach from the StackOverflow link from above)
from docx-rs.
Related Issues (20)
- Allow overriding styles and paragraph properties for table of contents
- Enable a means of curtailing read_docx?
- Issue collecting Tabs from Paragraph HOT 1
- NumError(ParseIntError { kind: InvalidDigit }) HOT 1
- Option to disable "Automatically resize to fit contents" table option
- Allow setting number of columns for paragraph HOT 3
- Section property not passing/translating type HOT 5
- Add firstLineChars indent fearture HOT 2
- Ability to get the last rendered page of a paragraph/element HOT 2
- Make "val" fields public
- Floating images cause docx generation to fail with error `should end: LastElementNameNotAvailable` HOT 1
- Extract text from Word textboxes [proposed label: enhancement] HOT 3
- How to merge multiple Docx files into oneοΌ
- Picture embedded as PNG HOT 1
- Leftover dbg!() macro at docx-rs-0.4.13\src\reader\mod.rs:478:17 HOT 1
- Include language directives? [proposed label: enhancement]
- Footnote support HOT 3
- Open a include images docx file. Then save it. All images disappeared.
- Support Shading at the Run level HOT 2
- *Empty* document has 4 OOXML Validator errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docx-rs.