# hwpx 줄바꿈 구현하려고 하는데, linesegarray \> lineseg \> textpos 값을 넣어야만 조절 가능인가요??

**URL:** <https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677>\
**Category:** 한글 오토메이션\
**Created:** [7월 24, 2024, 6:54오전 UTC](https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677 "2024-07-24T06:54:07Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wh0am1](https://avatars.discourse-cdn.com/v4/letter/w/e56c9b/32.png) [@wh0am1](https://forum.developer.hancom.com/u/wh0am1)\
**Post date:** [7월 24, 2024, 6:54오전 UTC](https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677/1 "2024-07-24T06:54:07Z")

</div>

아래 문자열을 구현하려고 하는데 textpos가 줄바꿈 시작지점 같습니다.

문서에도 내용이 없고 그런데, 쉽게 구현할 수 있는 방법 없을까요??

\<hp:p id=“0” paraPrIDRef=“0” styleIDRef=“0” pageBreak=“0” columnBreak=“0” merged=“0”\>  
\<hp:run charPrIDRef=“0”\>  
hp:t아주 긴 문자열 !@#$%^&\*()가즈아아아아아아ㅏ아아아아아아아아ㅏ아아아아아ㅏ아아ㅏ아아하하아아ㅏ아아ㅏ아아아자ㅏ자자가가자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자자자ㅏ자\</hp:t\>  
\</hp:run\>  
hp:linesegarray  
\<hp:lineseg textpos=“0” vertpos=“0” vertsize=“2000” textheight=“1000” baseline=“850” spacing=“0” horzpos=“0” horzsize=“42520” flags=“0”/\>  
\</hp:linesegarray\>  
\</hp:p\>

---

<div class="post-metadata">

**Author:** ![dev.community](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.developer.hancom.com/dev.community/32/488_2.png) [@dev.community](https://forum.developer.hancom.com/u/dev.community)\
**Post date:** [7월 25, 2024, 12:00오전 UTC](https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677/2 "2024-07-25T00:00:28Z")

</div>

안녕하세요. 한컴디벨로퍼입니다.

문의 내용이 카테고리와 다르면 담당자가 내용을 확인하기 어렵습니다.  
해당 문의는 한글 오토메이션으로 이동하도록 하겠습니다.

감사합니다.

---

<div class="post-metadata">

**Author:** ![wh0am1](https://avatars.discourse-cdn.com/v4/letter/w/e56c9b/32.png) [@wh0am1](https://forum.developer.hancom.com/u/wh0am1)\
**Post date:** [7월 25, 2024, 12:04오전 UTC](https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677/3 "2024-07-25T00:04:03Z")

</div>

옮겨주셔서 감사합니다. 답변 기다리겠습니다.

---

<div class="post-metadata">

**Author:** ![jhbang](https://avatars.discourse-cdn.com/v4/letter/j/ee59a6/32.png) [@jhbang](https://forum.developer.hancom.com/u/jhbang)\
**Post date:** [7월 25, 2024, 12:41오전 UTC](https://forum.developer.hancom.com/t/hwpx-linesegarray-lineseg-textpos/1677/4 "2024-07-25T00:41:55Z")

</div>

아래 게시글의 답변을 확인 부탁드립니다.

> [@문단 owpml \<hp:t\>줄바꿈 문의드립니다.](https://forum.developer.hancom.com/t/owpml-hp-t/1685/4):
>
> 안녕하세요. 한글에는 문단 나눔과 줄 나눔 이라는 개념이 있는데요. 문의하신 내용은 줄 나눔에 대한 문의를 하신 것으로 이해하고 답변드리겠습니다. 문단 나눔은 아시다시피 문단을 나누는 개념이고, OWPML에서는 각 문단들에 대해 hp:p 태그로 구분짓고 있습니다. 줄 나눔은 한 문단을 줄로 나누는 개념이고, OWPML에서는 hp:lineBreak 태그로 표시를 합니다. \<한글 편집기 캡쳐\> [줄나눔] \<OWPML 표준에서 일부 발취\> section0.xml 일부 ... \<hp:run charPrIDRef="7"\> \<hp:t\>문단1 첫 번째 줄 [줄 나눔]\<hp:lineBreak/\>문단1 두 번째 줄 \</hp:t\> \</hp:run\> ... 참고로 linesegarray의 정보는 문단의 위치 정보(레이아웃 정보)로 OWPML 표준에 포함되지 않고 OWPML 표준을 기반으로 만든 한글 표준 문서인 HWPX에서 정의하는 레이아웃 정…
