Importing formats from another file
Hi everyone,
First, I should say thanks for all the posts. It has definitely helped a newbie like me.
I'm trying to import formats from another file. When set to import from the doc itself, it works great. I just can't figure out how to reference another file.
Here is what I have (that's not working) :-}
function ImportFormats(doc) {
var FormatFlags = Constants.FF_UFF_PGF | Constants.FF_UFF_FONT | Constants.FF_UFF_PAGE |
Constants.FF_UFF_TABLE | Constants.FF_UFF_COLOR | Constants.FF_UFF_REFPAGE | Constants.FF_UFF_REMOVE_EXCEPTIONS;
var FactsFile =File("C:\pg000_facts_table.fm");
doc.SimpleImportFormats (FactsFile, FormatFlags);
}\
Thanks again!
