Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Hi Charles, *,

On Mon, Mar 11, 2013 at 3:55 PM, Charles Jenkins <> wrote:

    dim dummy() ' Empty array of parameters

    starDesktop = createUnoService("")
    url = ConvertToUrl( ExcelPath )
    doc = starDesktop.loadComponentFromURL( url, "_blank", 0, dummy )

I think I need what is described in 
-- an extension that can wrap strings into the property values required by 
loadComponentFromUrl(), so I can fill the array of parameters in a way that tells LO it will be 
loading the text file into a spreadsheet.

The "extension" just is a helper function for pretty-printing, you
surely don't need that, but can enter the values right away.

Dim args() as new
args(0).Name = "FilterName"
args(0).Value = "Text - txt - csv (StarCalc)"
args(1).Name = "FilterOptions"
args(1).Value = "<yourfilteroptionsstring>"


Unsubscribe instructions: E-mail to
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.