Replies: 1 comment
-
|
I like the idea to add this to the BIRT-standard emitter to support the option. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
In my fork at https://github.com/triestram-partner/birt (see branch tup-4.20), there is an older customized emitter for MS Word (DOCX) output (see https://github.com/triestram-partner/birt/tree/tup-4.20/engine/com.tp.birt.report.engine.emitter.docx and https://github.com/triestram-partner/birt/tree/tup-4.20/engine/com.tp.birt.report.engine.emitter.wpml).
With this emitter, it is possible to output emit MS Word "field functions" for label items.
The label needs a user property (of type string) called "WordEmitter.FieldFunction". This contains the name of the field function, e.g.
PAGEorNUMPAGES, but IIRC also field functions with arguments likeDOCPROPERTYor whatever.I wonder if it makes sense to add this feature to the "official" emitters here, or if there is already similar functionality (except for the page numbering) which I don't know of.
My motive is not totally altruistic, in the long run I want to get rid of this custom emitter, as it is hard to keep it up to date.
Beta Was this translation helpful? Give feedback.
All reactions