From 6614bedceadcc07ec082c5e926107f27903bda5c Mon Sep 17 00:00:00 2001 From: Christian Lohmaier Date: Mon, 25 Jan 2016 20:07:10 +0100 Subject: fix validation errors by round-trip through helpauthoring extension lots of missing attributes "id" and "xml-lang" (extension patched to keep bascode tag) Change-Id: I9c5600b6fa133a6b1062803eadb976e043db7a4a --- source/text/sbasic/shared/03131600.xhp | 78 ++++++++++++++++++---------------- 1 file changed, 42 insertions(+), 36 deletions(-) (limited to 'source/text/sbasic/shared/03131600.xhp') diff --git a/source/text/sbasic/shared/03131600.xhp b/source/text/sbasic/shared/03131600.xhp index f926e0febc..816e879090 100644 --- a/source/text/sbasic/shared/03131600.xhp +++ b/source/text/sbasic/shared/03131600.xhp @@ -1,6 +1,5 @@ - - + - - +--> + - -CreateUnoService Function [Runtime] -/text/sbasic/shared/03131600.xhp - - -Sun Microsystems, Inc. - + + CreateUnoService Function [Runtime] + /text/sbasic/shared/03131600.xhp + + + +
-CreateUnoService function + + CreateUnoService function -CreateUnoService Function [Runtime] -Instantiates a Uno service with the ProcessServiceManager. + + +CreateUnoService Function [Runtime] +Instantiates a Uno service with the ProcessServiceManager.
-Syntax: - -oService = CreateUnoService( Uno service name ) + +Syntax: + +oService = CreateUnoService( Uno service name ) -For a list of available services, go to: http://api.libreoffice.org/docs/common/ref/com/sun/star/module-ix.html -Examples: -oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" ) -filepicker;API service +For a list of available services, go to: http://api.libreoffice.org/docs/common/ref/com/sun/star/module-ix.html + +Examples: +oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" ) + + filepicker;API service -The following code uses a service to open a file open dialog: + +The following code uses a service to open a file open dialog: -Sub Main - fName = FileOpenDialog ("Please select a file") - Print "file chosen: "+fName -End Sub - -Function FileOpenDialog(title As String) As String - filepicker = createUnoService("com.sun.star.ui.dialogs.FilePicker") - filepicker.Title = title - filepicker.execute() - files = filepicker.getFiles() - FileOpenDialog=files(0) -End Function +Sub Main + fName = FileOpenDialog ("Please select a file") + Print "file chosen: "+fName +End Sub + +Function FileOpenDialog(title As String) As String + filepicker = createUnoService("com.sun.star.ui.dialogs.FilePicker") + filepicker.Title = title + filepicker.execute() + files = filepicker.getFiles() + FileOpenDialog=files(0) +End Function -
+ +
\ No newline at end of file -- cgit