Re: Introducing my self and my goals.

2015-12-18 Thread Ηρακλής Μουτίδης
Dear Damjan, I am working on implementing the Calc functions. I am reading the guide (Calc/Implementations/Spreadsheet Functions) and got some questions. First of all the actual implementation of the function will be on one of the sc/source/core/tool/interpr?.cxx files? Second how can i run a simp

C++ Exception Handling

2015-12-18 Thread Rodrigo Bonifacio
Dear all, (apologies if you receive multiple copies) We are investigating the use of C++ exception handling constructs in well known open-source C++ systems, and have published some results in the last International Conference on Source Code Analysis and Manipulation [1] We are expanding this res

Re: [DISCUSS] Groovy UNO Extensions

2015-12-18 Thread Carl Marcum
On 12/17/2015 11:53 PM, Pedro Giffuni wrote: Hi Carl; You are definitely having quite awesome ideas lately :). Actually, I tried to get the Groovy extension relicensed but I got no reply from the developer of the old project. It sounds great to start a new effort from scratch. I am taking a

Re: Close Page Preview from Code

2015-12-18 Thread Tengiz Merabishvili
Hello Regina, Everything works now, thanks a lot for your help. This is the final code in case anyone has the same problem: PropertyValue[] args = new PropertyValue[0]; XDispatchProvider xTempDispatchProvider = unoQuery(XDispatchProvider.class, xTempNewDocumentController.getFrame()); getXDispat

Re: Close Page Preview from Code

2015-12-18 Thread Regina Henschel
Hi Tengiz, Tengiz Merabishvili schrieb: Hello Regina, I am using Java, then someone else should help you. Perhaps you can ask in the forum? Using the dispatcher is nothing special. Or have you already searched for dispatcher in the developer guide? Most examples are in Java there. tryi

Re: Close Page Preview from Code

2015-12-18 Thread Tengiz Merabishvili
Hello Regina, I am using Java, trying it like that: PropertyValue[] args = new PropertyValue[3]; args[0] = new PropertyValue(); args[0].Name = "DocName"; args[0].Value = getTitlePropertyValue(getXDesktop().getCurrentComponent()); arg

Re: Close Page Preview from Code

2015-12-18 Thread Regina Henschel
Hi Tengiz, I can only tell you how to do it in Basic, and there it is exactly as I have posted. Which language do you want to use? Kind regards Regina Tengiz Merabishvili schrieb: Hello Regina, Thanks a lot for your reply. I am having trouble creating a Uno service. This is what I am tryin

Re: Close Page Preview from Code

2015-12-18 Thread Tengiz Merabishvili
Hello Regina, Thanks a lot for your reply. I am having trouble creating a Uno service. This is what I am trying to do: XDispatch dispatcher = createUnoService("com.sun.star.frame.DispatchHelper"); But I get "cannot find symbol" error for createUnoService and do not know which package it is inclu

Re: Close Page Preview from Code

2015-12-18 Thread Regina Henschel
Hi Tengiz, Tengiz Merabishvili schrieb: Hello, I have a small question about working with documents. Is there a function that allows me to check if the document I am currently working on is in Page Preview state, or a function that lets me 'Close Preview' for that document? I searched XModel a

Close Page Preview from Code

2015-12-18 Thread Tengiz Merabishvili
Hello, I have a small question about working with documents. Is there a function that allows me to check if the document I am currently working on is in Page Preview state, or a function that lets me 'Close Preview' for that document? I searched XModel and XController classes but was unable to fi