{"action":"created","issue":{"url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/615","repository_url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet","labels_url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/615/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/615/comments","events_url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/615/events","html_url":"https://github.com/PHPOffice/PhpSpreadsheet/issues/615","id":344568314,"node_id":"MDU6SXNzdWUzNDQ1NjgzMTQ=","number":615,"title":"Create xls from template file generate 94 pages of file !","user":{"login":"gabrielgmm","id":2165413,"node_id":"MDQ6VXNlcjIxNjU0MTM=","avatar_url":"https://avatars0.githubusercontent.com/u/2165413?v=4","gravatar_id":"","url":"https://api.github.com/users/gabrielgmm","html_url":"https://github.com/gabrielgmm","followers_url":"https://api.github.com/users/gabrielgmm/followers","following_url":"https://api.github.com/users/gabrielgmm/following{/other_user}","gists_url":"https://api.github.com/users/gabrielgmm/gists{/gist_id}","starred_url":"https://api.github.com/users/gabrielgmm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabrielgmm/subscriptions","organizations_url":"https://api.github.com/users/gabrielgmm/orgs","repos_url":"https://api.github.com/users/gabrielgmm/repos","events_url":"https://api.github.com/users/gabrielgmm/events{/privacy}","received_events_url":"https://api.github.com/users/gabrielgmm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-25T19:03:25Z","updated_at":"2018-07-29T16:35:09Z","closed_at":null,"author_association":"NONE","body":"This is:\r\n\r\n```\r\n- [x ] a bug report\r\n- [ ] a feature request\r\n- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)\r\n```\r\n\r\n### What is the expected behavior?\r\n\r\nCreate an excel file using template and, when you click on print, it prints only one page\r\n\r\nThis problem happens only in MS Excel, in Libreoffice it works ok\r\n\r\n\r\n### What is the current behavior?\r\n\r\n\r\nGenerate an xls file, however when opening it in MS Excel and clicking to print, it appears 94 pages to print\r\n### What are the steps to reproduce?\r\n\r\nGenerate a xls file from any template\r\nTry to open a file created in MS Excel\r\n\r\nPlease provide a [Minimal, Complete, and Verifiable example](http://stackoverflow.com/help/mcve) of code that exhibits the issue without relying on an external Excel file or a web server:\r\n\r\n```php\r\n<?php\r\n\r\nrequire __DIR__ . '/vendor/autoload.php';\r\n\r\n// Create new Spreadsheet object\r\n$spreadsheet = new \\PhpOffice\\PhpSpreadsheet\\Spreadsheet();\r\n\r\n// add code that show the issue here...\r\n```\r\n\r\n\r\n### Which versions of PhpSpreadsheet and PHP are affected?\r\n"},"comment":{"url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/comments/408689476","html_url":"https://github.com/PHPOffice/PhpSpreadsheet/issues/615#issuecomment-408689476","issue_url":"https://api.github.com/repos/PHPOffice/PhpSpreadsheet/issues/615","id":408689476,"node_id":"MDEyOklzc3VlQ29tbWVudDQwODY4OTQ3Ng==","user":{"login":"konovalovk","id":7712802,"node_id":"MDQ6VXNlcjc3MTI4MDI=","avatar_url":"https://avatars0.githubusercontent.com/u/7712802?v=4","gravatar_id":"","url":"https://api.github.com/users/konovalovk","html_url":"https://github.com/konovalovk","followers_url":"https://api.github.com/users/konovalovk/followers","following_url":"https://api.github.com/users/konovalovk/following{/other_user}","gists_url":"https://api.github.com/users/konovalovk/gists{/gist_id}","starred_url":"https://api.github.com/users/konovalovk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/konovalovk/subscriptions","organizations_url":"https://api.github.com/users/konovalovk/orgs","repos_url":"https://api.github.com/users/konovalovk/repos","events_url":"https://api.github.com/users/konovalovk/events{/privacy}","received_events_url":"https://api.github.com/users/konovalovk/received_events","type":"User","site_admin":false},"created_at":"2018-07-29T16:35:09Z","updated_at":"2018-07-29T16:35:09Z","author_association":"NONE","body":"I have the same issue - when open template with one page to print, do nothing and just output - generated document has over 1000 pages which are empty. I supposed it was adding data to sheet issue, but clean template gives the same. BTW converting xlsx to pdf with libreoffice 6 gives one page again."}}
{"actor":{"display_login":"konovalovk"}}