# 표/셀 위치를 누름틀 안의 내용 아래로 이동시키고싶어요

**URL:** <https://forum.developer.hancom.com/t/topic/2222>\
**Category:** 웹한글 기안기\
**Created:** [2월 13, 2025, 8:28오전 UTC](https://forum.developer.hancom.com/t/topic/2222 "2025-02-13T08:28:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![KKS1](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@KKS1](https://forum.developer.hancom.com/u/KKS1)\
**Post date:** [2월 13, 2025, 8:28오전 UTC](https://forum.developer.hancom.com/t/topic/2222/1 "2025-02-13T08:28:38Z")

</div>

웹 한글 기안기 api를 사용하고 있습니다.  
첨부파일을 업로드 했을 때 '첨부’와 '파일’이라는 필드 이름을 가지고 있는 표/셀에 첨부파일의 파일 이름을 PutFieldText를 사용하여 넣어주고 있습니다.  
이 표/셀을 누름틀 안의 내용 아래로 이동시키고싶어요.

---

<div class="post-metadata">

**Author:** ![cgkang](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cgkang](https://forum.developer.hancom.com/u/cgkang)\
**Post date:** [2월 14, 2025, 12:28오전 UTC](https://forum.developer.hancom.com/t/topic/2222/2 "2025-02-14T00:28:44Z")

</div>

안녕하세요.

표의 캐럿 위치 이동이 아니라, 표의 위치를 이동하고 싶으신 건가요.?  
제가 이해한 게 맞다면, 바로 이동하는 api는 없고 표를 “cut/paste” 하는 방법을 이용하시면 될 것 같습니다.

---

<div class="post-metadata">

**Author:** ![KKS1](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@KKS1](https://forum.developer.hancom.com/u/KKS1)\
**Post date:** [2월 14, 2025, 12:43오전 UTC](https://forum.developer.hancom.com/t/topic/2222/3 "2025-02-14T00:43:13Z")

</div>

표를 “cut/paste” 하는 방법이 아래의 방법을 말씀하시는 건가요?  
HwpCtrl.Run(‘Cut’);  
HwpCtrl.Run(‘Paste’);

아래처럼 진행했는데 ‘본문’ 누름 틀 영역에 붙여 넣기 되지 않습니다.  
hwpctrl\_frame.HwpCtrl.MoveToField(‘첨부’, true, true, false);  
hwpctrl\_frame.HwpCtrl.Run(“TableCellBlock”);  
hwpctrl\_frame.HwpCtrl.Run(“TableCellBlockExtend”);  
hwpctrl\_frame.HwpCtrl.Run(“TableRightCell”);  
hwpctrl\_frame.HwpCtrl.Run(‘Cut’);  
hwpctrl\_frame.HwpCtrl.MoveToField(‘본문’, true, true, false);  
hwpctrl\_frame.HwpCtrl.Run(‘SelectAll’);  
hwpctrl\_frame.HwpCtrl.Run(‘Cancel’);  
hwpctrl\_frame.HwpCtrl.Run(‘BreakLine’);  
hwpctrl\_frame.HwpCtrl.Run(‘Paste’)

---

<div class="post-metadata">

**Author:** ![cgkang](https://avatars.discourse-cdn.com/v4/letter/c/bc79bd/32.png) [@cgkang](https://forum.developer.hancom.com/u/cgkang)\
**Post date:** [2월 16, 2025, 10:57오후 UTC](https://forum.developer.hancom.com/t/topic/2222/4 "2025-02-16T22:57:37Z")

</div>

안녕하세요.

웹한글 기안기는 브라우저에서 동작하기 때문에 브라우저 보안상 시스템 클립보드를 직접 제어할수가 없습니다.

일반 “복사”, “붙여넣기” 기능은 액션으로 제공하지 못해 이를 대체하는 기능을 제공하고 있습니다.  
아래와 같이 수정해서 테스트 부탁드립니다.

> 잘라내기 : HwpCtrl.Run(“InternalCut”)  
> 복사 : HwpCtrl.Run(“InternalCopy”)  
> 붙어넣기 : HwpCtrl.Run(“InternalPaste”)
