Hi.....i have founded this file :
"poi-src-3.0-alpha3-20061212" I have used Ant for build it.......
the Fill class is recognize...but the bug is this:
Exception in thread "main" java.lang.ClassCastException:
org.apache.poi.hslf.record.Slide
at
org.apache.poi.hslf.usermodel.SlideShow.buildSlidesAndNotes(SlideShow.java:320)
at org.apache.poi.hslf.usermodel.SlideShow.<init>(SlideShow.java:121)
at Convert.main(Convert.java:37) [*]
With this file "poi-src-3.0-alpha2-20060616" the bug there isn't......
[*] SlideShow ppt = new SlideShow(new HSLFSlideShow("slideshow.ppt"));
qwerty_giggi wrote:
>
> The class Fill isn't recognize.......the release of Jakarta that I used
> is:
>
> "poi-src-3.0-alpha2-20060616"
>
> is there a new-release?
>
>
> Yegor Kozlov wrote:
>>
>>>>Hi......I would to know if there is a way to extract a background color
of a
>>>>slide?
>>
>> Use the Fill object to get slide background:
>>
>> Fill fill = slide.getBackground().getFill();
>> Color rgb = fill.getBackgroundColor();
>>
>>>>But the color line is wrong...the only colors that matching are:
red,blue...
>>>>the others are only black.......the RGB's jakarta is the same of the
RGB's
>>>>Java?I need of a transformation????
>>
>> Line.getLineColor should return the correct RGB value. Print RGB
>> components to stdout and see what's wrong.
>>
>> If indeed only a few colors match, then create an issue in bugzilla and
>> attach a
>> sample ppt.
>>
>> Yegor
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> Mailing List: http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Slide-BackgroundColor.......-tf3022194.html#a8441373
Sent from the POI - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
Mailing List: http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project: http://jakarta.apache.org/poi/