ooo-build r11817 - trunk/tc



Author: freuter
Date: Wed Mar  5 21:03:41 2008
New Revision: 11817
URL: http://svn.gnome.org/viewvc/ooo-build?rev=11817&view=rev

Log:
initial import...


Added:
   trunk/tc/README
   trunk/tc/SamplePlug.cs
   trunk/tc/changed-files

Added: trunk/tc/README
==============================================================================
--- (empty file)
+++ trunk/tc/README	Wed Mar  5 21:03:41 2008
@@ -0,0 +1,27 @@
+Teaming & Conferencing experimental hacks...
+
+1) Apply patch: patches/src680/sw-team-pane.diff
+   and compile office.
+   Assume office is installed in /tmp/ooo (e.g. by ooinstall /tmp/ooo)
+
+2) Complie SamplePlug App and create link from office program dir to the
+   Sampleapp. OOo will look for TeamApp.
+
+   mcs -pkg:gtk-sharp SamplePlug.cs
+   mkbundle -o SamplePlug SamplePlug.exe 
+   ln -s SampleApp /tmp/ooo/program/TeamApp
+
+   
+3) Start soffice, e.g. /tmp/ooo/programm/soffice and create empty doc...
+   Team Pane should be place at the right side.
+
+** ALL EXPRIMENTAL AND WITH LOTS OF PRINTF... **
+
+TODO / PLAN:
+* Use the Mono Plug-in framework. I.e. the TeamApp should use the mono plug-in
+framework to start the custom app...
+* Make the TeamApp and OOo communicate via UNO.
+
+Have fun!
+
+freuter novell com

Added: trunk/tc/SamplePlug.cs
==============================================================================
--- (empty file)
+++ trunk/tc/SamplePlug.cs	Wed Mar  5 21:03:41 2008
@@ -0,0 +1,50 @@
+
+using System;
+using Gtk;
+using Gdk;
+
+// Compile with:
+// mcs -pkg:gtk-sharp SamplePlug.cs
+// mkbundle -o SamplePlug SamplePlug.exe 
+
+public class SamplePlug
+{
+
+	public static void Main(string[] args) {
+	    if (args.Length != 2) {
+		Console.WriteLine("Need socket id and file-name as an argument.");
+		return;
+	    }
+	    uint socket_id = UInt32.Parse(args[0]);
+	    string filename=args[1];
+	    Console.WriteLine("filename="+filename);
+	    
+	    Console.WriteLine("using socket "+socket_id);
+
+//	    Glib.Thread.Init();
+	    Gdk.Threads.Init();
+	    
+	    Application.Init();
+	    Gdk.Threads.Enter();
+	    try {	    
+
+	    Plug plug= new Plug(socket_id);
+
+	    Fixed fixed1 = new Fixed();
+	    fixed1.Put(new Label("File: \""+filename+"\""), 10, 10);
+	    fixed1.Put(new Entry("HELLO"), 10, 50);
+	    fixed1.Put(new Entry("World"), 10, 100);
+	    fixed1.ShowAll();
+	    plug.Add(fixed1);
+	    plug.ShowAll();
+	    
+	    Console.WriteLine("app is running..");
+	    Application.Run();
+            } finally {
+	      Gdk.Threads.Leave();
+            }
+	    Console.WriteLine("Done!");
+	}	
+
+
+}

Added: trunk/tc/changed-files
==============================================================================
--- (empty file)
+++ trunk/tc/changed-files	Wed Mar  5 21:03:41 2008
@@ -0,0 +1,38 @@
+sfx2/inc/sfx2/sfxsids.hrc
+sfx2/inc/sfx2/team.hxx
+sfx2/sdi/frmslots.sdi
+sfx2/sdi/sfx.sdi
+sfx2/source/appl/appreg.cxx
+sfx2/source/dialog/makefile.mk
+sfx2/source/dialog/team.cxx
+sw/source/ui/app/swmodule.cxx
+sw/source/ui/inc/teampi.hxx
+sw/source/ui/uiview/view.cxx
+sw/source/ui/uiview/view0.cxx
+sw/source/ui/uiview/view2.cxx
+sw/source/ui/utlui/makefile.mk
+sw/source/ui/utlui/teampi.cxx
+vcl/inc/vcl/salinst.hxx
+vcl/inc/vcl/salobj.hxx
+vcl/inc/vcl/syschildctrl.hxx
+vcl/inc/vcl/window.hxx
+vcl/inc/vcl/wintypes.hxx
+vcl/prj/d.lst
+vcl/source/window/makefile.mk
+vcl/source/window/syschildctrl.cxx
+vcl/unx/gtk/app/gtkinst.cxx
+vcl/unx/gtk/window/gtkframe.cxx
+vcl/unx/gtk/window/gtkobject.cxx
+vcl/unx/gtk/window/makefile.mk
+vcl/unx/headless/svpdummies.cxx
+vcl/unx/headless/svpdummies.hxx
+vcl/unx/headless/svpinst.cxx
+vcl/unx/headless/svpinst.hxx
+vcl/unx/inc/plugins/gtk/gtkinst.hxx
+vcl/unx/inc/plugins/gtk/gtkobject.hxx
+vcl/unx/inc/plugins/kde/kdedata.hxx
+vcl/unx/inc/salinst.h
+vcl/unx/inc/salobj.h
+vcl/unx/kde/salnativewidgets-kde.cxx
+vcl/unx/source/window/salobj.cxx
+vcl/util/makefile.mk



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]