{"action":"created","issue":{"url":"https://api.github.com/repos/box/spout/issues/211","repository_url":"https://api.github.com/repos/box/spout","labels_url":"https://api.github.com/repos/box/spout/issues/211/labels{/name}","comments_url":"https://api.github.com/repos/box/spout/issues/211/comments","events_url":"https://api.github.com/repos/box/spout/issues/211/events","html_url":"https://github.com/box/spout/pull/211","id":153528649,"number":211,"title":"Add background-color to styles","user":{"login":"madflow","id":183248,"avatar_url":"https://avatars.githubusercontent.com/u/183248?v=3","gravatar_id":"","url":"https://api.github.com/users/madflow","html_url":"https://github.com/madflow","followers_url":"https://api.github.com/users/madflow/followers","following_url":"https://api.github.com/users/madflow/following{/other_user}","gists_url":"https://api.github.com/users/madflow/gists{/gist_id}","starred_url":"https://api.github.com/users/madflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madflow/subscriptions","organizations_url":"https://api.github.com/users/madflow/orgs","repos_url":"https://api.github.com/users/madflow/repos","events_url":"https://api.github.com/users/madflow/events{/privacy}","received_events_url":"https://api.github.com/users/madflow/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-06T20:09:51Z","updated_at":"2016-05-17T13:30:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/box/spout/pulls/211","html_url":"https://github.com/box/spout/pull/211","diff_url":"https://github.com/box/spout/pull/211.diff","patch_url":"https://github.com/box/spout/pull/211.patch"},"body":"This is loosely related to #182. This PR introduces setting a background color to the styles definition. \r\n\r\n* For xlsx and ods.\r\n* Only \"solid\" backgrounds are supported. XLSX supports a whole array of ```patternType``` constants (http://www.officeopenxml.com/SSstyles.php, darkGrid, lightTrellis) - these are ignored.\r\n* XLSX knows a bgColor element (The color to use for the background of the fill when the type is not solid.) and a fgColor element (The color to use for the the background in solid fills.) - these are just treated as the same. Only a sick, twisted minded MS Office Interop Developer knows why a background color in solid fills is a foreColor. (I am kidding of course).\r\n* Some Tests\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/box/spout/issues/comments/219717626","html_url":"https://github.com/box/spout/pull/211#issuecomment-219717626","issue_url":"https://api.github.com/repos/box/spout/issues/211","id":219717626,"user":{"login":"tegansnyder","id":1200195,"avatar_url":"https://avatars.githubusercontent.com/u/1200195?v=3","gravatar_id":"","url":"https://api.github.com/users/tegansnyder","html_url":"https://github.com/tegansnyder","followers_url":"https://api.github.com/users/tegansnyder/followers","following_url":"https://api.github.com/users/tegansnyder/following{/other_user}","gists_url":"https://api.github.com/users/tegansnyder/gists{/gist_id}","starred_url":"https://api.github.com/users/tegansnyder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tegansnyder/subscriptions","organizations_url":"https://api.github.com/users/tegansnyder/orgs","repos_url":"https://api.github.com/users/tegansnyder/repos","events_url":"https://api.github.com/users/tegansnyder/events{/privacy}","received_events_url":"https://api.github.com/users/tegansnyder/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T13:30:16Z","updated_at":"2016-05-17T13:30:16Z","body":"@madflow you just made my day with this comment:\r\n\r\n> \"Only a sick, twisted minded MS Office Interop Developer knows why a background color in solid fills is a foreColor\""}}