개정판 e3147bed
issue #00000 ID2.Manager/ExcelAddin/ID2ManagerImport - image height 저장 문제 수정
Change-Id: Ic29293846d897195f2d909df16d6ff10802b4325
ID2.Manager/ExcelAddin/ID2ManagerImport/DataImport.cs | ||
---|---|---|
207 | 207 |
|
208 | 208 |
try |
209 | 209 |
{ |
210 |
|
|
210 | 211 |
float originalHeight = shape.Height; |
211 | 212 |
float originalWidth = shape.Width; |
213 |
|
|
212 | 214 |
shape.ScaleWidth(1.0f, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoScaleFrom.msoScaleFromTopLeft); |
215 |
shape.ScaleHeight(1.0f, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoScaleFrom.msoScaleFromTopLeft); |
|
213 | 216 |
|
214 | 217 |
// 이미지를 가져올 Shape이 그림인 경우 처리 |
215 | 218 |
shape.CopyPicture(XlPictureAppearance.xlScreen, XlCopyPictureFormat.xlBitmap); |
... | ... | |
236 | 239 |
|
237 | 240 |
|
238 | 241 |
shape.ScaleWidth(originalWidth / shape.Width, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoScaleFrom.msoScaleFromTopLeft); |
242 |
shape.ScaleHeight(originalHeight / shape.Height, Microsoft.Office.Core.MsoTriState.msoTrue, Microsoft.Office.Core.MsoScaleFrom.msoScaleFromTopLeft); |
|
243 |
|
|
239 | 244 |
Clipboard.Clear(); |
240 | 245 |
} |
241 | 246 |
} |
ID2.Manager/ExcelAddin/ID2ManagerImport/ID2ManagerImport.csproj | ||
---|---|---|
33 | 33 |
<PublishUrl>게시\</PublishUrl> |
34 | 34 |
<InstallUrl /> |
35 | 35 |
<TargetCulture>ko</TargetCulture> |
36 |
<ApplicationVersion>1.0.0.4</ApplicationVersion>
|
|
36 |
<ApplicationVersion>1.6.0.1</ApplicationVersion>
|
|
37 | 37 |
<AutoIncrementApplicationRevision>true</AutoIncrementApplicationRevision> |
38 | 38 |
<UpdateEnabled>false</UpdateEnabled> |
39 | 39 |
<UpdateInterval>0</UpdateInterval> |
내보내기 Unified diff