Binding a "Picture Content control" to an URL
Posted: Sat Feb 19, 2011 5:01 am
Hello,
Could you tell me if the following scenario can be implemented with docx4j (I have tried without success) :
I have in my document a Picture content control linked to a file via an URL (I have selected "Link to File" when inserting my picture). The document does not contain the image data, but only the link.
I would like to bind it to an element from my custom XML file that contain an URL (for example "<image>http://www.example.com/image.jpg</image>)
Optionally, I would be able to use repeats and insert a list of linked images ("<images><image>http://www.example.com/image1.jpg</image>.<image>http://www.example.com/image2.jpg</image></images>").
Is this possible ?
Thank you
Eric
Could you tell me if the following scenario can be implemented with docx4j (I have tried without success) :
I have in my document a Picture content control linked to a file via an URL (I have selected "Link to File" when inserting my picture). The document does not contain the image data, but only the link.
I would like to bind it to an element from my custom XML file that contain an URL (for example "<image>http://www.example.com/image.jpg</image>)
Optionally, I would be able to use repeats and insert a list of linked images ("<images><image>http://www.example.com/image1.jpg</image>.<image>http://www.example.com/image2.jpg</image></images>").
Is this possible ?
Thank you
Eric