{"action":"created","issue":{"url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/106","labels_url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/106/labels{/name}","comments_url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/106/comments","events_url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/106/events","html_url":"https://github.com/davidgohel/ReporteRs/issues/106","id":129004371,"number":106,"title":"Embed content of another document, rather than the whole document","user":{"login":"noamross","id":571752,"avatar_url":"https://avatars.githubusercontent.com/u/571752?v=3","gravatar_id":"","url":"https://api.github.com/users/noamross","html_url":"https://github.com/noamross","followers_url":"https://api.github.com/users/noamross/followers","following_url":"https://api.github.com/users/noamross/following{/other_user}","gists_url":"https://api.github.com/users/noamross/gists{/gist_id}","starred_url":"https://api.github.com/users/noamross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noamross/subscriptions","organizations_url":"https://api.github.com/users/noamross/orgs","repos_url":"https://api.github.com/users/noamross/repos","events_url":"https://api.github.com/users/noamross/events{/privacy}","received_events_url":"https://api.github.com/users/noamross/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-27T02:08:22Z","updated_at":"2016-01-27T10:28:33Z","closed_at":null,"body":"I was wondering if it was possible to do something like `addDocument()`, but instead of embedding the whole document in the new document, just add all of the content directly so that there isn't an embedded document.\r\n\r\nThe reason for this is that I've been generating DOCX files with RMarkdown/Pandoc (which can only create simple DOCX files, but has more extensive markdown support), then embedding them using ReporteRs into a template with watermarks, headers, etc.  The result is good but I've found that several other programs (notably LibreOffice and some other word-to-PDF/image converters), don't support the embedded document."},"comment":{"url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/comments/175537587","html_url":"https://github.com/davidgohel/ReporteRs/issues/106#issuecomment-175537587","issue_url":"https://api.github.com/repos/davidgohel/ReporteRs/issues/106","id":175537587,"user":{"login":"davidgohel","id":4331618,"avatar_url":"https://avatars.githubusercontent.com/u/4331618?v=3","gravatar_id":"","url":"https://api.github.com/users/davidgohel","html_url":"https://github.com/davidgohel","followers_url":"https://api.github.com/users/davidgohel/followers","following_url":"https://api.github.com/users/davidgohel/following{/other_user}","gists_url":"https://api.github.com/users/davidgohel/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgohel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgohel/subscriptions","organizations_url":"https://api.github.com/users/davidgohel/orgs","repos_url":"https://api.github.com/users/davidgohel/repos","events_url":"https://api.github.com/users/davidgohel/events{/privacy}","received_events_url":"https://api.github.com/users/davidgohel/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T10:28:33Z","updated_at":"2016-01-27T10:28:33Z","body":"Hi,\r\n\r\nThis would be a nice feature but that's very complicated. \r\n\r\nIt would require to make sure all images are copied into the target document, to copy styles with an unique id (and to modify the corresponding id of the content to embed), etc. "}}