SetTextFile API를 이용하여 아래 html을 누름틀에 삽입 시 틀어지고 있습니다.
(첫 줄 시작 위치가 틀어지는 현상)
[html 뷰어로 본 화면]
[SetTextFile API를 통해 누름틀에 삽입한 결과 화면]
let data1 = ` <p
style="margin-left:25.0pt;text-align:left;text-indent:-20.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;font-weight:;line-height:160%;;">
<b>? 지원개요</b></p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;">
? 지원내용 : 원데이 참가 등록</p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';line-height:160%;;">
- 2024. 10. 23.(수) ~ 24.(목) 중 1일 참가</p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';line-height:160%;;">
- 기조강연 및 포럼, 세미나 등 컨퍼런스 참가비 1인 10만원 지원</p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;position:relative;font-size:12.0pt;font-family:'굴림체';line-height:160%;;">
? 지원대상 : 구·군 자원봉사 담당 공무원, 캠프장, 단체장, 2년 이상 종사한 직원</p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;">
? 지원인원 : 구·군 자원봉사센터별 2명</p>
<p
style="margin-left:100.0pt;text-align:left;text-indent:-95.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;">
? 지원사유 : 자원봉사 관계자 역량향상 및 국제네트워크 구축</p>
<p
style="margin-left:5.0pt;position:relative;font-size:12.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;position:relative;font-size:8.0pt;font-family:'굴림체';letter-spacing:0em;line-height:160%;;">
</p>`;
HwpCtrl.SetTextFile(data1,'HTML','insertfile',function(){});
확인 부탁드리며, 테스트한 웹한글기안기 버전은 10.80.0.2659 버전입니다.