Baruch Even <[EMAIL PROTECTED]> writes:

| The problem is that the dialog returns (to the best of my knowldege) only
| absolute filenames. I can't think of a smart way, a dumb way could
| possibly be to make everything below or in the same dir as the document
| relative and the rest absolute. I donno if this will cover everything.
| Will a checkbox for this be a good idea?

Did you see this:
 filetools.h:
/** Makes relative path out of absolute path.
  If it is deeper than basepath,
  it's easy. If basepath and abspath share something (they are all deeper
  than some directory), it'll be rendered using ..'s. If they are completely
  different, then the absolute path will be used as relative path
  WARNING: the absolute path and base path must really be absolute paths!!!
  */
string MakeRelPath(string const & abspath, string const & basepath);

        Lgb

Reply via email to