Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello Jurgen, I'm sorry abt the odf file. I thought that ODF was opendocument format and is the parent format for all the opendocument formats. But, Now i checked it. it is formula file. On Tue, Sep 10, 2013 at 8:56 PM, Jürgen Schmidt wrote: > On 9/10/13 5:22 PM, Rajath Shashidha

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello, should I explicitly set the mimetype as odf? On Tue, Sep 10, 2013 at 8:51 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Jurgen, > Yes I have debugged the calls. > FIrst, the ucb tries to queryContent for the object name specified through > the s

Re: MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
WHich just contains the SourceURL. I'm creating a ucb instance to obtain the content stream from that url. On Tue, Sep 10, 2013 at 8:47 PM, Jürgen Schmidt wrote: > On 9/10/13 5:08 PM, Rajath Shashidhara wrote: > > Hello, > > > > When I create a new Document and save i

MediaType UCB property from file ucb is null

2013-09-10 Thread Rajath Shashidhara
Hello, When I create a new Document and save it from dialog on a cmis repository, I need the media type of the file. In the back end what happens is, when a new document is created in OpenOffice, it is stored in a temp file on the harddisk. So, when I save it from the save dialog on a cmis reposi

Authentication Example

2013-09-07 Thread Rajath Shashidhara
Hello, I want an example code or code snippet or wiki link for using InteractionHandler to get authentication details like user credentials for my ucp. Please provide me an example. -- Rajath S, M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science Birla Institute of Technology and Science - Pilani

Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Fri, Sep 6, 2013 at 1:29 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Finally found the mistake. > > The configuration file entry was missing from the manifest file. > -- Rajath S, M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science Birla Institute of Technology and Science - Pilani, Pilani

Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Finally found the mistake. The configuration file entry was missing from the manifest file.

Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Hello Jurgen, I am not even receiving the "Options" button on the extension. How can I debug? Only If I click that "Options" Button, I'll be able to construct the EventHandler after which I can debug. Right? On Fri, Sep 6, 2013 at 12:06 PM, Rajath Shashidhara < raja

Re: OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
utomu Uchino wrote: > Hello, > > Id of the Leave of your OptionDialog setting should be the same with your > extension identifier. > > Regards > > > 2013/9/6 Rajath Shashidhara > > > Hello, > > > > I'm not getting the "Options"

Re: OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
Hello Jurgen, I have been debugging the checkin and checkout feature. Yes.. I used the example provided by you to write the xcu file. I'll have to debug it more. On Fri, Sep 6, 2013 at 10:40 AM, Jürgen Schmidt wrote: > On 9/6/13 6:20 AM, Rajath Shashidhara wrote: > > Hello, &

OptionsPage for my extension

2013-09-05 Thread Rajath Shashidhara
Hello, I'm not getting the "Options" Button for my extension on the extension manager. WHere am I going wrong? -- Rajath S, M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science Birla Institute of Technology and Science - Pilani, Pilani

Re: XComponentLoader loadComponentfromURL Readonly

2013-09-05 Thread Rajath Shashidhara
tead repleaced with the own > ReadOnly property for the MediaDescriptor service. > > http://wiki.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Handling_Documents > > > > > On Thu, Sep 5, 2013 at 8:57 AM, Rajath Shashidhara < > rajaths.raja...@gmail.com> wrote: > > > H

XComponentLoader loadComponentfromURL Readonly

2013-09-05 Thread Rajath Shashidhara
Hello, I'm passing a propertyvalue, "readOnly"-true to loadComponentFromURL(), but the openoffice is still not opening in readonly from. What are the possible sources of error? -- Rajath S, M.Sc(Hons.) Physics, B.E.(Hons.) Computer Science Birla Institute of Technology and Science - Pilani, Pila

CMIS UCP

2013-08-29 Thread Rajath Shashidhara
Hello, SInce, my mentor for a long period of time. I need help from your side. My ucp is completed till the point where I can open files through open dialog and can create new documents on repository. When the user opens a document from open dialog, it is opened as readonly as editing needs the d

Options Page registry files

2013-08-21 Thread Rajath Shashidhara
Hello, Can anyone provide me a good source to read up on how to configure(.xcu and .xcs) the options page of an extension? I haven't been able to find it on devguide. -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani

Opinion: CMIS UCP Open

2013-08-17 Thread Rajath Shashidhara
Hello, I need opinion on how to implement "open" command in my cmis ucp. Since, cmis supports versioning, the make any changes to the document, the document has to be checked out. Later, the changes have to checked in. So, when the user "open" a folder from the file dialog, there are two options:

Insert Command

2013-07-31 Thread Rajath Shashidhara
Hello, The API reference for service com::sun::star:ucb::Content says: On successful completion of this command, the parent of the inserted // content must propagate the change by notifying a // ContentEvent - ContentAction ::INSERTED . But, how will the parent of the content created/inserte

CMIS Workbench problem

2013-07-30 Thread Rajath Shashidhara
Hello, I have created a new folder Inside the My_Folder-0-0 in the local immemory repository named "moved1" programmatically. Code: Map newFolderProps = new HashMap(); newFolderProps.put(PropertyIds.NAME, name); newFolderProps.put(PropertyIds.OBJECT_TYPE_ID, ObjectType.FOLD

Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
;meaningful" (semantic) event like "button pressed". so, should I check: actionCommand.compareTo("button pressed")==0 ? On Fri, Jul 26, 2013 at 8:17 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Oliver, > > Thank you..! > > > On Fri

Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello Oliver, Thank you..! On Fri, Jul 26, 2013 at 8:08 PM, Oliver Brinzing wrote: > Hi Rajath, > > i am sending you an example extension via email > > Regards > > Oliver > > -- > > GnuPG key 0xCFD04A45: 8822 057F 4956 46D3 352C 1A06 4E2C AB40 CFD0 4A45 > > -

Re: Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello, One thing I don't understand is when is "external_event" triggered? On Fri, Jul 26, 2013 at 7:22 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > I have attached my options page design. > I have three buttons, "Edit",

Not understanding how to link events to Extensions Options Page

2013-07-26 Thread Rajath Shashidhara
Hello, I have attached my options page design. I have three buttons, "Edit", "Delete" and "Add". I'm not understanding how to add events to identify these button clicks in my XContainerWindowEventHandler Implementation. Please help. -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technolog

Help with options page for extension

2013-07-24 Thread Rajath Shashidhara
Hello, I need help for developing options page for my extension. I have created a .xdl file using the openoffice dialog editor. Now, I plan to implement an event handler by implementing XContainerWindowEventHandler interface. To load the GUI of an xdl file, do I also need to implement the servic

Extension Options Page

2013-07-22 Thread Rajath Shashidhara
Hello, The wikipage: http://wiki.openoffice.org/wiki/Documentation/DevGuide/Extensions/Saving_and_Reading_Data_for_the_Options_Page contains example code which listens to "external_event". When is this "external_event" triggered? How do I link events to actions like mouse click, etc? -- Rajath S

XListBox

2013-07-20 Thread Rajath Shashidhara
Can I add columns in a ListBox object? Alos, when I try to export a dialog design into a .xdl file, I get this error: terminate called after throwing an instance of 'com::sun::star::resource::MissingResourceException' and openoffice hangs. I'm unable to export. Please help. -- Rajath S, M.Sc(H

Re: Next Step

2013-07-20 Thread Rajath Shashidhara
t on the object to a component. the listed events don't seem to have "external_event". So, what action by user triggers "external_event". This handlerImpl class saves/loads the option data entered by user to openoffice registry. Thanks. On Fri, Jul 19, 2013 at 12:5

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
oblem? Still no luck with opening form Open dialog box. But, all the ucb commands form my client application works. Any direction to proceed in? On Mon, Jul 1, 2013 at 10:22 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > > I have changed my implem

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
ul 1, 2013 at 9:36 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > > My I use my own client application I am able to open and save documents. > I'd like to know the ucb commands that are executed when open is clicked. > Also, How exactly ca

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
hmidt wrote: > On 7/1/13 5:29 PM, Rajath Shashidhara wrote: > > Hello, > > I'm thinking of adding "checkin" and "checkout" as ucp commands. > > > > Is it permitted to add my own ucb commands? > > > > sure and it make sense of course but

Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
Hello, I'm thinking of adding "checkin" and "checkout" as ucp commands. Is it permitted to add my own ucb commands? -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani

Re: Implementing one instance component factory

2013-06-30 Thread Rajath Shashidhara
Sub On Mon, Jul 1, 2013 at 9:18 AM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > I got this working. > THe problem was the I was using ComponentBase as SuperClass to > XSingleComponentFacotry... then changed it to weakbase. > > It worked!!!. > >

Re: Implementing one instance component factory

2013-06-30 Thread Rajath Shashidhara
Hello, I got this working. THe problem was the I was using ComponentBase as SuperClass to XSingleComponentFacotry... then changed it to weakbase. It worked!!!. On Sun, Jun 30, 2013 at 11:46 PM, Juergen Schmidt wrote: > Am Sonntag, 30. Juni 2013 um 19:38 schrieb Rajath Shashidhara: > &

Implementing one instance component factory

2013-06-30 Thread Rajath Shashidhara
Hello, I was implementing XSingleComponentFactory to return only the same instance of ucp. I was following the example provided by Ariel. But, when i follow his example, the ucp object returned by the UCB is not corresponding to the ucp developed by me. What could be the possible errors? -- R

Code linked with File->Open

2013-06-30 Thread Rajath Shashidhara
Hello, How do I find the code lined with file open dialog box. I want to see the ucb calls after i press open button. -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani

Re: "Open" from file menu

2013-06-29 Thread Rajath Shashidhara
ens when you type a CMIS URL in > the file open dialog? > > Juergen > > > Am Samstag, 29. Juni 2013 um 07:47 schrieb Rajath Shashidhara: > > > Hello, > > since i have installed my .oxt, > > i tried to open a document stored on my local server using file->open

"Open" from file menu

2013-06-28 Thread Rajath Shashidhara
Hello, since i have installed my .oxt, i tried to open a document stored on my local server using file->open menu. but when i give the filename ad press enter. the document doesnt open. Is it normal? Is there more work to be done to open the document on openoffice? -- Rajath S, M.Sc(Hons.) Physi

Re: CMIS URL scheme

2013-06-27 Thread Rajath Shashidhara
s/CMIS/v1.0/os/cmis-spec-v1.0.html>? > > > > - Dennis > > > > -Original Message- > > From: Rajath Shashidhara [mailto:rajaths.raja...@gmail.com] > > Sent: Wednesday, June 26, 2013 11:50 AM > > To: dev; Jürgen Schmidt > > Subject: CMIS URL s

CMIS URL scheme

2013-06-26 Thread Rajath Shashidhara
Hello, I asked the question about existence of URL scheme on stackoverflow. It seems that the url scheme is repository specific. SO, how do I proceed now? Do I define my own scheme? http://stackoverflow.com/questions/17273987/how-to-split-a-cmis-url-into-repository-path-and-path-with-respect-to-

Re: "Search" command

2013-06-26 Thread Rajath Shashidhara
Hello Juergen, Search command can be mapped to querying cmis repository. On Wed, Jun 26, 2013 at 1:37 PM, Jürgen Schmidt wrote: > On 6/25/13 5:06 PM, Rajath Shashidhara wrote: > > Hello, > > > > Search command has not been implemented in any of the existing ucp'

"Search" command

2013-06-25 Thread Rajath Shashidhara
Hello, Search command has not been implemented in any of the existing ucp's. Is it important to implement it? http://opengrok.adfinis-sygroup.org/source/search?q=%22search%22&defs=&refs=&path=%2Faoo-trunk%2Fmain%2Fucb%2Fsource%2Fucp%2F&hist=&project=aoo-trunk -- Rajath S, M.Sc(Hons.) Physics, B

Re: CMISUrl

2013-06-25 Thread Rajath Shashidhara
Hello Juergen, The standard for AtomPub Urls is: cmis://localhost:8080/inmemory/atom/A1/path?path=/My_Folder-0-0 source: https://chemistry.apache.org/java/developing/dev-url.html On Tue, Jun 25, 2013 at 12:37 PM, Jürgen Schmidt wrote: > On 6/24/13 7:29 PM, Rajath Shashidhara wrote: > &

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
/atom/A1/My_Folder-0-0 or cmis://localhost:8080/inmemory/atom/A1/path?path=/My_Folder-0-0 On Mon, Jun 24, 2013 at 9:28 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > > Yes, a server can support multiple repositories. > But, the problem I&#x

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
Hello Juergen, Yes, a server can support multiple repositories. But, the problem I'm facing is that I'm not able to separate the server path and the path of the object on the server. So, I'm trying to do this by trial and error. Let me see how this comes out, I'm planning on refining my code. I'l

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
Hello juergen, About http and https, Webdav ucp uses dav:// and davs:// as respective schemes. Should I do it as cmis and cmiss? On Mon, Jun 24, 2013 at 6:41 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > We could also do this by trial and error, >

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
. On Mon, Jun 24, 2013 at 6:38 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > I feel more than the authentication thing right now, its important to > break the url into parts like: > hostname, portname, ,repositoryid, path on repository from > t

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
0 IS that possible? On Mon, Jun 24, 2013 at 4:39 PM, Jürgen Schmidt wrote: > On 6/24/13 11:29 AM, Rajath Shashidhara wrote: > > Hello, > > > > Can i follow the uri format mentioned on this page: > > https://camel.apache.org/cmis.html > > in general yes, but I wou

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
Hello, Can i follow the uri format mentioned on this page: https://camel.apache.org/cmis.html On Mon, Jun 24, 2013 at 2:53 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > As of now I'm by default connected to my inmemory repository and my path

CMISUrl

2013-06-24 Thread Rajath Shashidhara
Hello, As of now I'm by default connected to my inmemory repository and my path supplied to ucp is relative to the root of that repository. But, as my task requires I need to develop a way to break any given url into the repository url, repository id, port, and the relative path of object with res

PropertyChangeListeners

2013-06-22 Thread Rajath Shashidhara
Hello, I have now completed the implementation of "insert" command. I was thinking about the propertychangelisteners. Is it good to store all the properties locally and each time getPropertyValues is called update all the properties and return only the requested properties. This way propertyvhang

Re: "Insert" command

2013-06-22 Thread Rajath Shashidhara
Hello, I'm unable to access opengrok. "Insert" command when title is not set in webdav ucp: OSL_ENSURE( sal_False, "Content::insert - Title missing!" ); What is this error? Or what is the equivalent java error to throw? On Fri, Jun 21, 2013 at 1:39 PM, Rajath S

Converting XInputStream to java.io.InputStream

2013-06-21 Thread Rajath Shashidhara
Hello, I wanted to convert an XInputStream into java.io.InputStream. I found this on the mail archive. http://markmail.org/message/fo2txhbgxu3ksnct This is a very old mail. So, just asking if such a conversion api has been defined now. What is the best way to do this conversion? -- Rajath S, M

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
what is not clear is suppose there were more than one call to createNewContent. and only one call to insert. whether all the created content must be committed or only a particular content must be committed. how to decide that?/? On Fri, Jun 21, 2013 at 1:35 PM, Rajath Shashidhara < rajaths

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
t; On 6/21/13 9:16 AM, Jürgen Schmidt wrote: > > On 6/21/13 9:09 AM, Rajath Shashidhara wrote: > >> Hello Juergen, > >> > >> I mean if "getPropertyValues" is requested for non-existing content > what is > >> the exception that must be thrown?

Re: "Insert" command

2013-06-21 Thread Rajath Shashidhara
Hello Juergen, I mean if "getPropertyValues" is requested for non-existing content what is the exception that must be thrown? On Fri, Jun 21, 2013 at 12:09 PM, Jürgen Schmidt wrote: > On 6/21/13 8:05 AM, Rajath Shashidhara wrote: > > Hello, > > > > The explanat

"Insert" command

2013-06-20 Thread Rajath Shashidhara
Hello, The explanation for "insert" command is not clear to me. If I call "insert" for a document, then I'll have to set the InputStream to to existing document. What happens If I call "insert" for a folder? Also, if the object specified by path doesnt exist on the repository, what kind of error

Re: OpenCommandArgument2 Data Sink

2013-06-20 Thread Rajath Shashidhara
Hello Juergen, I have updated the code of XInputStream and not pushed it to the repo. I'll do it now. You can get a better idea now. On Thu, Jun 20, 2013 at 2:27 PM, Jürgen Schmidt wrote: > On 6/20/13 10:26 AM, Rajath Shashidhara wrote: > > Can I use this? > > > http://co

Re: OpenCommandArgument2 Data Sink

2013-06-20 Thread Rajath Shashidhara
Can I use this? http://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/IOUtils.html On Thu, Jun 20, 2013 at 12:48 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Ariel, > > in you code: > copyStream() is to be implemented by me or is it th

Re: OpenCommandArgument2 Data Sink

2013-06-20 Thread Rajath Shashidhara
Hello Ariel, in you code: copyStream() is to be implemented by me or is it there in any library? On Thu, Jun 20, 2013 at 9:25 AM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Thanks ariel. > I have finished major part of this code. I only had doubt in that > quer

Re: OpenCommandArgument2 Data Sink

2013-06-19 Thread Rajath Shashidhara
Thanks ariel. I have finished major part of this code. I only had doubt in that queryInterface part. On Thu, Jun 20, 2013 at 1:08 AM, Ariel Constenla-Haile wrote: > Hi Rajath, > > On Wed, Jun 19, 2013 at 09:55:21PM +0530, Rajath Shashidhara wrote: > > Hello, > > &

Re: OpenCommandArgument2 Data Sink

2013-06-19 Thread Rajath Shashidhara
Hello, with reference to my previous mail. >From webdav ucp, this is the statement I'm not understanding: uno::Reference< io::XActiveDataSink > xSink( rArg.Sink, uno::UNO_QUERY ); Where is this constructor coming from? On Wed, Jun 19, 2013 at 9:55 PM, Rajath Shashidhara

OpenCommandArgument2 Data Sink

2013-06-19 Thread Rajath Shashidhara
Hello, I'm working on the XActiveDataSink. I'm slightly confused about how to handle OpenCommandArgument2.Sink . The object is the one which is filled with the XActiveDataSink object for which I have to set the InputStream by calling setInputStream() and pass the XInputStream implementation. This

Re: XInputStream

2013-06-18 Thread Rajath Shashidhara
Should I also do the same? On Tue, Jun 18, 2013 at 7:50 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > The methods readBytes and readSomeBytes have an argument Byte[][] . > > But shouldn't it be Byte[] ? because java.io.InputStream reads to a b

XInputStream

2013-06-18 Thread Rajath Shashidhara
Hello, The methods readBytes and readSomeBytes have an argument Byte[][] . But shouldn't it be Byte[] ? because java.io.InputStream reads to a byte[]? What is the point of having a byte [][]? This example also suggests this: http://forum.openoffice.org/en/forum/viewtopic.php?t=3801 They copy th

DataSink Object

2013-06-18 Thread Rajath Shashidhara
Hello, http://www.openoffice.org/ucb/docs/ucb-api-usage.html#GetDataStream There are two types of datasinks: 1. XActiveDataSink 2. XOutputStream Which one to use in my ucp? the active one or the passive one? or implement both like file ucp? code from file ucp: Reference< io::XOutputStream > output

Review of my code

2013-06-18 Thread Rajath Shashidhara
Hello, The coding phase of GSoC started on 17th. So It would be nice if I get a review of the code written till today. git Repository of my code: https://github.com/rajaths589/CMISContentProvider.git git Repository of my test client code: https://github.com/rajaths589/CMISContentProviderTest.git

XRowUpdate interface in service ResultSet

2013-06-17 Thread Rajath Shashidhara
Hello, I have a few questions here: XRowUpdate has a few methods like update(int columnindex, variable). This is similar to "setPropertyValues" command. Should these command be linked to the execute() - "setPropertyValues" command? Or should this even be implemented? -- Rajath S, M.Sc(Hons.)

Re: MIMEType of folder

2013-06-16 Thread Rajath Shashidhara
Hello Ariel, I'm debugging the client application using breakpoints and step-by-step execution. I'm using Log statements in the UNO component. Is there a way to use stpe-by-step executions for the UNO Component as well? On Mon, Jun 17, 2013 at 1:28 AM, Rajath Shashidhara <

Re: MIMEType of folder

2013-06-16 Thread Rajath Shashidhara
Hello Ariel, I'm debugging with the help of Log Statements. Is there any other way? On Mon, Jun 17, 2013 at 12:09 AM, Ariel Constenla-Haile wrote: > On Sun, Jun 16, 2013 at 11:10:56PM +0530, Rajath Shashidhara wrote: > > Hello, > > > > I created a new UNO project w

Re: MIMEType of folder

2013-06-16 Thread Rajath Shashidhara
Hello, I created a new UNO project with some modified code and renamed it to CMISContentProvider and deleted my old project. I created the .oxt for new project and installed it in the extension manager. But, the error stack trace printed by my test client application still points to my previous CM

Re: MIMEType of folder

2013-06-16 Thread Rajath Shashidhara
Hello, description of getContentType(): returns a type string, which is unique for that type of content (e.g. "application/vnd.sun.star.hierarchy-folder"). is a folder's unique content type application/vnd.sun.star.hierarchy-folder? On Sun, Jun 16, 2013 at 1:07 PM, Raj

MIMEType of folder

2013-06-16 Thread Rajath Shashidhara
Hello, When requested for MIMEType/ContentType for a folder, what should be the result? -- Rajath S, M.Sc(Hons.) Physics, Birla Institute of Technology and Science - Pilani, Pilani

Re: service ResultSet

2013-06-14 Thread Rajath Shashidhara
Hello Ariel, Can you help me with the OpenOffice Logger. Where can I open the Log? I'm using Logger log = Logger.getAnonymousLogger(); log.log(Level.XXX,"XXX"); Where can I check the access the log? On Fri, Jun 14, 2013 at 11:47 AM, Rajath Shashidhara < rajaths.raja..

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
or? On Fri, Jun 14, 2013 at 12:00 AM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Ariel, > > for making the ucp return the same single component factory object, shall > I create a static single component factory object and return it if it is > not null and cr

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
have not understood is what is the consequences of returning different single component factory objects? Thanks for ur support. On Thu, Jun 13, 2013 at 2:03 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Ariel, > > > > On Thu, Jun 13, 2013 at 1:22 PM,

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
Hello Ariel, On Thu, Jun 13, 2013 at 1:22 PM, Ariel Constenla-Haile wrote: > On Thu, Jun 13, 2013 at 11:01:50AM +0530, Rajath Shashidhara wrote: > > Hello Ariel, > > > > I changed: > > registration.classname=org.apache.aoo.ucp.cmisucp.ucp.CMISContentProvider >

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
. org.apache.aoo.cmisucp.cmis . I can change this anytime I want. :) I clean-built it to solve the problem of .oxt. On Thu, Jun 13, 2013 at 1:15 PM, Jürgen Schmidt wrote: > On 6/13/13 6:00 AM, Rajath Shashidhara wrote: > > Hello Ariel, > > > > Thanks for your input. > > Lately, I&#

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
component factory implementation. I have not implemented any component factory! Please clarify. Sorry, for repeated questions! On Thu, Jun 13, 2013 at 10:48 AM, Ariel Constenla-Haile wrote: > On Thu, Jun 13, 2013 at 09:30:58AM +0530, Rajath Shashidhara wrote: > > Hello Ariel, > > >

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
without checking if it is in this range? On Thu, Jun 13, 2013 at 9:05 AM, Ariel Constenla-Haile wrote: > On Wed, Jun 12, 2013 at 09:01:51AM +0200, Jürgen Schmidt wrote: > > On 6/12/13 8:45 AM, Rajath Shashidhara wrote: > > > Hello Juergen, > > > > > > I'

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
previously. Please help. I rebuilt openoffice and tried again. It didnt work. On Wed, Jun 12, 2013 at 7:26 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > > service resultSet implements XResultSetUpdate. > > I don't understand the purpose of &q

Problem with openoffice4

2013-06-12 Thread Rajath Shashidhara
Hello, I'm trying to install an extension manager on Openoffice4. When I click "Add" on the extension manager dialog, ooffice exits by throwing an instance of 'com::sun::star::lang::WrappedTargetRuntimeException'. It was working till today. It stopped working unexpectedly. I cant report any trigg

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
;m not understanding when to update the properties of a row? Should I create event listeners for each value in XRow or update the row only when some function is called? On Wed, Jun 12, 2013 at 12:43 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Yes. I have done that. :) &g

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
Yes. I have done that. :) On Wed, Jun 12, 2013 at 12:42 PM, Jürgen Schmidt wrote: > On 6/12/13 9:04 AM, Rajath Shashidhara wrote: > > Hello Juergen, > > > > I have already implemented my own XRow. I'm implementing the result set > > service by defining a Li

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
Hello Juergen, I have already implemented my own XRow. I'm implementing the result set service by defining a List with each XRow containing the information of a child object in case of a folder. On Wed, Jun 12, 2013 at 12:31 PM, Jürgen Schmidt wrote: > On 6/12/13 8:45 AM, Rajath Sha

Re: service ResultSet

2013-06-11 Thread Rajath Shashidhara
Hello Juergen, I'm following this: http://www.openoffice.org/api/docs/common/ref/com/sun/star/ucb/Content.html . Is there any other revised source that I have to follow? On Wed, Jun 12, 2013 at 12:10 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juerge

Re: service ResultSet

2013-06-11 Thread Rajath Shashidhara
Hello Juergen, But the return datatype of Open Command is a dynamic result set. So, a result set service must be implemented right? On Wed, Jun 12, 2013 at 11:44 AM, Jürgen Schmidt wrote: > On 6/12/13 6:55 AM, Rajath Shashidhara wrote: > > Hello, > > Just a small doubt. >

service ResultSet

2013-06-11 Thread Rajath Shashidhara
Hello, Just a small doubt. I was looking at the methods to be implemented in ResultSet. m_RowCount stores the current row being accessed. I have a doubt in the following methods. Methods: next(),previous(),beforeFirst(),afterLast() . Initially when the resultset is constructed, m_RowCount will be

Service com.sun.star.sdbc.ResultSet

2013-06-08 Thread Rajath Shashidhara
Hello, I was trying to implement the "open" command for my ucp. I was reading through the implementation of this service. My question is: Is there a standard way to store the properties of the folder children? As in, is there any data structure defined in the api to store the property values in a

Re: CMIS UCP getPropertyValues

2013-06-05 Thread Rajath Shashidhara
Hello, Is there any enumeration for different modes for OpenCommandArgument2 in "open" command implementation? Or is the mode implementation specific? On Wed, Jun 5, 2013 at 7:35 PM, Jürgen Schmidt wrote: > On 6/5/13 10:07 AM, Rajath Shashidhara wrote: > > Ok. I'll

Re: CMIS UCP getPropertyValues

2013-06-05 Thread Rajath Shashidhara
Ok. I'll document the milestones. On Wed, Jun 5, 2013 at 1:35 PM, Jürgen Schmidt wrote: > On 6/5/13 9:54 AM, Rajath Shashidhara wrote: > > Ok.. I'll do it. As of now, I am not very clear about the project plan > > because I'm not sure how much time each module will

Re: CMIS UCP getPropertyValues

2013-06-05 Thread Rajath Shashidhara
Ok.. I'll do it. As of now, I am not very clear about the project plan because I'm not sure how much time each module will take. I'll doucment about where to find my code and milestones. On Wed, Jun 5, 2013 at 12:53 PM, Jürgen Schmidt wrote: > On 6/4/13 6:32 PM, Rajath

XPropertySetInfo implementation

2013-06-04 Thread Rajath Shashidhara
Hello everyone, I was implementing XPropertySetInfo interface to return an object for it when "getPropertySetInfo" command is executed. I had a doubt about setting the attribute of Property as READONLY. I have set Some properties like "DateCreated","Size","IsFolder","IsDocument","ContentType","D

Re: CMIS UCP getPropertyValues

2013-06-04 Thread Rajath Shashidhara
Hello Juergen, I have tested the "getPropertyValues" command. It works pretty nicely. Please send me some pointers about my code so that I can improve. On Tue, Jun 4, 2013 at 3:35 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Is this the right way to convert

Re: CMIS UCP getPropertyValues

2013-06-04 Thread Rajath Shashidhara
Is this the right way to convert an "any" object to properties array: pRequest = (Property[]) AnyConverter.toArray(arg0.Argument); ? because I need to convert the any object to sequence . On Tue, Jun 4, 2013 at 2:23 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote:

Re: CMIS UCP getPropertyValues

2013-06-04 Thread Rajath Shashidhara
Hello Juergen, I think i'll have to more debugging. I'm facing some errors. I'll continue once I complete it. On Tue, Jun 4, 2013 at 1:50 PM, Jürgen Schmidt wrote: > On 6/4/13 10:01 AM, Rajath Shashidhara wrote: > > Hello, > > > > I have successf

CMIS UCP getPropertyValues

2013-06-04 Thread Rajath Shashidhara
Hello, I have successfully completed the implementation of "getPropertyValues" ucb command for cmis ucp. My ContentProvider repo: https://github.com/rajaths589/CMISContentProvider.git I wrote a client application to test my ucp: https://github.com/rajaths589/CMISContentProviderTest.git What is

Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
"; cmd.Handle = 0; cmd.Argument = null; xcp.execute(cmd, 0, null); cmd- "haha" was a test command. I obtained the expected result. Also getContentType() also produced the expected output.! On Tue, Jun 4, 2013 at 1:39 AM, Rajath Shashidhara <

Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello, My print statements were not shown because .xcu configuration file was missing. On Tue, Jun 4, 2013 at 1:06 AM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello, > when macro security button is clicked this exception is raised: > > terminate called

Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello, when macro security button is clicked this exception is raised: terminate called after throwing an instance of 'com::sun::star::loader::CannotActivateFactoryException' On Tue, Jun 4, 2013 at 12:40 AM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello

Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
Hello, After so much discussion, questions and effort, I have decided to approach this in a more systematic manner. Now, Before asking any more questions I'll read the documentation properly starting from now. My first question: How to test my ucp? How do I know if my ucp is called? I added some

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
UCP to UCB? On Mon, Jun 3, 2013 at 11:41 PM, Rajath Shashidhara < rajaths.raja...@gmail.com> wrote: > Hello Juergen, > Ok. > > > On Mon, Jun 3, 2013 at 11:40 PM, Jürgen Schmidt wrote: > >> On 6/3/13 8:06 PM, Rajath Shashidhara wrote: >> > Hello Juergen, >

  1   2   >