Hi Bernard,

_Problem_

Setting width and height of an image  is ignored. The image stays at the
same dimensions. Tested with a jpg and a wmf image, with different
dimension units.
Is it a bug in the extension system or in the OpenOffice help system ?

this should be easy to test by modifying a OpenOffice help
page with images to also use width and height. I doubt that
this problem is limited to extension help because the same
xsl transformation is used in both cases to convert xhp
format to html format that finally is displayed.


_First remark_

In the doc OOo2HelpAuthoring I see this example:
<image src="picture/win/common/writermainwin.xhp" id="img4711"
width="75" height="75">
  <caption xml-lang="en-US" id="cp4711">
    The <emph>main writer windows</emph> showing all
    writer toolbars.
  </caption>
  <alt xml-lang="en-US" id="alt4711">Main program window</alt>
</image>

The <caption> tag is ignored by extension help. Not a big limitation,
though.

It's the same here, there's no different mechanism for help
in extension, only the path to the files differ. Are you sure
that this is a extension help only problem? Could you provide
a sample showing how this works correctly in OOo help and
fails for extension help?


_Second remark_

The base address used for storage of the help images is annoying when
you have many images same in all the help languages: this means several
copies of each image.
Fortunately with directory backtrack you can store these images in a
common store of your package, e.g.:
src="com.foocorp.foo-ext/../../../Images/foo.png"

Good idea, this should work. I will add this as a hint to the
extension help Developers Guide page.

On the other hand it's also no option to store images in lan-
guage independent folders in general as images of course also
*can* be language dependent, e.g. screen shots.

Regards

Andreas

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@framework.openoffice.org
For additional commands, e-mail: dev-h...@framework.openoffice.org

Reply via email to