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)
- 한글파일 5.1.0.1 버전 변환안됨에 따른 문의 HOT 1
- HWPReader.fromFile에서
- 안녕하세요. 질문사항이 있어 글 올립니다.^^ HOT 2
- 얼마전에 질문 드렸던 사람인데요 HOT 7
- 안녕하세요. 라이브러리 관련하여 문의 드립니다.. HOT 2
- 가로정렬시 텍스트 겹침문제 HOT 4
- 안녕하세요! 테이블 관련해서 문의 드립니다. HOT 4
- ParagraphAdder를 통해 파일복사 시 복사한 파일의 개요문단 수준이 1로 고정되는 현상 HOT 2
- 누름틀에 값 입력 시 발생하는 현상 문의드립니다. HOT 2
- 특정 문서에서 문서의 개요를 지정한 형태로 읽지 못하는 현상 HOT 2
- 안녕하세요 테이블 관련 문의 드립니다! HOT 1
- 안녕하세요 오류 This is not paragraph. 질문 드립니다 HOT 10
- 안녕하세요, 상용 HWP 라이브러리 구입 문의 드립니다. HOT 1
- 한글 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
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.