Am 09.02.2012 21:58, Alex Thurgood wrote:
Agreed, but can you set it up to make the paragraph as invisible
depending on whether or not you have a varchar string ? I imagine so,
but that is the question that the original poster was asking. Your macro
would need to take care of that piece of trickery in order to mark the
paragraph/section where the image is to be inserted as hidden when equal
to NULL.



Personally I do not care about cosmetic trivia like an empty line in an address frame. But replacing the database field with nothing when the content is an empty string should be doable. Nevertheless, my idea will not work since you can not replace the placeholder field with its file name content since the placeholder is just that. But anything along that line should work after you printed into another odt document and keep track of the places where the picture should be placed (or not). I am not familiar with Writer. I do not have the academic degree to understand the infamous streaming document on the OOo developer site. And I am very confident that even the best fabricated byte stream will not work in the context of the data access API which is obviously broken beyond repair.


--
For unsubscribe instructions e-mail to: [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/users/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to