poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zachary Mitchell, BCIS" <zac....@internode.on.net>
Subject Fw: Fw: v 3.6 Question.
Date Wed, 17 Feb 2010 01:23:13 GMT
Does anyone have a more specific answer for my original question in the last 
paragraph below?


----- Original Message ----- 
From: "MSB" <markbrdsly@tiscali.co.uk>
To: <user@poi.apache.org>
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" <zac.j.m@internode.on.net>
>> To: "POI Users List" <user@poi.apache.org>
>> 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: user-unsubscribe@poi.apache.org
>> For additional commands, e-mail: user-help@poi.apache.org
>>
>>
>>
>
> -- 
> 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: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message