[libreoffice-users] Re: Issue about page count of spreadsheet file

2016-07-05 Thread shawn
I also try to get page count through XDocumentProperties->getDocumentStatistics(), but the attached file return 0 NamedValue. So I am wondering whether LibreOffice SDK support calculate page count for Excel format? -- View this message in context: http://nabble.documentfoundation.org/Issue-abou

[libreoffice-users] Re: Issue about page count of spreadsheet file

2016-07-04 Thread shawn
By the way, the spreadsheet has 3 pages but getCount() return 1. -- View this message in context: http://nabble.documentfoundation.org/Issue-about-page-count-of-spreadsheet-file-tp4187912p4187915.html Sent from the Users mailing list archive at Nabble.com. -- To unsubscribe e-mail to: users+

[libreoffice-users] Issue about page count of spreadsheet file

2016-07-04 Thread shawn
erence< XMasterPagesSupplier> xMasterPagesSupplier(myDocument, UNO_QUERY); Reference< XDrawPages > xDrawPages = xDrawPageSupplier->getDrawPages(); Reference< XIndexAccess > xIndex( xDrawPages, UNO_QUERY); int pageCount = xIndex->getCount(); Thanks for any help! Shawn -- View

RE: [libreoffice-users] question about "Binary URP bridge disposed during call" error

2016-03-04 Thread Shawn Cao
housands time. If I restart soffice.bin every time a printing job finished, "loadComponentFromURL()" always return quickly. I am wondering why "m_xDesktop->loadComponentFromURL()" sometimes get stuck and how to generate debugging information when it get stuck? Best Regard

[libreoffice-users] question about "Binary URP bridge disposed during call" error

2016-02-18 Thread shawn
( Exception& exception ) { throw new MyExceptionClass(1, exception.Message.getStr());//"Binary URP bridge disposed during call" } if (m_xDocument != NULL) { m_xDocument->dispose();} Thanks! Shawn -- View this message in context: http://nabble.documentfounda