Liang Weike wrote: > Hello Carsten, > > Thanks for your rapid and valuable help. And now it works well. > > When I perform our new function there are two minor phenomena described > as follows: Hi Liang Weike,
> > 1、The total directory of imported images contains two "images". In my > computer it is like this: > > C:\Documents and Settings\liangwk\Application > Data\OpenOffice.org2\user\config\soffice.cfg\import\images\images\Bitmaps > > Need we change this to make a single "images" remain? You're right that we can get rid of one "images". You can remove "images" from your string "soffice.cfg/import/images". The other images folder will be created by the image manager. > > 2、In the folder "Bitmaps" the images that users import are combined > into one PNG file. For example, if I import two images the image file > "lc_userimages.png" shows the pixels "32*16". So I think every image > should be a PNG file. Is it right? What you see is an optimization. We create a large image file, called image list, which holds all images. There are some old operation systems, like Win 98, which have a limitation of graphic objects. If you hold every image in a separate object you can reach this limitation much earlier. Regards, Carsten --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]