Yes, I've been on that examples site many times, but I can't seem to
find anything that is right down my alley.  I can find the cursor for
the doc, but can't figure out how to get the Page count from that
cursor.

Thanks for your help though...I appreciate the response as it's moved me
further...

Aaron


-----Original Message-----
From: Cor Nouws [mailto:[email protected]] 
Sent: Thursday, April 09, 2009 3:05 PM
To: [email protected]
Subject: Re: [api-dev] api to get page count

Aaron Ehrensberger wrote (9-4-2009 20:54)
> From: Cor Nouws [mailto:[email protected]] 

>> I've just looked in OOoBasic, what I am used to.
>> ThisComponent.CurrentControler.PageCount does it.
>> 
>> ThisComponent.CurrentController.ViewCursor.Page returns the page
number.
>> 
> Any chance you know the corresponding java?  I'm tripping over not
> seeing the currentController, then finding that to not see the cursor,
> etc...
> 
> Plus, I can't find the Page service you're talking about in the java
> api?

I cannot, but others can ..

> (Sorry for being such a beginner).

No need to feel sorry about that ;-)
Have you seen the examples linked from api.openoffice.org? More Java 
then Basic there ...


-- 
Cor Nouws    -    nl.OpenOffice.org marketing contact
= "2009 - Develop OOo"   =   www.nieuwsteoffice.nl  =

---------------------------------------------------------------------
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]

Reply via email to