Does anyone have a more specific answer for my original question in the last
paragraph below?
----- Original Message -----
From: "MSB" <[email protected]>
To: <[email protected]>
Sent: Wednesday, February 17, 2010 3:10 AM
Subject: Re: Fw: v 3.6 Question.
HWPF is a very immature API and it has limitations when it comes to
creating
Word documents; one of these is the ability to set the font used to render
a
CharacterRun. Also, you will need to bear in mind that it may not be
possible to set more than one attribute for each CharacterRun; I wrote
some
test code that was able to, for instance, set the size of the font or the
colour but it failed if I tried to perform both operations on the same
CharacterRun. Now it is fair to say that I have not run this same test
against version 3.6 however.
HWPF is very much in need of input from talented developers and, if you
are
thinking of using the API in the future, it would be well worth your while
considering joining the project and contributing to the development of
this
library.
Yours
Mark B
Zachary Mitchell, BCIS wrote:
----- Original Message -----
From: "Zachary Mitchell, BCIS" <[email protected]>
To: "POI Users List" <[email protected]>
Sent: Friday, February 12, 2010 9:57 AM
Subject: Re: v 3.6 Question.
When using an HWPFDocument object with CharacterRun, to create a Word
file
from scratch,
How do I specify the Font for a CharacterRun of Text, like
"Arial"
"Times New Roman"
"Verdana"
and font size?
Available methods in CharacterRun, like
- setFtAscii()
- setFtcFE()
- setFtOther()
are unclear. How do I use these on a Character run to plainly specify
Font and Size?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
View this message in context:
http://old.nabble.com/Fw%3A-v-3.6-Question.-tp27602156p27611208.html
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]