개정판 43d99d26
issue #000 common lib 분리 및 installer 수정
Change-Id: I61a45d1b4df55719aa9d4418bdeb573a91086d69
FinalService/KCOM_FinalService/MarkupToPDF/MarkupToPDF.cs | ||
---|---|---|
1026 | 1026 |
double Opacity = control.Opac; |
1027 | 1027 |
|
1028 | 1028 |
StringBuilder ApprovedImgPath = new StringBuilder(512); |
1029 |
GetPrivateProfileString("ApprovedImgPath", "URL", "(NONE)", ApprovedImgPath, 512, Path.Combine(AppDataFolder, "FinalService.ini"));
|
|
1029 |
CommonLib.Common.GetPrivateProfileString("ApprovedImgPath", "URL", "(NONE)", ApprovedImgPath, 512, Path.Combine(CommonLib.Common.AppDataFolder, "FinalService.ini"));
|
|
1030 | 1030 |
|
1031 | 1031 |
Controls_PDF.HoneyPDFLib_DrawSet_Symbol.DrawApproval(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity, ApprovedImgPath.ToString()); |
1032 | 1032 |
} |
... | ... | |
1042 | 1042 |
double Opacity = control.Opac; |
1043 | 1043 |
|
1044 | 1044 |
StringBuilder imgpath = new StringBuilder(512); |
1045 |
GetPrivateProfileString("CheckmarkImgPath", "URL", "(NONE)", imgpath, 512, Path.Combine(AppDataFolder, "FinalService.ini"));
|
|
1045 |
CommonLib.Common.GetPrivateProfileString("CheckmarkImgPath", "URL", "(NONE)", imgpath, 512, Path.Combine(CommonLib.Common.AppDataFolder, "FinalService.ini"));
|
|
1046 | 1046 |
|
1047 | 1047 |
Controls_PDF.HoneyPDFLib_DrawSet_Symbol.DrawCheckMark(StartPoint, EndPoint, pointSet, contentByte, _SetColor, Angle, Opacity, imgpath.ToString()); |
1048 | 1048 |
} |
... | ... | |
1100 | 1100 |
//File.Move(FinalPDFPath.FullName, @"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1101 | 1101 |
//FinalPDFPath = new FileInfo(@"\\192.168.0.67\finalpdf\" + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1102 | 1102 |
StringBuilder PDFMovePath = new StringBuilder(512); |
1103 |
GetPrivateProfileString("PDFMovePath", "URL", "(NONE)", PDFMovePath, 512, Path.Combine(AppDataFolder, "FinalService.ini"));
|
|
1103 |
CommonLib.Common.GetPrivateProfileString("PDFMovePath", "URL", "(NONE)", PDFMovePath, 512, Path.Combine(CommonLib.Common.AppDataFolder, "FinalService.ini"));
|
|
1104 | 1104 |
File.Move(FinalPDFPath.FullName, PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1105 | 1105 |
FinalPDFPath = new FileInfo(PDFMovePath.ToString() + FinalPDFPath.Name.Replace(".tmp", ".pdf")); |
1106 | 1106 |
|
... | ... | |
1131 | 1131 |
throw new NotImplementedException(); |
1132 | 1132 |
} |
1133 | 1133 |
|
1134 |
[DllImport("kernel32")] |
|
1135 |
private static extern int GetPrivateProfileString(string section, string key, string def, StringBuilder retVal, int size, string filePath); |
|
1136 |
|
|
1137 |
public static string AppDataFolder |
|
1138 |
{ |
|
1139 |
get |
|
1140 |
{ |
|
1141 |
return Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData), "MARKUS"); |
|
1142 |
} |
|
1143 |
} |
|
1134 |
|
|
1144 | 1135 |
|
1145 | 1136 |
#endregion |
1146 | 1137 |
} |
내보내기 Unified diff