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

disable/override setting Author, Company document properties #6

Closed
spollack opened this issue Oct 21, 2013 · 2 comments
Closed

disable/override setting Author, Company document properties #6

spollack opened this issue Oct 21, 2013 · 2 comments

Comments

@spollack
Copy link

officegen currently sets these two document properties to "officegen". I'd like to not set these properties at all (or set them to my own string). What is the best way to do that?

I see the method .setDocTitle() that allows me to set the Title property, but i didn't see methods for other properties.

Thanks,
Seth

@Ziv-Barber
Copy link
Owner

var officegen = require('officegen');

// You can use 'creator' on any kind of MS-Office document, including docx
and xlsx:
var ppsx = officegen ({
'type': 'ppsx', // ... or any other MS-Office based type...
'creator': '' // The
default is 'officegen'.
});

BTW: This feature is been supported on all versions of officegen.
Please refer to basicgen.js line 58 for more information.
I should add it to the documentation.

thanks,
Ziv

On Mon, Oct 21, 2013 at 10:16 PM, Seth Pollack notifications@github.comwrote:

officegen currently sets these two document properties to "officegen". I'd
like to not set these properties at all (or set them to my own string).
What is the best way to do that?

I see the method .setDocTitle() that allows me to set the Title property,
but i didn't see methods for other properties.

Thanks,
Seth


Reply to this email directly or view it on GitHubhttps://github.com//issues/6
.

@spollack
Copy link
Author

thanks!

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

2 participants