A less invasive solution for this would be to export the diagrams as SVG
and run a simple script or XSLT to add a node containing the logo (or
whatever you wanted to add to the image).

Cheers,

Mark




On Mon, Jul 23, 2012 at 12:04 AM, Bob Tarling <[email protected]> wrote:

> Oops - this missed the dev list
>
> On 23 July 2012 08:04, Bob Tarling <[email protected]> wrote:
>
>> Moving this to the dev list. Please keep any conversations there rather
>> than email me directly.
>>
>> I guess you're not using standard argouml but have doctored your own
>> version to allow an image to be dropped onto a diagram.
>>
>> You could try this in pgml.tee but if there's any issue you'll have to
>> debug for yourself.
>>
>> <template class="org.tigris.gef.presentation.FigImage">
>> <![CDATA[
>> <rectangle name="<ocl>self.id</ocl>"
>>   <ocl>self.bounds</ocl>
>>   <ocl>self.URL</ocl>
>>   FILL_AND_STROKE
>> />
>> ]]>
>> </template>
>>
>> The problem is that the same image will be expected to be found in the
>> same folder when you load a project. You'll have more efforts if you want
>> to save that image inside your project and restore on load.
>>
>> Regards
>>
>> Bob
>>
>>
>> On 23 July 2012 04:59, Hai Aicheng (CM/ESW1-CN) <[email protected]
>> > wrote:
>>
>>>  HI Bob;
>>>
>>>    I am now using argouml to create some diagram, I need to insert some
>>> pictures into the
>>> Diagram, and now I can add a picture into the diagram, but when I save
>>> the diagram, it gives
>>> Some error information, and I found that in PGML.tee, there was not a
>>> template for FigImage,
>>> how can I create such an image template, waiting for your response.
>>> thanks !!!
>>>
>>>
>>> Best regards / Mit freundlichen Grüßen
>>> *Be**QIK*
>>> *Hai Aicheng ** **海爱成*
>>> CM/ESW-CN
>>> Tel.: +86 0512 6767 7562
>>> Fax: +86 0512 6762 1200
>>>
>>>
>>>
>>>
>>
>>
>

------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=2992466

To unsubscribe from this discussion, e-mail: 
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email: 
[[email protected]]

Reply via email to