First time here? Check out the FAQ!
asked 2012-08-15 21:32:50 +0200wolfgang
For writing a requirement specification document (using writer 3.5) I would like to assign each requirement a fixed serial ID such as R0223, R0224 etc.
It is important to avoid any automatic update of that ID (for example by inserting a new requirement before an existing one) since other external documents refer to that ID. So obviously it does not make sense to use any field variables (e.g. number range) or numbering styles.
I don't know much about macros, but to me it sounds like this would be the right way to implement this function. My naive idea (algorithm?) was as follows:
File->Properties->Custom Properties->Add) with type
Numberand initiate it with the serial ID start number (e.g.
Sounds easy, but recording a macro like this did not work simply because any change to a custom property value is not recorded. So I created my own macro source code using the famous copy & paste and trial & error technique. I reached a point where I could output the custom properties but here my mental capabilities stop.
Does anyone have an idea why recording a macro ignores changes of a custom property value or is there a chance to get a source code examples?
Thanks a lot in advance!
LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!
Asked: 2012-08-15 21:32:50 +0200
Seen: 148 times
Last updated: Mar 12