To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=83627





------- Additional comments from [EMAIL PROTECTED] Mon Dec  1 10:01:30 +0000 
2008 -------
ab->andreschnabel: Sorry, I wanted to comment on this anyway, but due to
a technical problem I couldn't modify this issue on Friday any more.

Adding images to extension help is very simple. It works like or the OOo
built-in help, just with another src path. The next paragraph shows a
snippet from the attached sample extension's xhp file:
DialogWithHelpImage.oxt/help/en/com.foocorp.foo-ext/page1.xhp

<paragraph role="paragraph" id="par_id0008" xml-lang="en-US">
<image id="img_id0002" src="res/commandimagelist/sc_paralefttoright.png"
width="0.222inch" height="0.222inch"></image>
</paragraph>

This image tag addresses an icon in the set of help images delivered with
the OOo application. The image is found in the Office installation at
.../share/config/images.zip. I've copied this from some Office xhp file.

To address an image inside the extension's help the src path just has to
start with the extension's id (provided in description.xml) that has to
be part of the extension's help path anyway. So this will show the image
located inside the extension's help at DialogWithHelpImage.oxt/help/en/
com.foocorp.foo-ext/sc_paralefttoright.png

<paragraph role="paragraph" id="par_id0006" xml-lang="en-US">
I like fill text. I like images. <image id="img_id0001"
src="com.foocorp.foo-ext/sc_paralefttoright.png" width="0.222inch"
height="0.222inch"></image> I like fill text.
</paragraph>

I've just copied the png file from Office's image.zip.

Another sample image (copied from developers guide) is located in the 
extension' help subfolder and can be addressed like this:

<paragraph role="paragraph" id="par_id0010" xml-lang="en-US">
<image id="img_id0003" 
src="com.foocorp.foo-ext/subfolder/BasicEditor.png"></image>
</paragraph>

So all you have to do, is copy images to an extension's help tree and
adress them by starting the src path with the extension's id.


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to