Skip to content

Add addJS method to PdfFileWriter#114

Merged
mstamy2 merged 1 commit intopy-pdf:masterfrom
vfigueiro:addjs
Jul 3, 2014
Merged

Add addJS method to PdfFileWriter#114
mstamy2 merged 1 commit intopy-pdf:masterfrom
vfigueiro:addjs

Conversation

@vfigueiro
Copy link
Contributor

Added addJS method to writer (taken from mfenniak/pyPdf#39)

@snorfalorpagus
Copy link
Contributor

What brilliant luck that the day I need this feature is the day after it is written!

I can confirm that this feature works (after fairly minimal testing!)

@mstamy2
Copy link
Collaborator

mstamy2 commented Jul 3, 2014

Thank you!

mstamy2 added a commit that referenced this pull request Jul 3, 2014
Add addJS method to PdfFileWriter
@mstamy2 mstamy2 merged commit aa33193 into py-pdf:master Jul 3, 2014
@vfigueiro vfigueiro deleted the addjs branch July 4, 2014 10:22
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point of making the self.root attribute public?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couldn't call _addObject in init, hence the new var. You're right about the variable naming. Fixed it here: #119

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

Successfully merging this pull request may close these issues.

4 participants