개정판 7f01e35f
issue #535 Approval Stamp 선택 박스 크기 오류 진행 중
Change-Id: I60d7fa173df4070d9426460a313ce4fe975f9c8a
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
7 | 7 |
using MarkupToPDF.Serialize.S_Control; |
8 | 8 |
using System; |
9 | 9 |
using System.Collections.Generic; |
10 |
using System.Configuration; |
|
10 | 11 |
using System.IO; |
11 | 12 |
using System.Linq; |
12 | 13 |
using System.Net; |
14 |
using System.Runtime.InteropServices; |
|
13 | 15 |
using System.Text; |
14 | 16 |
using System.Windows; |
15 | 17 |
using System.Windows.Media; |
... | ... | |
1061 | 1063 |
SolidColorBrush FontColor = _SetColor; |
1062 | 1064 |
double Angle = control.Angle; |
1063 | 1065 |
double Opacity = control.Opac; |
1064 |
Controls_PDF.HoneyPDFLib_DrawSet_Symbol.DrawApproval(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity); |
|
1066 |
|
|
1067 |
StringBuilder ApprovedImgPath = new StringBuilder(512); |
|
1068 |
GetPrivateProfileString("ApprovedImgPath", "URL", "(NONE)", ApprovedImgPath, 512, "C:\\ProgramData\\MARKUS\\settings.ini"); |
|
1069 |
|
|
1070 |
Controls_PDF.DrawSet_Symbol.DrawApproval(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity, ApprovedImgPath.ToString()); |
|
1065 | 1071 |
} |
1066 | 1072 |
break; |
1067 | 1073 |
#endregion |
... | ... | |
1156 | 1162 |
FinalPDFPath = new FileInfo(pdfFilePath); |
1157 | 1163 |
|
1158 | 1164 |
///TODO : 복사할 경로를 configuration으로 빼주세요 |
1159 |
File.Move(FinalPDFPath.FullName, @"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1160 |
FinalPDFPath = new FileInfo(@"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1165 |
//File.Move(FinalPDFPath.FullName, @"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1166 |
//FinalPDFPath = new FileInfo(@"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1167 |
StringBuilder PDFMovePath = new StringBuilder(255); |
|
1168 |
GetPrivateProfileString("PDFMovePath", "URL", "(NONE)", PDFMovePath, 32, "C:\\ProgramData\\MARKUS\\settings.ini"); |
|
1169 |
File.Move(FinalPDFPath.FullName, PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1170 |
FinalPDFPath = new FileInfo(PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
|
1161 | 1171 |
|
1162 | 1172 |
try |
1163 | 1173 |
{ |
... | ... | |
1185 | 1195 |
{ |
1186 | 1196 |
throw new NotImplementedException(); |
1187 | 1197 |
} |
1198 |
|
|
1199 |
[DllImport("kernel32")] |
|
1200 |
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, |
|
1201 |
int size, string filePath); |
|
1202 |
|
|
1188 | 1203 |
#endregion |
1189 | 1204 |
} |
1190 | 1205 |
} |
내보내기 Unified diff