Hi Miklos, First of all thank you for your reply. I will check your links and your suggestions, but where can i find a documentation that explain me how UNO works? I would write a documentation of my work but first I have to understand the working logical.
Thanks again for your help. —Massimiliano > Il giorno 05/mag/2015, alle ore 15:58, Miklos Vajna <vmik...@collabora.co.uk> > ha scritto: > > Hi, > > On Tue, May 05, 2015 at 03:05:36PM +0200, Massimiliano Fiori > <massimiliano.fi...@aol.it> wrote: >> I'm trying to do this hack: >> https://bugs.documentfoundation.org/show_bug.cgi?id=89860 >> <https://bugs.documentfoundation.org/show_bug.cgi?id=89860> , i see >> that all menu options in LibreOfficeMainActivity.java send an Event to >> UNO, so my question is: to implement a print option i have to write a >> new UNO command? I’m new in LO project, what is UNO and where can i >> find documentation to hack the code? > > There is .uno:Print already, but that brings up the print dialog on the > desktop, so it won't work as-is. > > From the bug description, I imagine what would be better is just > exporting to PDF, and then handling the printing from the Java part. > > See include/LibreOfficeKit/LibreOfficeKit.hxx, lok::Document::saveAs() > can do PDF export for you. > > Documentation links: > > https://wiki.documentfoundation.org/Development > https://wiki.documentfoundation.org/Development/Android > > Regards, > > Miklos _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice