xops-pat
Version:
Procedure generator for on space operations
33 lines (26 loc) • 543 B
JavaScript
;
const docx = require('docx');
const Writer = require('./Writer');
module.exports = class ThreeColDocx extends Writer {
constructor(program, procedure) {
super(program, procedure);
}
getRightTabPosition() {
return 14400;
}
getPageSize() {
return {
width: 12240, // width and height transposed in LANDSCAPE
height: 15840,
orientation: docx.PageOrientation.LANDSCAPE
};
}
getPageMargins() {
return {
top: 720,
right: 720,
bottom: 720,
left: 720
};
}
};