### Current Page Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents the current page number in the document, starting from 1. ```python current_page: int # 현재 페이지 번호 (1부터 시작) ``` -------------------------------- ### CharShape Fields Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Defines the fields for character formatting, including font size, style (bold, italic), font names for different languages, underline, strikethrough, shadow, and color. ```python Height | int | 글자 크기 (HwpUnit) Bold | int | 굵음 (0 또는 1) Italic | int | 기울임 (0 또는 1) FaceNameHangul | str | 한글 글꼴 FaceNameLatin | str | 영문 글꼴 FaceNameHanja | str | 한자 글꼴 FaceNameJapanese | str | 일문 글꼴 UnderlineType | int | 밑줄 종류 StrikeOutType | int | 취소선 종류 ShadowType | int | 그림자 종류 Color | int | 글자색 ``` -------------------------------- ### FindDir Literal Enum Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Defines the possible directions for searching within a document. Use 'Forward' for forward search, 'Backward' for backward search, and 'AllDoc' for searching the entire document. ```python FindDir: Literal[ "Forward", # 앞으로 찾기 "Backward", # 뒤로 찾기 "AllDoc", # 문서 전체에서 찾기 ] ``` -------------------------------- ### List of Controls Return Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents a list containing control objects. ```python List[Ctrl] ``` -------------------------------- ### Dictionary Return Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents a dictionary with string keys and any type of values. ```python Dict[str, Any] ``` -------------------------------- ### HwpUnit Type and Conversion Formulas Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Defines the HwpUnit as an integer, representing internal units used by Hangeul Word Processor. Includes formulas for converting between HwpUnit, millimeters, and points. ```python HwpUnit: int # 아래아한글 내부 단위 # 변환 공식: # HwpUnit -> Millimeter: (HwpUnit / 7200) * 25.4 # Millimeter -> HwpUnit: (mm / 25.4) * 7200 # Point -> HwpUnit: point * 20 # HwpUnit -> Point: HwpUnit / 20 ``` -------------------------------- ### ParaShape Fields Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Defines the fields for paragraph formatting, including indentation (left, right, first line), line spacing, alignment, and spacing above and below the paragraph. ```python LeftIndent | int | 왼쪽 들여쓰기 (HwpUnit) RightIndent | int | 오른쪽 들여쓰기 (HwpUnit) FirstIndent | int | 첫 줄 들여쓰기 (HwpUnit) LineSpacing | int | 줄간격 (%) Alignment | int | 정렬 방식 SpaceAbove | int | 위쪽 간격 (HwpUnit) SpaceBelow | int | 아래쪽 간격 (HwpUnit) ``` -------------------------------- ### String Return Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents a string value returned by an operation. ```python str ``` -------------------------------- ### Address Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents an address in Excel format as a string, such as 'A1' or 'B2'. ```python Address: str # 엑셀 형식 주소 문자열 (예: "A1", "B2", "ASD100000") ``` -------------------------------- ### Page Count Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents the total number of pages in the document. ```python PageCount: int # 문서의 총 페이지 수 ``` -------------------------------- ### Position Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents the position within the document using a tuple of (list number, paragraph number, position). ```python Pos: Tuple[int, int, int] # (리스트번호, 문단번호, 위치) ``` -------------------------------- ### Integer Return Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents an integer value returned by an operation. ```python int ``` -------------------------------- ### Boolean Return Type Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Indicates the success or failure of an operation. True signifies success, while False indicates failure. ```python True # 성공 False # 실패 ``` -------------------------------- ### Tuple Return Type (Row, Column) Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents a tuple containing two integers, typically used for row and column indices. ```python Tuple[int, int] ``` -------------------------------- ### CurMetatagState Literal Enum (Korean 2024+) Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Defines the states related to metatags for Korean documents version 2024 and later. It specifies whether the metatag is within a cell, associated with text boxes, images, controls, or not present. ```python CurMetatagState: Literal[ 1, # 셀 메타태그 영역에 들어있음 4, # 메타태그가 부여된 글상자/그리기개체 컨트롤 텍스트 공간 8, # 메타태그가 부여된 이미지/컨트롤 선택상태 16, # 메타태그가 부여된 표 컨트롤 선택 상태 32, # 메타태그 영역에 들어있지 않음 40, # 컨트롤 선택하고 있으나 메타태그 미지정 (8+32) 64, # 본문 메타태그 영역에 들어있음 ] ``` -------------------------------- ### EditMode Literal Enum Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Specifies the current editing mode of the document. Use 0 for read-only mode and 1 for edit mode. ```python EditMode: Literal[ 0, # 읽기 전용 모드 1, # 편집 모드 ] ``` -------------------------------- ### CurFieldState Literal Enum Source: https://github.com/martiniifun/pyhwpx/blob/master/_autodocs/types.md Represents the current state of a field within the document. Values indicate whether the cursor is in the main body, a table cell, a text box, or a form field. ```python CurFieldState: Literal[ 0, # 본문 (필드 외부) 1, # 표 셀 내부 4, # 글상자 내부 17, # 표 셀 내부 18, # 누름틀 내부 ] ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.