1 /* 2 ************************************************************************ 3 * 4 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5 * 6 * Copyright 2000, 2010 Oracle and/or its affiliates. 7 * 8 * OpenOffice.org - a multi-platform office productivity suite 9 * 10 * This file is part of OpenOffice.org. 11 * 12 * OpenOffice.org is free software: you can redistribute it and/or modify 13 * it under the terms of the GNU Lesser General Public License version 3 14 * only, as published by the Free Software Foundation. 15 * 16 * OpenOffice.org is distributed in the hope that it will be useful, 17 * but WITHOUT ANY WARRANTY; without even the implied warranty of 18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 * GNU Lesser General Public License version 3 for more details 20 * (a copy is included in the LICENSE file that accompanied this code). 21 * 22 * You should have received a copy of the GNU Lesser General Public License 23 * version 3 along with OpenOffice.org. If not, see 24 * <http://www.openoffice.org/license.html> 25 * for a copy of the LGPLv3 License. 26 * 27 ************************************************************************/ 28 /* 29 * Start1.java 30 * 31 * Created on 19. September 2003, 12:09 32 */ 33 package com.sun.star.wizards.web; 34 35 import com.sun.star.lang.XMultiServiceFactory; 36 import com.sun.star.wizards.common.Desktop; 37 38 /** 39 * The last class in the WebWizard Dialog class hirarchy. 40 * Has no functionality, is just nice to have it instanciated. 41 * @author rpiterman 42 */ 43 public class WebWizard extends WWD_Events 44 { 45 46 /** 47 * @param xmsf 48 */ 49 public WebWizard(XMultiServiceFactory xmsf) throws Exception 50 { 51 super(xmsf); 52 } 53 54 public static void main(String args[]) 55 { 56 57 String ConnectStr = 58 "uno:socket,host=localhost,port=8100;urp,negotiate=0,forcesynchronous=1;StarOffice.ServiceManager"; 59 try 60 { 61 XMultiServiceFactory xmsf = Desktop.connect(ConnectStr); 62 WebWizard ww = new WebWizard(xmsf); 63 ww.show(); 64 ww.cleanup(); 65 66 } 67 catch (Exception exception) 68 { 69 exception.printStackTrace(System.out); 70 } 71 } 72 } 73