framemaker-utils
v1.10.0
Published
Repository for some helper classes and functions for Adobe FrameMaker.
Readme
framemaker-utils
Repository for some helper classes and functions for Adobe FrameMaker.
- Uses typedefs from
https://www.npmjs.com/package/framemaker-types.
NOTICE FrameMaker-Utils will not compile nicely due to some naming overlaps. E.g. class Group exists in FM types and Script UI types (for some historical reasons).
Usage
Because ESTK / FrameMaker does not allow modules or imports, the TypeScript files must be compiled in a specific order into a single output file (OUTFILE.JS).
Example tsconfig.json
{
"compilerOptions": {
"module": "none",
"noLib": true,
"outFile": "./build/OUTFILE.js",
},
"files": [
"./node_modules/framemaker-utils/FrameMaker/17.0/global.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/doc.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/book.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/pgf.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/pgffmt.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/dlgs.ts",
"./node_modules/framemaker-utils/FrameMaker/17.0/fmconstants.ts",
"./src/INFILE.ts",
]
}With the kind support of HighDoc Technische Dokumentation GmbH.
