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 -

Re: OptionsPage for my extension

2013-09-06 Thread Rajath Shashidhara
Uchino hanya.r...@gmail.comwrote: Hello, Id of the Leave of your OptionDialog setting should be the same with your extension identifier. Regards 2013/9/6 Rajath Shashidhara rajaths.raja...@gmail.com Hello, I'm not getting the Options Button for my extension on the extension

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 rajaths.raja...@gmail.com wrote

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
=EventHandlerServicevalueorg.apache.aoo.cmisucp.dialog.OptionsPageDialogHandler/value/prop On 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

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,

Re: XComponentLoader loadComponentfromURL Readonly

2013-09-05 Thread Rajath Shashidhara
/Documentation/DevGuide/OfficeDev/Handling_Documents On Thu, Sep 5, 2013 at 8:57 AM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hello, I'm passing a propertyvalue, readOnly-true to loadComponentFromURL(), but the openoffice is still not opening in readonly from. What

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: 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 jogischm...@gmail.comwrote: On 9/6/13 6:20 AM, Rajath Shashidhara wrote: Hello

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

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: 1.

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: MapString,String newFolderProps = new HashMapString, String(); newFolderProps.put(PropertyIds.NAME, name);

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, Delete and Add. I'm not understanding how to add

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 oliver.brinz...@gmx.dewrote: 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
) 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, Jul 26, 2013 at 8:08 PM, Oliver Brinzing oliver.brinz...@gmx.dewrote

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

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,

Re: Next Step

2013-07-20 Thread Rajath Shashidhara
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:55 PM, Jürgen Schmidt jogischm...@gmail.comwrote: On 7/18/13 8:40 PM, Rajath Shashidhara wrote

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,

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: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
jogischm...@gmail.comwrote: 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 you focus on a simple open and save of documents first. Sorry

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
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 can I debug why my code is not working when using

Re: Adding my own ucb commands

2013-07-01 Thread Rajath Shashidhara
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 implementation for open command for document. Now I'm using

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

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

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 jogischm...@gmail.comwrote: Am Sonntag, 30. Juni 2013 um 19:38 schrieb Rajath

Re: Implementing one instance component factory

2013-06-30 Thread Rajath Shashidhara
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!!!. On Sun, Jun 30, 2013 at 11:46 PM, Juergen Schmidt jogischm

Re: Open from file menu

2013-06-29 Thread Rajath Shashidhara
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 menu. but when i give the filename ad press enter. the document

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.)

Re: CMIS URL scheme

2013-06-27 Thread Rajath Shashidhara
repository, and what is then discovered from the repository: http://docs.oasis-open.org/cmis/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

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 jogischm...@gmail.comwrote: On 6/25/13 5:06 PM, Rajath Shashidhara wrote: Hello, Search command has not been implemented in any of the existing ucp'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?

Re: CMISUrl

2013-06-25 Thread Rajath Shashidhara
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'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

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%22defs=refs=path=%2Faoo-trunk%2Fmain%2Fucb%2Fsource%2Fucp%2Fhist=project=aoo-trunk -- Rajath S, M.Sc(Hons.) Physics, Birla

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

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 supplied to ucp is relative

Re: CMISUrl

2013-06-24 Thread Rajath Shashidhara
IS that possible? On Mon, Jun 24, 2013 at 4:39 PM, Jürgen Schmidt jogischm...@gmail.comwrote: 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 would say the configuration

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, servlet-path,repositoryid, path on repository from the given url

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, for example try

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.

Converting XInputStream to java.io.InputStream

2013-06-22 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,

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 Shashidhara rajaths.raja

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

Insert command

2013-06-21 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: 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 jogischm...@gmail.comwrote: On 6/21/13 8:05 AM, Rajath Shashidhara wrote: Hello, The explanation for insert

Re: Insert command

2013-06-21 Thread Rajath Shashidhara
...@gmail.comwrote: 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? I have to check the code of another UCP to say it exactly, I

Re: Insert command

2013-06-21 Thread Rajath Shashidhara
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.raja...@gmail.com wrote: Hello Juergen, If I have to create

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 queryInterface part

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: 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 rajaths.raja...@gmail.com

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

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

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

Re: XInputStream

2013-06-18 Thread Rajath Shashidhara
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 byte[]? What is the point of having a byte

XRowUpdate interface in service ResultSet

2013-06-17 Thread Rajath Shashidhara
Hello, I have a few questions here: XRowUpdate has a few methods like updateType(int columnindex, type 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,

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: 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, Rajath Shashidhara

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

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 arie...@apache.orgwrote: On Sun, Jun 16, 2013 at 11:10:56PM +0530, Rajath Shashidhara wrote: Hello, I created a new UNO project with some modified

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 jogischm...@gmail.comwrote: On 6/13/13 6:00 AM, Rajath Shashidhara wrote: Hello Ariel, Thanks for your input. Lately, I'm experiencing

Re: service ResultSet

2013-06-13 Thread Rajath Shashidhara
Hello Ariel, On Thu, Jun 13, 2013 at 1:22 PM, Ariel Constenla-Haile arie...@apache.orgwrote: 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-12 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 Juergen, But the return

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
AM, Rajath Shashidhara wrote: 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? ok, I see what you mean. You have to implement simply a UNO object implementing

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
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. :) On Wed, Jun 12, 2013 at 12:42 PM, Jürgen Schmidt

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 void insertRow() and void deleteRow

Re: service ResultSet

2013-06-12 Thread Rajath Shashidhara
by 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 arie...@apache.orgwrote: On Thu, Jun 13, 2013 at 09:30:58AM +0530, Rajath Shashidhara wrote: Hello Ariel, Thanks

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

Re: CMIS UCP getPropertyValues

2013-06-05 Thread Rajath Shashidhara
: - the project plan, document milestones - add info where to find your code at the moment - ... Juergen On Tue, Jun 4, 2013 at 3:35 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Is this the right way to convert an any object to properties array: pRequest = (Property

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 jogischm...@gmail.comwrote: 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 take. I'll

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 jogischm...@gmail.comwrote: On 6/5/13 10:07 AM, Rajath Shashidhara wrote: Ok. I'll document

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: 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 jogischm...@gmail.comwrote: On 6/4/13 10:01 AM, Rajath Shashidhara wrote: Hello, I have successfully completed the implementation

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 sequenceProperty . On Tue, Jun 4, 2013 at 2:23 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hello Juergen

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 an any object

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,DateModified

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
On 6/3/13 6:59 AM, Rajath Shashidhara wrote: Hello Ariel, Actually, this is my first code using openoffice api. I'll do these before completing my ucp. Sorry. I'll get back to you with the understanding of the general api. On Mon, Jun 3, 2013 at 10:20 AM, Ariel Constenla

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
, Rajath Shashidhara wrote: Hello, I have changed the getPropertyValues return type to XRow. One Problem I'm facing is that the stated UNOtype sequence is not available for me. I checked com.sun.star.uno package also. I typecasted the command.argument to Property[] because from

Re: CMIS UCP

2013-06-03 Thread Rajath Shashidhara
Hello Juergen, Ok. On Mon, Jun 3, 2013 at 11:40 PM, Jürgen Schmidt jogischm...@gmail.comwrote: On 6/3/13 8:06 PM, Rajath Shashidhara wrote: Hello Juergen, I have type casted it to Property[]. This page says that the argument for getPropertyValues is sequenceProperty type. http

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 jogischm...@gmail.comwrote: On 6/3/13 8:06 PM, Rajath Shashidhara wrote: Hello Juergen, I have type casted

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

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, After so much

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 after throwing an instance

Re: Openoffice API - UCP

2013-06-03 Thread Rajath Shashidhara
; 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 rajaths.raja...@gmail.com wrote: Hello, My print statements were not shown because

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
arie...@apache.orgwrote: Hi Rajath, On Sun, Jun 02, 2013 at 09:58:56AM +0530, Rajath Shashidhara wrote: Hello, Now that I have added a UNO Object of IDL type Content, there are some methods that need to be implemented. Out of which, com.sun.star.ucb.XContentIdentifier getIdentifier

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
Hello, I think there is a bug in OpenOffice 4. Tools-Options-Security. Macro Security Button link is broken. On Sun, Jun 2, 2013 at 2:03 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hello, Sorry for asking too many questions. The method execute in the XContent implementation

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
Yes. I built it myself. I'll rebuild it with that switch. Thanks. On Sun, Jun 2, 2013 at 3:50 PM, Ariel Constenla-Haile arie...@apache.orgwrote: On Sun, Jun 02, 2013 at 03:21:42PM +0530, Rajath Shashidhara wrote: Hello, I think there is a bug in OpenOffice 4. Tools-Options-Security

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
to which property is being referred? Please help. On Sun, Jun 2, 2013 at 3:51 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Yes. I built it myself. I'll rebuild it with that switch. Thanks. On Sun, Jun 2, 2013 at 3:50 PM, Ariel Constenla-Haile arie...@apache.orgwrote: On Sun, Jun

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
Just realised my mistake, XContentIdentifier will be passed to queryContent. So, analysis of URL is done in that method itself. On Sun, Jun 2, 2013 at 5:12 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hi Ariel, I'm still not clear about one thing: I'm completing

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
? On Sun, Jun 2, 2013 at 8:20 PM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Just realised my mistake, XContentIdentifier will be passed to queryContent. So, analysis of URL is done in that method itself. On Sun, Jun 2, 2013 at 5:12 PM, Rajath Shashidhara rajaths.raja...@gmail.com

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
, passwd can be changed in the apache.ooffice.gsoc.cmisucp.cmis.repositoryconnect class. Please give some pointers about my code. My code is hosted on my github repository: https://github.com/rajaths589/CMISContentProvider.git On Sun, Jun 2, 2013 at 11:06 PM, Rajath Shashidhara rajaths.raja

Re: CMIS UCP

2013-06-02 Thread Rajath Shashidhara
, Jun 03, 2013 at 01:28:24AM +0530, Rajath Shashidhara wrote: Hello everyone, I have completed some part of the CMISUCP. I have made my own implementation of XContent, XContentIdentifier interfaces. I have partially Completed implementation of the following methods: queryContent

Re: CMIS UCP

2013-06-01 Thread Rajath Shashidhara
, does it mean that these print statements should be executed? So, I will be able to see the print statements on the terminal when I start openoffice from terminal? On Sat, Jun 1, 2013 at 2:04 AM, Ariel Constenla-Haile arie...@apache.orgwrote: On Sat, Jun 01, 2013 at 12:12:34AM +0530, Rajath

Re: CMIS UCP

2013-06-01 Thread Rajath Shashidhara
should be implemented in each of these methods? On Sat, Jun 1, 2013 at 10:34 PM, Ariel Constenla-Haile arie...@apache.orgwrote: Hi Rajath, On Sat, Jun 01, 2013 at 09:05:34PM +0530, Rajath Shashidhara wrote: Hello Ariel, Your code has these lines in queryContent() method: System.out.printf

Re: CMIS UCP

2013-06-01 Thread Rajath Shashidhara
2, 2013 at 6:06 AM, Ariel Constenla-Haile arie...@apache.orgwrote: Hi Rajath, On Sun, Jun 02, 2013 at 12:12:11AM +0530, Rajath Shashidhara wrote: Hello, I read the wikipages about UCB and UCP(all the links in these mails), One thing I did not understand is: What functions are called

Re: CMIS UCP

2013-06-01 Thread Rajath Shashidhara
, Jun 2, 2013 at 9:58 AM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hello, Now that I have added a UNO Object of IDL type Content, there are some methods that need to be implemented. Out of which, com.sun.star.ucb.XContentIdentifier getIdentifier() is one of them. I have read

CMIS UCP

2013-05-31 Thread Rajath Shashidhara
Hello, I have built the basic CMIS UCP code that Ariel had sent me. Created a .oxt. Installed it. I uploaded a .odt file to my inmemory repository(no authentication required). I tried this URL in the open dialog: cmis://in-memory-repositoty-address/path-of-uploaded-object It says non-existant

Re: CMIS UCP

2013-05-31 Thread Rajath Shashidhara
Yes. I am able to upload, then download and access the document into the local server. I tried the same document. I'll read them. On Fri, May 31, 2013 at 8:21 PM, Jürgen Schmidt jogischm...@gmail.comwrote: On 5/31/13 4:01 PM, Rajath Shashidhara wrote: Hello, I have built the basic CMIS

Re: CMIS UCP

2013-05-31 Thread Rajath Shashidhara
Hello, Where can I find the code of OpenOffice UCB? On Sat, Jun 1, 2013 at 12:12 AM, Rajath Shashidhara rajaths.raja...@gmail.com wrote: Hello, thought so because there was not much code in the package... I'll have to build on that. Right? On Fri, May 31, 2013 at 10:34 PM, Ariel

Re: CMIS UCP

2013-05-31 Thread Rajath Shashidhara
Hello, thought so because there was not much code in the package... I'll have to build on that. Right? On Fri, May 31, 2013 at 10:34 PM, Ariel Constenla-Haile arie...@apache.orgwrote: On Fri, May 31, 2013 at 04:51:14PM +0200, Jürgen Schmidt wrote: On 5/31/13 4:01 PM, Rajath Shashidhara wrote

  1   2   >