Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to make a particular page Orientation to A3 / Landscape ? #392

Open
raghavan117 opened this issue Aug 26, 2021 · 2 comments
Open

How to make a particular page Orientation to A3 / Landscape ? #392

raghavan117 opened this issue Aug 26, 2021 · 2 comments

Comments

@raghavan117
Copy link

  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

@2284730142
Copy link

  1. You can get it in the document linked https://github.com/Ziv-Barber/officegen/blob/87dd5501968501555ea3bee60043affc9f67c1fa/manual/docx/README.md below(The document object's settings).
  2. The table plug-in has less content, but there is no problem with the basic configuration

@zz570557024
Copy link

Q1:

...
let docx = officegen({
	type: 'docx',
	pageSize: 'A3',
	columns: 2
})
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants