poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yegor Kozlov <ye...@dinom.ru>
Subject Re[2]: Master Sheet
Date Tue, 21 Nov 2006 14:07:15 GMT
NB> That gets overridden by model.Slide . It'll return null for MasterSheets,
NB> and Notes, but should give you the master for a Slide.

That's right.
It should return the master of a slide. I tested it on many ppt files and
it worked fine to me.

TPN> This method is returning null always no matter which file you try to
TPN> open.

Are you trying to call it for a Note or for MasterSheet? Could you
provide a sample of your code?

Regards, Yegor


TPN> Hi,

TPN> This method is returning null always no matter which file you try to 
TPN> open. I just don't understand why the method is like this:

TPN>     /**
TPN>      * Return the master sheet .
TPN>      */
TPN>     public MasterSheet getMasterSheet(){
TPN>         return null;
TPN>     }

TPN> Are you sure it is correct?

TPN> Regards,
TPN> Tales

TPN> Yegor Kozlov wrote:
>> Hi,
>>
>> It should be correct.
>> Could you attach the ppt file?
>>
>> Regards,
>> Yegor
>>
>> TPN> Hi,
>>
>> TPN> is the Sheet.getMasterSheet() method correct? It is returning null, and 
>> TPN> when the RichTextRun.getParaTextPropVal() or similars are called, a 
>> TPN> NullPointerException is thrown, as expected...
>>
>> TPN> Tks,
>>
>> TPN> Tales Paiva
>>
>> TPN> ---------------------------------------------------------------------
>> TPN> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> TPN> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> TPN> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
>> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
>> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/
>>   


TPN> ---------------------------------------------------------------------
TPN> To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
TPN> Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
TPN> The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


---------------------------------------------------------------------
To unsubscribe, e-mail: poi-user-unsubscribe@jakarta.apache.org
Mailing List:     http://jakarta.apache.org/site/mail2.html#poi
The Apache Jakarta Poi Project:  http://jakarta.apache.org/poi/


Mime
View raw message