{"action":"created","issue":{"url":"https://api.github.com/repos/bpampuch/pdfmake/issues/213","labels_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/213/labels{/name}","comments_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/213/comments","events_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/213/events","html_url":"https://github.com/bpampuch/pdfmake/issues/213","id":59024676,"number":213,"title":"Those evil x,y calculations","user":{"login":"kondulak10","id":2103269,"avatar_url":"https://avatars.githubusercontent.com/u/2103269?v=3","gravatar_id":"","url":"https://api.github.com/users/kondulak10","html_url":"https://github.com/kondulak10","followers_url":"https://api.github.com/users/kondulak10/followers","following_url":"https://api.github.com/users/kondulak10/following{/other_user}","gists_url":"https://api.github.com/users/kondulak10/gists{/gist_id}","starred_url":"https://api.github.com/users/kondulak10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kondulak10/subscriptions","organizations_url":"https://api.github.com/users/kondulak10/orgs","repos_url":"https://api.github.com/users/kondulak10/repos","events_url":"https://api.github.com/users/kondulak10/events{/privacy}","received_events_url":"https://api.github.com/users/kondulak10/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bpampuch/pdfmake/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-02-26T06:06:47Z","updated_at":"2015-02-26T14:45:14Z","closed_at":"2015-02-26T11:18:31Z","body":"Hello,\r\nI found this library and will use it because of ěščřžýáí supportability. But I think it is much easier to use x, y calculations for automatic converting from html to pdf (I design complex forms in html). I can loop through all elements on page, get their properties and place them immediately to pdf using offset.top and offset.left.\r\n\r\nIs it possible to avoid using undeniable good and complex structure you created and use instead of floating, those relative positions, because I dont do that manually. Jquery loops, computes and assings.\r\n\r\nSo alternative to jsPDF: doc.rect(60, 20, 10, 10); TOP, LEFT Positions?\r\n"},"comment":{"url":"https://api.github.com/repos/bpampuch/pdfmake/issues/comments/76189578","html_url":"https://github.com/bpampuch/pdfmake/issues/213#issuecomment-76189578","issue_url":"https://api.github.com/repos/bpampuch/pdfmake/issues/213","id":76189578,"user":{"login":"kondulak10","id":2103269,"avatar_url":"https://avatars.githubusercontent.com/u/2103269?v=3","gravatar_id":"","url":"https://api.github.com/users/kondulak10","html_url":"https://github.com/kondulak10","followers_url":"https://api.github.com/users/kondulak10/followers","following_url":"https://api.github.com/users/kondulak10/following{/other_user}","gists_url":"https://api.github.com/users/kondulak10/gists{/gist_id}","starred_url":"https://api.github.com/users/kondulak10/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kondulak10/subscriptions","organizations_url":"https://api.github.com/users/kondulak10/orgs","repos_url":"https://api.github.com/users/kondulak10/repos","events_url":"https://api.github.com/users/kondulak10/events{/privacy}","received_events_url":"https://api.github.com/users/kondulak10/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T14:45:14Z","updated_at":"2015-02-26T14:45:14Z","body":"Ah, Ok thank you. I admire the job you made - it is really good!, but I would like to have this feature as well. This tool could still have the structure as it has and then there could be extra elements out of the structure, just positioned directlly to a spot (for others it could serve for fast and minor modifications in document).\r\n\r\nIt is just my suggestion :)\r\n\r\nBut I understand your desire, and I will try to create my forms using this.\r\n\r\n"}}