Laurent Godard wrote:
Hi Oliver
the label assistant reads the data of the labels from the
configuration (see data/org/openoffice/Office/Labels.xcu) and creates
a document with a text frame for each label.
It inserts the text and database fields into the labels. With
synchronization it inserts the text once into a text section and
links the other frames to that section.
thanks a lot for describing the main steps :)
it confirms what i had in mind
That's not too complicated to be put into a Basic macro.
sure :-) i'll have a look (but may have to write thin in java)
Question: what language is the wizard ? java ? C++
would it be possible to write a wrapper making it available as an UNO
service ?
Hi,
it's written in C++. The code that actually creates the labels is
located in sw/source/ui/app/applab.cxx and it uses the settings from the
class SwLabItem (sw/source/ui/inc/labimg.hxx). This SwLabItem is filled
from the wizard. The wizard's code is in sw/source/ui/envelp/lab*
And yes, it is possible to write a wrapper.
But I'd prefer to have an extension to create the labels to get this
code out of the sw project rathen than getting even more code into it.
Regards,
Oliver
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]