{"action":"created","issue":{"url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/52","labels_url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/52/comments","events_url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/52/events","html_url":"https://github.com/Ziv-Barber/officegen/issues/52","id":58293360,"number":52,"title":"Header / Footer","user":{"login":"jfairley","id":992483,"avatar_url":"https://avatars.githubusercontent.com/u/992483?v=3","gravatar_id":"","url":"https://api.github.com/users/jfairley","html_url":"https://github.com/jfairley","followers_url":"https://api.github.com/users/jfairley/followers","following_url":"https://api.github.com/users/jfairley/following{/other_user}","gists_url":"https://api.github.com/users/jfairley/gists{/gist_id}","starred_url":"https://api.github.com/users/jfairley/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jfairley/subscriptions","organizations_url":"https://api.github.com/users/jfairley/orgs","repos_url":"https://api.github.com/users/jfairley/repos","events_url":"https://api.github.com/users/jfairley/events{/privacy}","received_events_url":"https://api.github.com/users/jfairley/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-02-20T00:27:51Z","updated_at":"2015-06-26T13:20:51Z","closed_at":null,"body":"It would be great to build headers and footers into a word document. It looks like the xml syntax is the same if not restricted, except there's \"header1.xml\" and \"footer1.xml\" in addition to \"document.xml\". Thoughts?"},"comment":{"url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/comments/115680910","html_url":"https://github.com/Ziv-Barber/officegen/issues/52#issuecomment-115680910","issue_url":"https://api.github.com/repos/Ziv-Barber/officegen/issues/52","id":115680910,"user":{"login":"nanthak","id":13063818,"avatar_url":"https://avatars.githubusercontent.com/u/13063818?v=3","gravatar_id":"","url":"https://api.github.com/users/nanthak","html_url":"https://github.com/nanthak","followers_url":"https://api.github.com/users/nanthak/followers","following_url":"https://api.github.com/users/nanthak/following{/other_user}","gists_url":"https://api.github.com/users/nanthak/gists{/gist_id}","starred_url":"https://api.github.com/users/nanthak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nanthak/subscriptions","organizations_url":"https://api.github.com/users/nanthak/orgs","repos_url":"https://api.github.com/users/nanthak/repos","events_url":"https://api.github.com/users/nanthak/events{/privacy}","received_events_url":"https://api.github.com/users/nanthak/received_events","type":"User","site_admin":false},"created_at":"2015-06-26T13:20:50Z","updated_at":"2015-06-26T13:20:50Z","body":"i can't use headers in docx as jfairley said. This is my code snippet.\r\n\r\n        docx.getHeader().setTextLeft('header-left');\r\n        docx.getHeader().setTextCenter('header-center');\r\n        docx.getHeader().setTextRight('header-right');\r\n        docx.getFooter().setTextLeft('left');\r\n        docx.getFooter().setTextCenter('center');\r\n        docx.getFooter().setTextRight('right');\r\n\r\nIn my project i have to generate a report which may be in pdf or word. I have done with pdf. but not on word(docx). I need to done generating docx file that should contains,\r\n      1.header with logo img on the top right corner.\r\n      2. in the body of docx, have to generate a html table with external css. The content of the html is varied depends on the user selection from client side.\r\n      3. Footer with page number.\r\n\r\n\r\nNeed your help to do this. Hope you will...\r\n\r\nThanks..\r\n      "}}