{"action":"created","comment":{"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/comments/181012113","pull_request_review_id":111535689,"id":181012113,"diff_hunk":"@@ -0,0 +1,49 @@\n+﻿using System;\n+using System.Drawing;\n+using Microsoft.Office.Core;\n+using PowerPointLabs.ActionFramework.Common.Log;\n+using Graphics = PowerPointLabs.Utils.GraphicsUtil;\n+using Shape = Microsoft.Office.Interop.PowerPoint.Shape;\n+\n+namespace PowerPointLabs.SyncLab.ObjectFormats\n+{\n+    class ReflectionTransparencyFormat: Format\n+    {\n+        public override bool CanCopy(Shape formatShape)\n+        {\n+            return formatShape.Reflection.Type != MsoReflectionType.msoReflectionTypeNone;\n+        }\n+\n+        public override void SyncFormat(Shape formatShape, Shape newShape)\n+        {\n+            if (!Sync(formatShape, newShape))\n+            {\n+                Logger.Log(newShape.Type + \" unable to sync ReflectionTransparency format\");\n+            }\n+        }\n+\n+        public override Bitmap DisplayImage(Shape formatShape)\n+        {\n+            return SyncFormatUtil.GetTextDisplay(\n+                Math.Round(formatShape.Reflection.Transparency * 100).ToString() + \"%\",","path":"PowerPointLabs/PowerPointLabs/SyncLab/ObjectFormats/ReflectionTransparencyFormat.cs","position":28,"original_position":28,"commit_id":"2fa00aff577b2eb133c7d4d9893e84cf3d82913c","original_commit_id":"2fa00aff577b2eb133c7d4d9893e84cf3d82913c","user":{"login":"leeyh20","id":7023320,"avatar_url":"https://avatars3.githubusercontent.com/u/7023320?v=4","gravatar_id":"","url":"https://api.github.com/users/leeyh20","html_url":"https://github.com/leeyh20","followers_url":"https://api.github.com/users/leeyh20/followers","following_url":"https://api.github.com/users/leeyh20/following{/other_user}","gists_url":"https://api.github.com/users/leeyh20/gists{/gist_id}","starred_url":"https://api.github.com/users/leeyh20/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leeyh20/subscriptions","organizations_url":"https://api.github.com/users/leeyh20/orgs","repos_url":"https://api.github.com/users/leeyh20/repos","events_url":"https://api.github.com/users/leeyh20/events{/privacy}","received_events_url":"https://api.github.com/users/leeyh20/received_events","type":"User","site_admin":false},"body":"Do you think it is needed to explain why need to multiply by 100?","created_at":"2018-04-12T09:04:16Z","updated_at":"2018-04-12T09:05:04Z","html_url":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666#discussion_r181012113","pull_request_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/comments/181012113"},"html":{"href":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666#discussion_r181012113"},"pull_request":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666"}}},"pull_request":{"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666","id":178729013,"html_url":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666","diff_url":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666.diff","patch_url":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666.patch","issue_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/1666","number":1666,"state":"open","locked":false,"title":"#1213 support for syncing reflections","user":{"login":"alexfjw","id":11351531,"avatar_url":"https://avatars0.githubusercontent.com/u/11351531?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfjw","html_url":"https://github.com/alexfjw","followers_url":"https://api.github.com/users/alexfjw/followers","following_url":"https://api.github.com/users/alexfjw/following{/other_user}","gists_url":"https://api.github.com/users/alexfjw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfjw/subscriptions","organizations_url":"https://api.github.com/users/alexfjw/orgs","repos_url":"https://api.github.com/users/alexfjw/repos","events_url":"https://api.github.com/users/alexfjw/events{/privacy}","received_events_url":"https://api.github.com/users/alexfjw/received_events","type":"User","site_admin":false},"body":"Part of #1213\r\n\r\n### **Outline of Solution**\r\n<!-- Tell us how you solved the issue. -->\r\n- Adds support for reflections to SyncLab.\r\n\r\nThe preview image for the reflection item in SyncLab has been emphasized by using a fixed transparency, blur and shadow size.\r\n<!-- Mention things you want reviewers to focus on, if any. -->\r\n<!-- Skip this section if fix is trivial. -->\r\n","created_at":"2018-04-01T13:26:03Z","updated_at":"2018-04-12T09:05:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5c64be37d11792b43372d41783c9218168aec9f6","assignee":{"login":"alexfjw","id":11351531,"avatar_url":"https://avatars0.githubusercontent.com/u/11351531?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfjw","html_url":"https://github.com/alexfjw","followers_url":"https://api.github.com/users/alexfjw/followers","following_url":"https://api.github.com/users/alexfjw/following{/other_user}","gists_url":"https://api.github.com/users/alexfjw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfjw/subscriptions","organizations_url":"https://api.github.com/users/alexfjw/orgs","repos_url":"https://api.github.com/users/alexfjw/repos","events_url":"https://api.github.com/users/alexfjw/events{/privacy}","received_events_url":"https://api.github.com/users/alexfjw/received_events","type":"User","site_admin":false},"assignees":[{"login":"alexfjw","id":11351531,"avatar_url":"https://avatars0.githubusercontent.com/u/11351531?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfjw","html_url":"https://github.com/alexfjw","followers_url":"https://api.github.com/users/alexfjw/followers","following_url":"https://api.github.com/users/alexfjw/following{/other_user}","gists_url":"https://api.github.com/users/alexfjw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfjw/subscriptions","organizations_url":"https://api.github.com/users/alexfjw/orgs","repos_url":"https://api.github.com/users/alexfjw/repos","events_url":"https://api.github.com/users/alexfjw/events{/privacy}","received_events_url":"https://api.github.com/users/alexfjw/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":532525113,"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/labels/ok-2010","name":"ok-2010","color":"0e8a16","default":false},{"id":532525135,"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/labels/ok-2013","name":"ok-2013","color":"0e8a16","default":false},{"id":532525178,"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/labels/ok-2016","name":"ok-2016","color":"0e8a16","default":false},{"id":308974729,"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/labels/s.ToReview","name":"s.ToReview","color":"bfe5bf","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666/commits","review_comments_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666/comments","review_comment_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/1666/comments","statuses_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/statuses/2fa00aff577b2eb133c7d4d9893e84cf3d82913c","head":{"label":"alexfjw:1213-support-for-reflections","ref":"1213-support-for-reflections","sha":"2fa00aff577b2eb133c7d4d9893e84cf3d82913c","user":{"login":"alexfjw","id":11351531,"avatar_url":"https://avatars0.githubusercontent.com/u/11351531?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfjw","html_url":"https://github.com/alexfjw","followers_url":"https://api.github.com/users/alexfjw/followers","following_url":"https://api.github.com/users/alexfjw/following{/other_user}","gists_url":"https://api.github.com/users/alexfjw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfjw/subscriptions","organizations_url":"https://api.github.com/users/alexfjw/orgs","repos_url":"https://api.github.com/users/alexfjw/repos","events_url":"https://api.github.com/users/alexfjw/events{/privacy}","received_events_url":"https://api.github.com/users/alexfjw/received_events","type":"User","site_admin":false},"repo":{"id":116456793,"name":"PowerPointLabs","full_name":"alexfjw/PowerPointLabs","owner":{"login":"alexfjw","id":11351531,"avatar_url":"https://avatars0.githubusercontent.com/u/11351531?v=4","gravatar_id":"","url":"https://api.github.com/users/alexfjw","html_url":"https://github.com/alexfjw","followers_url":"https://api.github.com/users/alexfjw/followers","following_url":"https://api.github.com/users/alexfjw/following{/other_user}","gists_url":"https://api.github.com/users/alexfjw/gists{/gist_id}","starred_url":"https://api.github.com/users/alexfjw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexfjw/subscriptions","organizations_url":"https://api.github.com/users/alexfjw/orgs","repos_url":"https://api.github.com/users/alexfjw/repos","events_url":"https://api.github.com/users/alexfjw/events{/privacy}","received_events_url":"https://api.github.com/users/alexfjw/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexfjw/PowerPointLabs","description":"This is the project for PowerPointLabs, a productivity add-in for PowerPoint","fork":true,"url":"https://api.github.com/repos/alexfjw/PowerPointLabs","forks_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/forks","keys_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/teams","hooks_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/hooks","issue_events_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/issues/events{/number}","events_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/events","assignees_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/assignees{/user}","branches_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/branches{/branch}","tags_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/tags","blobs_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/statuses/{sha}","languages_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/languages","stargazers_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/stargazers","contributors_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/contributors","subscribers_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/subscribers","subscription_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/subscription","commits_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/contents/{+path}","compare_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/merges","archive_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/downloads","issues_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/issues{/number}","pulls_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/pulls{/number}","milestones_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/milestones{/number}","notifications_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/labels{/name}","releases_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/releases{/id}","deployments_url":"https://api.github.com/repos/alexfjw/PowerPointLabs/deployments","created_at":"2018-01-06T05:38:33Z","updated_at":"2018-03-22T10:50:34Z","pushed_at":"2018-04-12T08:35:39Z","git_url":"git://github.com/alexfjw/PowerPointLabs.git","ssh_url":"git@github.com:alexfjw/PowerPointLabs.git","clone_url":"https://github.com/alexfjw/PowerPointLabs.git","svn_url":"https://github.com/alexfjw/PowerPointLabs","homepage":"http://powerpointlabs.info","size":261995,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PowerPointLabs:dev-release","ref":"dev-release","sha":"605054ff09f1f7b68d44f5d88e58c8c53ee46a6e","user":{"login":"PowerPointLabs","id":7374821,"avatar_url":"https://avatars0.githubusercontent.com/u/7374821?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerPointLabs","html_url":"https://github.com/PowerPointLabs","followers_url":"https://api.github.com/users/PowerPointLabs/followers","following_url":"https://api.github.com/users/PowerPointLabs/following{/other_user}","gists_url":"https://api.github.com/users/PowerPointLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerPointLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerPointLabs/subscriptions","organizations_url":"https://api.github.com/users/PowerPointLabs/orgs","repos_url":"https://api.github.com/users/PowerPointLabs/repos","events_url":"https://api.github.com/users/PowerPointLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PowerPointLabs/received_events","type":"Organization","site_admin":false},"repo":{"id":19517247,"name":"PowerPointLabs","full_name":"PowerPointLabs/PowerPointLabs","owner":{"login":"PowerPointLabs","id":7374821,"avatar_url":"https://avatars0.githubusercontent.com/u/7374821?v=4","gravatar_id":"","url":"https://api.github.com/users/PowerPointLabs","html_url":"https://github.com/PowerPointLabs","followers_url":"https://api.github.com/users/PowerPointLabs/followers","following_url":"https://api.github.com/users/PowerPointLabs/following{/other_user}","gists_url":"https://api.github.com/users/PowerPointLabs/gists{/gist_id}","starred_url":"https://api.github.com/users/PowerPointLabs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PowerPointLabs/subscriptions","organizations_url":"https://api.github.com/users/PowerPointLabs/orgs","repos_url":"https://api.github.com/users/PowerPointLabs/repos","events_url":"https://api.github.com/users/PowerPointLabs/events{/privacy}","received_events_url":"https://api.github.com/users/PowerPointLabs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/PowerPointLabs/PowerPointLabs","description":"This is the project for PowerPointLabs, a productivity add-in for PowerPoint","fork":false,"url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs","forks_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/forks","keys_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/teams","hooks_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/hooks","issue_events_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/events{/number}","events_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/events","assignees_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/assignees{/user}","branches_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/branches{/branch}","tags_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/tags","blobs_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/git/refs{/sha}","trees_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/statuses/{sha}","languages_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/languages","stargazers_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/stargazers","contributors_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/contributors","subscribers_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/subscribers","subscription_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/subscription","commits_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/commits{/sha}","git_commits_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/git/commits{/sha}","comments_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/comments{/number}","issue_comment_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/comments{/number}","contents_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/contents/{+path}","compare_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/merges","archive_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/downloads","issues_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues{/number}","pulls_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls{/number}","milestones_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/milestones{/number}","notifications_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/labels{/name}","releases_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/releases{/id}","deployments_url":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/deployments","created_at":"2014-05-07T01:46:34Z","updated_at":"2018-04-11T06:51:17Z","pushed_at":"2018-04-12T08:38:21Z","git_url":"git://github.com/PowerPointLabs/PowerPointLabs.git","ssh_url":"git@github.com:PowerPointLabs/PowerPointLabs.git","clone_url":"https://github.com/PowerPointLabs/PowerPointLabs.git","svn_url":"https://github.com/PowerPointLabs/PowerPointLabs","homepage":"http://powerpointlabs.info","size":261149,"stargazers_count":37,"watchers_count":37,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":39,"mirror_url":null,"archived":false,"open_issues_count":178,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0"},"forks":39,"open_issues":178,"watchers":37,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666"},"html":{"href":"https://github.com/PowerPointLabs/PowerPointLabs/pull/1666"},"issue":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/1666"},"comments":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/issues/1666/comments"},"review_comments":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666/comments"},"review_comment":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/pulls/1666/commits"},"statuses":{"href":"https://api.github.com/repos/PowerPointLabs/PowerPointLabs/statuses/2fa00aff577b2eb133c7d4d9893e84cf3d82913c"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"leeyh20"}}