Am Sonntag, 30. Januar 2005 17:20 schrieb Andreas Vox:

> - Ask for overwrite of bitmap files (appears that eporter doesn't do 
> that yet)

It should do. See copyFile() in exporter.C. Are you really sure that it 
does not ask if a file exists already? Maybe this is related to the 
following:

+ string const & bitmapfile = sgml::bitmaps()->findSnippet(ls.str());
+ string const & ext = "." + GetExtension(bitmapfile);

You should not create references to temporaries, but rather use something 
like

 string const bitmapfile = sgml::bitmaps()->findSnippet(ls.str());
 efs << '.' << GetExtension(bitmapfile);

and then use
  runparams.exportdata->addExternalFile("docbook-xml",
            bitmapfile, efs.str());


Georg

Reply via email to