Hi there,

today, new snippets in ooRexx got added. The code has hyperlinks where
appropriate (just click on interface names, i.e. names that start with a
"X" or at UNO IDL names), leading directly to the OOo documentation. As
ooRexx uses the Java bridge, the snippets allow one to see which
interfaces one would have to request in Java and related languages (in
ooRexx the unqualified name of an interface is sufficient: to learn
about the fully qualified name just hover the mouse over those interface
names).

Here's the list:

    1. Scholz-Snippets
    
http://codesnippets.services.openoffice.org/Writer/Writer.AddDateToFooter.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.AdjustTableCellTextToTheRight.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.ChangeTableColumnWidth.snip
    http://codesnippets.services.openoffice.org/Writer/Writer.Hyperlink.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.MergeTableCells.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.TableOfContent.snip


    2. Frysak-Snippets
    
http://codesnippets.services.openoffice.org/Calc/Calc.ChangeATextCellToACellWithURLObject.snip
    
http://codesnippets.services.openoffice.org/Calc/Calc.ClearAllCellsOfASpreadsheet.snip
    
http://codesnippets.services.openoffice.org/Calc/Calc.ClearTheSelectedCellsOfASpreadsheet.snip
    http://codesnippets.services.openoffice.org/Calc/Calc.DrawALine.snip
    
http://codesnippets.services.openoffice.org/Calc/Calc.ImportAGraphicFile.snip
    
http://codesnippets.services.openoffice.org/Calc/Calc.MergeAndUnmergeCells.snip
    
http://codesnippets.services.openoffice.org/Calc/Calc.ToggleAutomaticCalculationOfSpreadsheets.snip

    
http://codesnippets.services.openoffice.org/Office/Office.ChangeTheWorkPath.snip
    
http://codesnippets.services.openoffice.org/Office/Office.CloseADocument.snip
    
http://codesnippets.services.openoffice.org/Office/Office.ConnectToOpenOffice.snip
    
http://codesnippets.services.openoffice.org/Office/Office.CreateADialogAtRuntime.snip
    
http://codesnippets.services.openoffice.org/Office/Office.CreateAToolbar.snip
    
http://codesnippets.services.openoffice.org/Office/Office.ExportAnOoRexxMacroLibrary.snip
    
http://codesnippets.services.openoffice.org/Office/Office.GetOpenOfficeVersionAndLanguage.snip
    
http://codesnippets.services.openoffice.org/Office/Office.ReadATextStringOutOfTheSystemsClipboard.snip
    
http://codesnippets.services.openoffice.org/Office/Office.RemoveAToolbar.snip
    http://codesnippets.services.openoffice.org/Office/Office.RunAMacro.snip
    
http://codesnippets.services.openoffice.org/Office/Office.StartUNOAcceptorUsingAnOoRexxScript.snip

    
http://codesnippets.services.openoffice.org/Writer/Writer.AddAndRemoveHeaderAndFooter.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.AutomaticallyCreateAParagraphStyleNamedCode.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.AutomaticallyImportCodeWithVim.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.CountWordsOfTheSelectedTextWithOoRexx.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.CreateADateField.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.DeactivateTextLocale_languageCheck_.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.ExportAllGraphicsOfAWriterDocument.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.GetTheSelectedTextParts.snip
    
http://codesnippets.services.openoffice.org/Writer/Writer.InsertAnAnnotationField.snip

The "Frysak"-snippets are also explained in his Bachelor thesis (see
link below).

HTH,

---rony


Rony G. Flatscher wrote:
> from time to time students work on creating/transcribing OOo macros for
> the different document types using an end-user developer (EUD)
> programming/scripting language named ooRexx. As ooRexx uses the Java
> bridge, those macros/examples may proof helpful for others, creating
> macros in different programming languages.
>
> Here is a very nice Bacherlor paper from this September by Josef Frysak,
> who intends to "snippetize" his snippets for the OOo code snippet
> repository. (Those snippets will have links to the OOo interfaces and
> service definitions right in the code.)
>
> Many of the interesting/helpful macros in Josef Frysak's work relate to
> the great repository of the "Andrew Pitonyak" macros available on the
> Internet, especially to his "scratch book"
> <http://www.pitonyak.org/AndrewMacro.odt>.
>
> Here's the direct link to the Bachelor paper:
> <http://wi.wu-wien.ac.at/rgf/diplomarbeiten/BakkStuff/2008/200809_Frysak/200809_Frysak_Automating_OOo_ooRexx_Nutshells.pdf>.
> Here's the link to the overview page:
> <http://wi.wu-wien.ac.at/rgf/diplomarbeiten/index.html#bakk_200809>.
>
> Regards,
>
> ---rony
>   

Reply via email to