XHwpFormEdits.Item(1).MultiLine = true;
명령을 실행해서, 여러 줄 입력을 활성화한 입력상자에
두 줄 이상의 텍스트를 입력 후
저장하고 문서를 닫았다 다시 열면
첫 번째 줄을 제외하고 모두 삭제됩니다.
다행히 hwpx 포맷일 때에는
Contents/Section0.xml 안에는
아래처럼 텍스트 정보가 남아있거든요…
<hp:edit multiLine="1" passwordChar="" maxLength="2147483647" scrollBars="NONE" tabKeyBehavior="NEXT_OBJECT"
numOnly="0" readOnly="0" alignText="LEFT" name="강사의_단점" foreColor="#000000" backColor="#FFE7D8"
groupName="질문6" tabStop="1" editable="1" tabOrder="1" enabled="1" borderTypeIDRef="5" drawFrame="1"
printable="1" command="">
<hp:formCharPr charPrIDRef="9" followContext="1" autoSz="0" wordWrap="1"/>
<hp:text>1. 아재개그 좀 그만.
2. 쉬는 시간 많이!!!
</hp:text>
<hp:sz width="36850" widthRelTo="ABSOLUTE" height="3624" heightRelTo="ABSOLUTE" protect="0"/>
<hp:pos treatAsChar="1" affectLSpacing="0" flowWithText="1" allowOverlap="1" holdAnchorAndSO="0"
vertRelTo="PARA" horzRelTo="COLUMN" vertAlign="TOP" horzAlign="LEFT" vertOffset="0"
horzOffset="0"/>
<hp:outMargin left="0" right="0" top="0" bottom="0"/>
</hp:edit>
그런데 문서를 여는 시점에 두 번째 줄 이하가 삭제됩니다ㅜㅜㅜ
(버그인거죠?ㅜㅜㅜㅜㅜㅜㅜㅜ 고쳐주실 수 있죠?ㅜ)