Standalone Office Open XML files (Microsoft Office 2007 and later) generator for Word (docx), PowerPoint (pptx) and Excell (xlsx) in javascript. The output is a stream.
MIT License
2.64k
stars
472
forks
source link
How to make a particular page Orientation to A3 / Landscape ? #392
1) I am generating a word document. I need to change the page orientation of the word file - generally it would be A4/ Potrait , i want to have it as A3/Landscape to accommodate my table. Is it possible to implement with OfficeGen ??
2) Table size is not changing
I tried below code. Kindly check the same
var tableStyle = {
tableColWidth: 4210, // This is not working
tableSize: 90, // This is not working
tableColor: "ada",
tableAlign: "center",
tableFontFamily: "Arial",
}
1) I am generating a word document. I need to change the page orientation of the word file - generally it would be A4/ Potrait , i want to have it as A3/Landscape to accommodate my table. Is it possible to implement with OfficeGen ??
2) Table size is not changing
I tried below code. Kindly check the same var tableStyle = { tableColWidth: 4210, // This is not working tableSize: 90, // This is not working tableColor: "ada", tableAlign: "center", tableFontFamily: "Arial", }
Kindly let me know the fixes for both the issues