Comments (7)
텍스트들의 밑줄이 정확히 어떤 속성인지 몰라서.. 답변을 드리기 힘드네요..
한글 프로그램에서 어떻게 설정하는지 알려주세요 ..
어디 메뉴에서 무슨 대화상자에서 무슨 속성으로 설정할 수 있는지 알면 답변하는데 도움이 될꺼 같습니다.
from hwplib.
편집칸에 있는 가에 언더바있는거요.
from hwplib.
ParaCharShape 객체에는 글자 모양에 대한 속성들을 가지고 있는 CharShape의 인덱스와 그 속성들을 적용할 시작 위치가 쌍으로 나열되어 있습니다. 이것이 추가 되면서, 한글은 하나의 문단에 여러개의 글자 모양을 선택할 수 있게 됩니다.
글자 모양 속성을 설정하려면 ParaCharShape 객체에 인덱스로 설정된 CharShape 객체를 찾아서 수정해야 합니다. CharShape는 DocInfo 객체 안에 있으며 인덱스 - 1번째 객체가 이 문단과 연결된 글자모양일 것 입니다. 이 CharShape 객체에서 수정할 수 있을 것 입니다.
from hwplib.
paraCharShape 는 맨윗 글 처럼 정상적으로 구하였는데 parCharShape 로 어떻게 CharShape 객체를 찾는지 감이 안잡힙니다. CharShape 객체만 얻으면 getUnderLineSort() 메소드로 쉽게 제가 원하는 기능을 사용할 수 있을 것 같습니다.
from hwplib.
음.. 제가 조망간 샘플 코드 하나 만들어 올리겠습니다.
from hwplib.
글자 모양을 만드는 코드(TestMakingCharShape.java)를 추가했습니다. 이 코드를 보시면 문단의 글자 모양을 어떻게 추출할지 알 수 있으니라 생각됩니다.
from hwplib.
친절한 답변 감사드립니다.
from hwplib.
Related Issues (20)
- 한글 2024 버전의 파일을 읽지 못하는 경우가 발생합니다. HOT 2
- hwp 파일을 읽고 html 변환 HOT 5
- 안녕하세요. 라이브러리 사용중 궁금한점이 있어서 문의드립니다. HOT 4
- 안녕하세요. 테이블 셀 색상 관련해서 문의드립니다. HOT 1
- 폰트 색상 관련하여 질문드립니다. HOT 1
- 안녕하세요, 최신 JAR을 어디서 구할 수 있나요? (Hi, do you know where I can get the latest JAR?) HOT 1
- 1.1.5 버전 CtrlHeaderGso 클래스의 unkown 참조 이슈 HOT 1
- setCtrlHeaderRecord 함수에서 테이블이 여러개일 경우 테이블 높이를 계산해서 y좌표 지정을 하고 싶은데 테이블 높이를 계산하는 방법이 있을까요? HOT 1
- 안녕하세요. 질문이 있어 방문하게 되었습니다. HOT 1
- 안녕하세요. 질문드립니다. HOT 6
- Abnormal behavior when table have too many rows HOT 3
- 현재 문단에 위치 HOT 1
- HWP 내용의 각 문단에서 줄바꿈 문자(개행문자)가 있는지 어떻게 확인이 가능한가요. HOT 1
- 문단번호 모양이 글머리표로 설정되어 있는 문서인 경우 문서정보 이상함 HOT 10
- 안녕하세요. 라이브러리 관련되어 질문이 있습니다. HOT 2
- [질문]Picture의 binItemId로 binary data구하기 HOT 1
- 표 데이터 추출 관련해서 문의 드립니다. HOT 1
- 안녕하세요. 텍스트 추출관련 문의드립니다. HOT 3
- 안녕하세요 hwp파일 변환 시 오류 확인부탁드립니다. HOT 3
- 글머리표가 2개 이상일때 문단모양정보(getParaShapeList)가 사라지는 현상 관련 확인요청사항 HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hwplib.