프로젝트

일반

사용자정보

개정판 7f01e35f

ID7f01e35fddd3d5c0d446262c6c9e5fc3b5d1011c
상위 59e0aa5f
하위 34d0546c

이지연이(가) 5년 이상 전에 추가함

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

클립보드 이미지 추가 (최대 크기: 500 MB)