• Save
Sinfonia in Domino RE - Integrazione Symphony e Lotus Notes 8.x
Upcoming SlideShare
Loading in...5
×
 

Sinfonia in Domino RE - Integrazione Symphony e Lotus Notes 8.x

on

  • 2,124 views

 

Statistics

Views

Total Views
2,124
Views on SlideShare
2,124
Embed Views
0

Actions

Likes
2
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as OpenOffice

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • Sotto Sponsored by inserire il logo dello sponsor a voi affiliato. Il logo lo trovate nell’ultima SLIDE.

Sinfonia in Domino RE - Integrazione Symphony e Lotus Notes 8.x Sinfonia in Domino RE - Integrazione Symphony e Lotus Notes 8.x Presentation Transcript

  • Sinfonia in Domino Re Productivity Tools Ensemble Orchestra Autore: Fabrizio Marchesano Professione: Domino Developer
  • Guida all'ascolto ...
  • Esce un nuovo prodotto software...
    • Interfaccia grafica differente
    • Comandi modificati
    • Incompatibilità dei formati
    Reazione dell'utente:
  • Esce una nuova versione di un software già in uso...
    • Interfaccia grafica differente
    • Comandi modificati
    • Incompatibilità dei formati
    Reazione dell'utente:
  • Voi rispondete... Se il cliente vi chiede... <<Perché dovrei assegnare delle risorse al pilot di un software alternativo a quello che ho già?>> <<Perché si tratta di un prodotto gratuito, senza costi di aggiornamento e svincolato da formati proprietari>> <<Perché è un software espandibile, programmabile, adattabile a specifiche esigenze, completamente personalizzabile, disponibile gratuitamente, senza costi di aggiornamento, svincolato da formati proprietari, supportato da IBM>>
  • IBM Lotus Symphony è una Sinfonia Concertante per Productivity Tools e Sviluppatore in cui è quest'ultimo a scrivere la Cadenza
  • IBM Lotus Symphony Primo movimento Allegro con brio (Lotus Script)
  • Set xlApp = CreateObject ( &quot;Excel.Application&quot; ) xlApp.Visible =True Set xlWb = xlApp.WorkBooks.Add () Set xlWs = xlWb.WorkSheets.Add () xlWs.Name = &quot; my Sheet Name &quot; xlWs.Range ( &quot;A1&quot; ) .OffSet ( 0 , 0 ) .Value = &quot;my A1 Value &quot;
  • 'Set xlApp = CreateObject(&quot;Excel.Application&quot;) 'xlApp.Visible=True 'Set xlWb = xlApp.WorkBooks.Add() 'Set xlWs = xlWb.WorkSheets.Add() 'xlWs.Name= &quot; my Sheet Name &quot; 'xlWs.Range(&quot;A1&quot;).OffSet(0,0).Value=&quot;my A1 Value &quot; Set SM = CreateObject ( &quot;com.sun.star.ServiceManager&quot; ) Set Desktop = SM.createInstance ( &quot;com.sun.star.frame.Desktop&quot; ) Set oArgs ( 0 ) = SM.Bridge_GetStruct ( &quot;com.sun.star.beans.PropertyValue&quot; ) oArgs ( 0 ) .Name = &quot;Hidden&quot; oArgs ( 0 ) .Value = False Set ODFDoc = Desktop.loadComponentFromURL ( &quot;private:factory/scalc&quot; , &quot;_blank&quot; , 0 , oArgs ) Call ODFDoc.getSheets () .insertNewByName ( &quot;my Sheet Name&quot; , 0 ) Set ODFSheet = ODFDoc.Sheets.getByName ( &quot;my Sheet Name&quot; ) Call ODFSheet.getCellRangeByName ( &quot;A1&quot; ) .getCellByPosition ( 0 , 0 ) .setString ( &quot;my A1 Value&quot; )
  • '.Font.Bold=True .CharWeight = 150 '.HorizontalAlignment=3 .setPropertyValue ( &quot;HoriJustify&quot; , 2 ) '.EntireColumn.AutoFit .OptimalWidth = True '.Bookmarks(bName).Range.Text = bValue .getBookmarks () .getByName ( bName ) .getAnchor () .setString ( bValue ) ' &quot;C:myDoc.&quot;+myExtension &quot;file:///C:/myDoc.&quot; + myExtension '.Save .storeToURL ' .Content.Find.Execute .createReplaceDescriptor () ' .Selection.InlineShapes.AddPicture picName, False, True .executeDispatch ODFDoc.CurrentController.Frame , &quot;.uno:InsertGraphic&quot; , &quot;&quot; , 0 , pArgs () and stay tuned for more...
  • IBM Lotus Symphony Secondo movimento Andante con moto (Macro)
  • Dim NS As New NotesSession Dim Db As NotesDatabase NS.Initialize (&quot;&quot;) Set Db = NS.GetDatabase(&quot;myServer&quot;, &quot;myDb.nsf&quot;, False ) ... ... ...
  • Dim oleService As Object Dim NS As Object Dim Db As Object oleService=createUnoService(&quot;com.sun.star.bridge.OleObjectFactory&quot;) NS=oleService.createInstance(&quot;Lotus.NotesSession&quot;) NS.Initialize(&quot;&quot;) Db=NS.GetDatabase(&quot;myServer&quot;,&quot;myDb.nsf&quot;, False) ... ... ...
  • IBM Lotus Symphony Terzo movimento Allegro (Plug-ins)
  • Sviluppo plug-ins: i nostri strumenti
    • Lotus Symphony SDK
    • Lotus Expeditor Toolkit
    • Eclipse SDK
    IBM Lotus Symphony Developer's Guide + Hello World sample =
  • parent.setLayout( new FillLayout()); Label helloLabel = new Label(parent, SWT. CENTER ); helloLabel.setText( &quot;Hello World!&quot; );
  • parent.setLayout( new GridLayout()); Group group = new Group(parent,SWT. NONE ); group.setLayoutData( new GridData(GridData. FILL_BOTH )); group.setLayout( new GridLayout()); Button loadButton = new Button(group,SWT. NONE ); loadButton.setText( &quot;Hello Notes!&quot; ); loadButton.setLayoutData(new GridData (GridData. BEGINNING ,GridData. BEGINNING , false , false )); loadButton.addSelectionListener( new SelectionAdapter(){ public void widgetSelected(SelectionEvent arg0){ MessageDialog. openInformation (getSite().getShell(), &quot;My Hello Notes plug-in&quot; , &quot;Hello Notes!&quot; ); } });
  • Sviluppo plug-ins: le nostre Keynotes
    • Installed JREs
      • Lotus Domino JRE
    • External JARs
      • Notes.jar
    • Runtime JRE
      • Lotus Domino JRE
    • VM Arguments
      • Java Library Path
    try { NotesThread. sinitThread (); Session s=NotesFactory. createSessionWithFullAccess (); Database Db=s.getDatabase( &quot;myServer&quot; , &quot;myDb.nsf&quot; ); MessageDialog. openInformation (getSite().getShell(), &quot;My Hello Notes plug-in&quot; , Db.getTitle()); } catch (NotesException e) { e.printStackTrace(); }
  • IBM Lotus Symphony Quarto movimento Allegro (Composite Applications)
  • Composing Symphonies on Composite Applications: Notes View Symphony View
  • Fonte: http://www.ibm.com/developerworks/blogs/page/CompApps?entry=symphony_spreadsheet_editor_to_display
  • Sinfonia n. 25, KV 183 in Sol minore IBM LOTUS DOMINO IBM LOTUS SOLMINO
  • Avete ascoltato: SINFONIA IN DOMINO RE Composer: Perfomer: Fabrizio Marchesano, Frame Srl GRAZIE PER L'ATTENZIONE
  • I Nostri Sponsor