Notice
Recent Posts
Recent Comments
«   2024/03   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Tags
more
Archives
Today
Total
관리 메뉴

CHIqueen

한글 HWPX 파일 구조 2편 본문

플젝/HWPX

한글 HWPX 파일 구조 2편

CHIqueen 2022. 10. 24. 14:36

version.xml

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<hv:HCFVersion
	xmlns:hv="http://www.hancom.co.kr/hwpml/2011/version" tagetApplication="WORDPROCESSOR" major="5" minor="1" micro="0" buildNumber="1" os="1" xmlVersion="1.31" application="Hancom Office Hangul" appVersion="10, 0, 0, 11131 WIN32LEWindows_8"/>

 

Golang struct

type HCFVersion struct {
	XMLName          xml.Name `xml:"HCFVersion"`
	Text             string   `xml:",chardata"`
	Hv               string   `xml:"hv,attr"`
	TagetApplication string   `xml:"tagetApplication,attr"`
	Major            string   `xml:"major,attr"`
	Minor            string   `xml:"minor,attr"`
	Micro            string   `xml:"micro,attr"`
	BuildNumber      string   `xml:"buildNumber,attr"`
	Os               string   `xml:"os,attr"`
	XmlVersion       string   `xml:"xmlVersion,attr"`
	Application      string   `xml:"application,attr"`
	AppVersion       string   `xml:"appVersion,attr"`
}

참고 문서

개방형 워드프로세서 마크업 언어(OWPML) 문서 구조(KS X 6101)

Open Document Format for Office Applications (OpenDocument) Version 1.2

 

속성 내용
targetApplication WORDPROCESSOR, PRESENTATION, SPREADSHEET
major 메이저 버전
minor 마이너 버전
micro 마이크로 버전
buildNumber 빌드 넘버
os os 넘버
xmlVersion xml 버전
application 어플리케이션
appVersion 어플 버전

<사진>

 

한글 - 파일 - 문서정보 - 요약에서 확인 가능하다.

문서 버전: 5.1.0.1.1( major.minor.micro.buildNumber.os )

프로그램 버전: 10.0.0.11131( appVersion )

 

※ 문서 요약부분은 Contents때 확인한다.

'플젝 > HWPX' 카테고리의 다른 글

한글 HWPX 파일 구조 1편  (1) 2022.10.07
Comments