Skip to content

Adding header not working #373

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

Closed
ardyflora opened this issue Mar 12, 2017 · 3 comments
Closed

Adding header not working #373

ardyflora opened this issue Mar 12, 2017 · 3 comments

Comments

@ardyflora
Copy link

ardyflora commented Mar 12, 2017

hi,

I was looking at this pull request:
#291

I went on to test it and did the following:
header = section.header
header.text = 'foobar'
Reference for code:
http://python-docx.readthedocs.io/en/latest/dev/analysis/features/header.html?highlight=header

Section object has no object [header]

I think this feature is implemented but not included. Please correct if I am wrong.

http://python-docx.readthedocs.io/en/latest/api/section.html#docx.section.Section

I am not sure as it says it is active. I think it means work is been done.

@scanny
Copy link
Contributor

scanny commented Mar 12, 2017

I was using the active flag to identify pull requests that were being worked on, but this one has stalled (as many of them do) and the work didn't progress very far I'm afraid. In any case, it hasn't been merged and so that feature is still pending.

@scanny scanny closed this as completed Mar 12, 2017
@ardyflora
Copy link
Author

oh do you have an idea when it will be added?

@scanny
Copy link
Contributor

scanny commented Mar 13, 2017

If you want a delivery commitment you'll need to build it yourself or sponsor the feature.

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