Re: PyUno - CSV Opening With Writer

2013-01-21 Thread Stephan Bergmann
On 01/18/2013 04:05 PM, Joel Madero wrote: I wanted to get some help trying to get pyuno to behave. Trying to automate our stats with pyuno :) The csv file opens with write no matter what I do to try to get it to open with spreadsheet. Thanks all. import uno # get the uno component context from

Re: PyUno - CSV Opening With Writer

2013-01-18 Thread Joel Madero
> > > Not necessarily. After my type detection rework during the 3.6 cycle, csv > is treated just as a simple plain text file, which *may* be opened in > Writer by default if you don't specify the document service property. This > is why I advised him earlier to pass DocumentService="com.sun.star

Re: PyUno - CSV Opening With Writer

2013-01-18 Thread Kohei Yoshida
On 01/18/2013 01:50 PM, Eike Rathke wrote: As .csv is (should be ...) loaded in Calc as default, Not necessarily. After my type detection rework during the 3.6 cycle, csv is treated just as a simple plain text file, which *may* be opened in Writer by default if you don't specify the documen

Re: PyUno - CSV Opening With Writer

2013-01-18 Thread Eike Rathke
Hi Joel, On Friday, 2013-01-18 07:05:33 -0800, Joel Madero wrote: > #The calling it's not exactly this way, just to simplify the code > DESKTOP.loadComponentFromURL('/data/Joel_Documents/Work/Non-Profit/Libre-Office/FDOBugs/PerDay/2013_01_15.csv',"_blank",0,(),FilterName="Text > - txt - csv > (