[api-dev] UNO Accessibility API and Windows screen readers (for the blind)

2010-12-01 Thread Gareth Collins
Hi,

 

I work for Dolphin Computer Access, a company that makes screen readers to
enable blind computer users to access Windows-based PCs. 

 

Our screen reader, Supernova, has a scripting engine based on the Lua
programming language to enable us to customize our screen reader to work
with a wide variety of Windows-based applications.

 

Therefore I'm wondering if the OpenOffice.org Software Development Kit comes
with any Windows DLLs that will provide our scripting engine with an
interface/bridge to Open Office's UNO Accessibility API? (As our scripting
engine can call and retrieve the results from any function in any
third-party Windows DLL).

 

Thanks.

Kind regards,

Gareth Collins
Product Support Group

Dolphin logo
Dolphin Computer Access Inc.,
231 Clarksville Road,
Suite 3,
Princeton Junction
NJ 08850

Phone: 888 519 4694
Fax: 609 799 0475
Web:   www.YourDolphin.com
Email:   gareth.coll...@dolphinusa.com


   Subscribe to the Dolphin news RSS
   Follow Dolphin on Twitter

IMPORTANT INFORMATION This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error please
delete it from your system, do not use or disclose the information in any
way and notify  
postmas...@dolphinusa.com. Any views or opinions expressed in this e-mail
are those of the sender and do not necessarily coincide with those of
Dolphin Computer Access Inc.

 



[api-dev] AW:FW: j--.

2010-12-01 Thread Madhur Kashyap
Dear, I have tried to purchase some products from a business company,
I have attracted by high quality products, low price and enthusiastic
services, I think if you are free, you can go to see: buytoele.com
,picking your interesting. j--.

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)

2010-12-01 Thread Malte Timmermann
Hi Gareth,

there are different language bindings available: C++, Java, C#, OLE
Automation.

I guess/hope one of these can be used from your scripting language?

Malte.

PS: Please subscribe to the list, as a reply normally only goes to the list.

Gareth Collins wrote, On 11/30/10 17:40:
> Hi,
> 
>  
> 
> I work for Dolphin Computer Access, a company that makes screen readers
> to enable blind computer users to access Windows-based PCs.
> 
>  
> 
> Our screen reader, Supernova, has a scripting engine based on the Lua
> programming language to enable us to customize our screen reader to work
> with a wide variety of Windows-based applications.
> 
>  
> 
> Therefore I’m wondering if the OpenOffice.org Software Development Kit
> comes with any Windows DLLs that will provide our scripting engine with
> an interface/bridge to Open Office’s UNO Accessibility API? (As our
> scripting engine can call and retrieve the results from any function in
> any third-party Windows DLL).
> 
>  
> 
> Thanks.
> 
> Kind regards,
> 
> *Gareth Collins*
> *Product Support Group*
> 
> Dolphin logo
> *Dolphin Computer Access Inc.,*
> 231 Clarksville Road,
> Suite 3,
> Princeton Junction
> NJ 08850
> 
> *Phone:* 888 519 4694
> *Fax: *609 799 0475
> *Web:* www.YourDolphin.com 
> *Email:* gareth.coll...@dolphinusa.com
> 
> 
>  Subscribe to the Dolphin news RSS 
>  Follow Dolphin on Twitter 
> 
> IMPORTANT INFORMATION This e-mail and any files transmitted with it are
> confidential and intended solely for the use of the individual or entity
> to whom they are addressed. If you have received this email in error
> please delete it from your system, do not use or disclose the
> information in any way and notify postmas...@dolphinusa.com
> . Any views or opinions expressed in
> this e-mail are those of the sender and do not necessarily coincide with
> those of Dolphin Computer Access Inc.
> 
>  
> 

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)

2010-12-01 Thread Alexandro Colorado
On Tue, 30 Nov 2010 10:40:02 -0600, Gareth Collins  
 wrote:



Hi,


I work for Dolphin Computer Access, a company that makes screen readers  
to

enable blind computer users to access Windows-based PCs.


Our screen reader, Supernova, has a scripting engine based on the Lua
programming language to enable us to customize our screen reader to work
with a wide variety of Windows-based applications.


Therefore I'm wondering if the OpenOffice.org Software Development Kit  
comes

with any Windows DLLs that will provide our scripting engine with an
interface/bridge to Open Office's UNO Accessibility API? (As our  
scripting

engine can call and retrieve the results from any function in any
third-party Windows DLL).


You can use many languages to interoperate with OOo through COM service.
http://www.oooforum.org/forum/viewtopic.phtml?t=9815



Thanks.

Kind regards,

Gareth Collins
Product Support Group

Dolphin logo
Dolphin Computer Access Inc.,
231 Clarksville Road,
Suite 3,
Princeton Junction
NJ 08850

Phone: 888 519 4694
Fax: 609 799 0475
Web:   www.YourDolphin.com
Email:    
gareth.coll...@dolphinusa.com



   Subscribe to the Dolphin news RSS
   Follow Dolphin on Twitter

IMPORTANT INFORMATION This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity  
to

whom they are addressed. If you have received this email in error please
delete it from your system, do not use or disclose the information in any
way and notify  
postmas...@dolphinusa.com. Any views or opinions expressed in this e-mail
are those of the sender and do not necessarily coincide with those of
Dolphin Computer Access Inc.





--
Alexandro Colorado

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)

2010-12-01 Thread Alexandro Colorado

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 30 Nov 2010 10:40:02 -0600, Gareth Collins  
 wrote:



Hi,


I work for Dolphin Computer Access, a company that makes screen readers  
to

enable blind computer users to access Windows-based PCs.


Our screen reader, Supernova, has a scripting engine based on the Lua
programming language to enable us to customize our screen reader to work
with a wide variety of Windows-based applications.


Therefore I'm wondering if the OpenOffice.org Software Development Kit  
comes

with any Windows DLLs that will provide our scripting engine with an
interface/bridge to Open Office's UNO Accessibility API? (As our  
scripting

engine can call and retrieve the results from any function in any
third-party Windows DLL).



You can use many languages to interoperate with OOo through COM service.
http://www.oooforum.org/forum/viewtopic.phtml?t=9815




Thanks.

Kind regards,

Gareth Collins
Product Support Group

Dolphin logo
Dolphin Computer Access Inc.,
231 Clarksville Road,
Suite 3,
Princeton Junction
NJ 08850

Phone: 888 519 4694
Fax: 609 799 0475
Web:   www.YourDolphin.com
Email:    
gareth.coll...@dolphinusa.com



   Subscribe to the Dolphin news RSS
   Follow Dolphin on Twitter

IMPORTANT INFORMATION This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity  
to

whom they are addressed. If you have received this email in error please
delete it from your system, do not use or disclose the information in any
way and notify  
postmas...@dolphinusa.com. Any views or opinions expressed in this e-mail
are those of the sender and do not necessarily coincide with those of
Dolphin Computer Access Inc.





- --
Alexandro Colorado
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkz2NWwACgkQPeaoSmjQcua0HQCglGeUNJTkB9/y8lpicis3eY96
5OYAn0FWK13TbHGbq8jFInmznPyXWAp2
=g6ma
-END PGP SIGNATURE-

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Johnny Rosenberg
If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.

All kinds of hints are appreciated…


Regards

Johnny Rosenberg

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Re: Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Johnny Rosenberg
2010/12/1 Johnny Rosenberg :
> If I know the name of a directory, let's say ~/MyImages, how can I
> easily read the names of all the files in that directory? Let's say
> that we will fill an array with all the file names.
>
> I have searched a bit online, but so far I didn't find anything that I
> understand… I'll continue searching, though.

He he he… I tried again to search for the answer and this time I found
it almost immediately… At least I think I did:

http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Files_and_Directories_(Runtime_Library)

Seems to be what I am looking for.

Other thoughts about this are still welcome, though.

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Re: Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Clayton

On 12/01/2010 02:38 PM, Johnny Rosenberg wrote:

2010/12/1 Johnny Rosenberg:

If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.


He he he… I tried again to search for the answer and this time I found
it almost immediately… At least I think I did:

http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Files_and_Directories_(Runtime_Library)

Seems to be what I am looking for.

Other thoughts about this are still welcome, though.


I'm interested in how useful you find the Basic Guide Wiki page you dug 
up.  Is it missing info?  Anything unclear etc?  What can be or needs to 
be improved?


C.
--
Clayton Cornell   ccorn...@openoffice.org
OpenOffice.org Documentation Project co-lead

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Fernand Vanrie

 Johnny ,

have a look in the Gimicks library of the OO-basic-macro's, maybe a bit 
complicated but you will find what you are looking for.


Hope it helps

Fernand

If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.

All kinds of hints are appreciated…


Regards

Johnny Rosenberg

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Re: Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Ariel Constenla-Haile
Hello Johnny,

On Wednesday 01 December 2010, 10:38, Johnny Rosenberg wrote:
> 2010/12/1 Johnny Rosenberg :
> > If I know the name of a directory, let's say ~/MyImages, how can I
> > easily read the names of all the files in that directory? Let's say
> > that we will fill an array with all the file names.
> > 
> > I have searched a bit online, but so far I didn't find anything that I
> > understand… I'll continue searching, though.
> 
> He he he… I tried again to search for the answer and this time I found
> it almost immediately… At least I think I did:
> 
> http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Files_an
> d_Directories_(Runtime_Library)
> 
> Seems to be what I am looking for.
> 
> Other thoughts about this are still welcome, though.

I'd prefer using OOo API (not simply OOo Basic). This way you can then port 
your code to any supported language.
Try the following:

REM  *  BASIC  *
Option Explicit

Sub Main
Dim oSFA as Object
oSFA = CreateUnoService( "com.sun.star.ucb.SimpleFileAccess" )

Dim sURL$
sURL = getHomeDir()

If NOT oSFA.exists( sURL) OR NOT oSFA.isFolder( sURL ) Then
'some message
Exit Sub
End If

Dim sHomeDirFileContents$()
Dim sHomeDirFolderContents$()

sHomeDirFileContents = oSFA.getFolderContents( sURL, false )
sHomeDirFolderContents = oSFA.getFolderContents( sURL, true )

Dim oDoc as Object
oDoc = StarDesktop.loadComponentFromURL(_
"private:factory/swriter", _
"_default", _
com.sun.star.frame.FrameSearchFlag.ALL, _
Array())

Dim oCursor as Object
oCursor = 
oDoc.getText().createTextCursorByRange(oDoc.getText().getStart())

InsertContents( oCursor, sHomeDirFileContents, "Only files" )
InsertContents( oCursor, sHomeDirFolderContents, "Files and folders" )
End Sub

Sub InsertContents( oCursor as Object, sContents(), sHeading$ )
oCursor.ParaStyleName = "Heading 1"
oCursor.getText().insertString( oCursor, sHeading, false )
oCursor.getText().insertControlCharacter( oCursor, _
com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK, 
false )
oCursor.ParaStyleName = "Default"
Dim n%
For n = 0 To UBound(sContents)
oCursor.getText().insertString( oCursor, sContents(n), false )
oCursor.getText().insertControlCharacter( oCursor, _
com.sun.star.text.ControlCharacter.PARAGRAPH_BREAK, 
false )
Next
End Sub

Function getHomeDir() as String
Dim oPaths
oPaths = CreateUnoService("com.sun.star.util.PathSubstitution")
getHomeDir() = oPaths.getSubstituteVariableValue("$(home)")
End Function


Regards
-- 
Ariel Constenla-Haile
La Plata, Argentina


signature.asc
Description: This is a digitally signed message part.


RE: [api-dev] UNO Accessibility API and Windows screen readers (for the blind)

2010-12-01 Thread Gareth Collins
Hi Malte,

Thanks for your e-mail.

OLE Automation would be perfect for our scripting language (which includes
the LuaCOM library). 

So are you saying that via OLE Automation I can for instance access the UNO
Accessibility API's XAccessibleTextAttributes interface to allow the screen
reader to speak the default paragraph and character attributes of a section
of text, or access the XAccessibleTable interface's getAccessibleRowCount or
getAccessibleCellAt methods to allow the screen reader to speak formatting
information about tables in a Writer document?

Kind regards,
Gareth Collins
Product Support Group

Dolphin Computer Access Inc.,
231 Clarksville Road,
Suite 3,
Princeton Junction
NJ 08850
Phone: 888 519 4694
Fax: 609 799 0475
Web: www.YourDolphin.com
Email: gareth.coll...@dolphinusa.com 
 Subscribe to the Dolphin news RSS
 Follow Dolphin on Twitter
IMPORTANT INFORMATION This e-mail and any files transmitted with it are
confidential and intended solely for the use of the individual or entity to
whom they are addressed. If you have received this email in error please
delete it from your system, do not use or disclose the information in any
way and notify postmas...@dolphinusa.com. Any views or opinions expressed in
this e-mail are those of the sender and do not necessarily coincide with
those of Dolphin Computer Access Inc.

-Original Message-
From: Malte Timmermann [mailto:malte.timmerm...@oracle.com] 
Sent: Wednesday, December 01, 2010 5:01 AM
To: dev@api.openoffice.org; Gareth Collins
Subject: Re: [api-dev] UNO Accessibility API and Windows screen readers (for
the blind)

Hi Gareth,

there are different language bindings available: C++, Java, C#, OLE
Automation.

I guess/hope one of these can be used from your scripting language?

Malte.

PS: Please subscribe to the list, as a reply normally only goes to the list.

Gareth Collins wrote, On 11/30/10 17:40:
> Hi,
> 
>  
> 
> I work for Dolphin Computer Access, a company that makes screen 
> readers to enable blind computer users to access Windows-based PCs.
> 
>  
> 
> Our screen reader, Supernova, has a scripting engine based on the Lua 
> programming language to enable us to customize our screen reader to 
> work with a wide variety of Windows-based applications.
> 
>  
> 
> Therefore I’m wondering if the OpenOffice.org Software Development Kit 
> comes with any Windows DLLs that will provide our scripting engine 
> with an interface/bridge to Open Office’s UNO Accessibility API? (As 
> our scripting engine can call and retrieve the results from any 
> function in any third-party Windows DLL).
> 
>  
> 
> Thanks.
> 
> Kind regards,
> 
> *Gareth Collins*
> *Product Support Group*
> 
> Dolphin logo
> *Dolphin Computer Access Inc.,*
> 231 Clarksville Road,
> Suite 3,
> Princeton Junction
> NJ 08850
> 
> *Phone:* 888 519 4694
> *Fax: *609 799 0475
> *Web:* www.YourDolphin.com 
> *Email:* gareth.coll...@dolphinusa.com 
> 
> 
>  Subscribe to the Dolphin news RSS 
> 
>  Follow Dolphin on Twitter 
> 
> IMPORTANT INFORMATION This e-mail and any files transmitted with it 
> are confidential and intended solely for the use of the individual or 
> entity to whom they are addressed. If you have received this email in 
> error please delete it from your system, do not use or disclose the 
> information in any way and notify postmas...@dolphinusa.com 
> . Any views or opinions expressed in 
> this e-mail are those of the sender and do not necessarily coincide 
> with those of Dolphin Computer Access Inc.
> 
>  
> 


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Re: Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Johnny Rosenberg

Den 2010-12-01 14:53:01 skrev Clayton :


On 12/01/2010 02:38 PM, Johnny Rosenberg wrote:

2010/12/1 Johnny Rosenberg:

If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.


He he he… I tried again to search for the answer and this time I found
it almost immediately… At least I think I did:

http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Files_and_Directories_(Runtime_Library)

Seems to be what I am looking for.

Other thoughts about this are still welcome, though.


I'm interested in how useful you find the Basic Guide Wiki page you dug  
up.  Is it missing info?  Anything unclear etc?  What can be or needs to  
be improved?


C.


Well, I tried to follow the first example that stores file names, found in  
a directory, to a variable, but it didn't work. The Dir thing didn't find  
anything, even though I know there are 52 jpg files in there. I even  
copied the path name from my file manager. I'm not yet sure why this  
didn't work, but I have had some thoughts about it:


Maybe I can't use spaces in path names? That's too bad, because I do that  
all the time.
Maybe I entered the path name wrong. The example search "C:\" which isn't  
relevant to me, since C: is very Windows/DOS specific; I'm on Ubuntu 10.10  
and my path looks something like "/home/username/some folder/another  
folder/yet another folder/".

Maybe my path name is just too long?

Any hints?

--
Kind regards

Johnny Rosenberg

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



[api-dev] Open a file with standard application from dialog

2010-12-01 Thread Volker Lenhardt
I have a file picker as a dialog control. The file name is to be used as 
part of a URL text field in Calc.


I'd like to have a quick look at the file content from within the dialog 
(some command button) to avoid mistakes. But the file can be of any sort 
(graphic, text, pdf, OpenDocument ...).


How can I open it with the graphical systems' standard application. I 
couldn't find a solution. It should work for Linux (openSUSE 11.3, KDE 
4.4.4) and if possible for Windows (XP or Vista), too.


I think it must be via some shell command as I find with my 
OpenOffice.org 3.2.1 (original version) that any links in OOo other than 
to OOo files are opened with the standard _browser_ (bug?).


Or is it a KDE (Windows ...) question?

Regards
Volker


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Re: Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Fernand Vanrie

Johnny ,

ConvertToURL all path's ?



Den 2010-12-01 14:53:01 skrev Clayton :


On 12/01/2010 02:38 PM, Johnny Rosenberg wrote:

2010/12/1 Johnny Rosenberg:

If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.


He he he… I tried again to search for the answer and this time I found
it almost immediately… At least I think I did:

http://wiki.services.openoffice.org/wiki/Documentation/BASIC_Guide/Files_and_Directories_(Runtime_Library) 



Seems to be what I am looking for.

Other thoughts about this are still welcome, though.


I'm interested in how useful you find the Basic Guide Wiki page you 
dug up.  Is it missing info?  Anything unclear etc?  What can be or 
needs to be improved?


C.


Well, I tried to follow the first example that stores file names, 
found in a directory, to a variable, but it didn't work. The Dir thing 
didn't find anything, even though I know there are 52 jpg files in 
there. I even copied the path name from my file manager. I'm not yet 
sure why this didn't work, but I have had some thoughts about it:


Maybe I can't use spaces in path names? That's too bad, because I do 
that all the time.
Maybe I entered the path name wrong. The example search "C:\" which 
isn't relevant to me, since C: is very Windows/DOS specific; I'm on 
Ubuntu 10.10 and my path looks something like "/home/username/some 
folder/another folder/yet another folder/".

Maybe my path name is just too long?

Any hints?




-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org



Re: [api-dev] Examining a directory with OpenOffice.org Basic

2010-12-01 Thread Andrew Douglas Pitonyak

There should be an example in this:

http://www.pitonyak.org/OOME_3_0.odt

http://www.pitonyak.org/AndrewMacro.pdf



On 12/01/2010 08:31 AM, Johnny Rosenberg wrote:

If I know the name of a directory, let's say ~/MyImages, how can I
easily read the names of all the files in that directory? Let's say
that we will fill an array with all the file names.

I have searched a bit online, but so far I didn't find anything that I
understand… I'll continue searching, though.

All kinds of hints are appreciated…


Regards

Johnny Rosenberg

-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org




--
Andrew Pitonyak
My Macro Document: http://www.pitonyak.org/AndrewMacro.odt
Info:  http://www.pitonyak.org/oo.php


-
To unsubscribe, e-mail: dev-unsubscr...@api.openoffice.org
For additional commands, e-mail: dev-h...@api.openoffice.org