https://wiki.openoffice.org/w/api.php?action=feedcontributions&user=Nnino&feedformat=atom
Apache OpenOffice Wiki - User contributions [en]
2024-03-19T06:54:49Z
User contributions
MediaWiki 1.23.13
https://wiki.openoffice.org/wiki/File:OOoauthors_document_workflow.odg
File:OOoauthors document workflow.odg
2010-11-02T13:42:53Z
<p>Nnino: uploaded a new version of "File:OOoauthors document workflow.odg":&#32;newer odg version corresponding to drawing version</p>
<hr />
<div>OOoauthors_document_workflow.odg contains a visualization of the document status transitions on oooauthors.org</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/Oooauthors_Workflow
User:Nnino/Drafts/Oooauthors Workflow
2010-11-02T13:15:31Z
<p>Nnino: scaling changed</p>
<hr />
<div>[[Image:Oooauthors document workflow.png|600px|left|OOoauthors workflow - Click to enlarge]] <br />
to change this graphics, download [[Media:OOoauthors_document_workflow.odg]]<br />
<br />
{{CCBY}}</div>
Nnino
https://wiki.openoffice.org/wiki/File:Oooauthors_document_workflow.png
File:Oooauthors document workflow.png
2010-11-02T13:12:31Z
<p>Nnino: uploaded a new version of "File:Oooauthors document workflow.png":&#32;+ pathways + translation</p>
<hr />
<div>visualisation of document status transitions on oooauthors.org</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino
User:Nnino
2010-10-18T12:04:24Z
<p>Nnino: + position</p>
<hr />
<div>'''OOo is cool'''<br />
<br />
* [[/LibOPosition|My position towards OOo/LibO/TDF/Oracle]]<br />
<br />
* [[/About|About me]]<br />
<br />
Meine Beiträge / My contributions:<br />
* [[DE/Dokumentation/OOo 2.x/Handbücher/Writer-Handbuch|Wiki-Fassung]] des [http://de.openoffice.org/doc Writer-Handbuches] <br />
** [[/ODT2Wiki|Vorgehen und Erfahrungen beim "Wikifizieren" der Textdokumente]]<br />
** [[Talk:DE/Dokumentation/OOo_2.x/Handb%C3%BCcher/Writer-Handbuch|Anmerkungen zu den ODT- bzw. PDF-Fassungen]]<br />
* Update des Writer-Handbuchs von Version 2.x nach 3.x<br />
** [[DE/Dokumentation/Update_Writer-Handbuch]]<br />
<br />
Subpages in my userspace:<br />
<br />
{{#dpl:<br />
|namespace=User<br />
|titleregexp=Nnino/[a-zB-Z]*$<br />
}}<br />
<br />
<br />
My Collections:<br />
<br />
{{#dpl:<br />
|namespace=User<br />
|titleregexp=Nnino/Collection<br />
}}<br />
<br />
<br />
My Plans / Contribution Ideas for 2010 (priority changing from time to time) <br />
* Continue (finish?) [[DE/Dokumentation/OOo_3.x/Handb%C3%BCcher/Erste_Schritte|Getting Started Guide translation]]<br />
* Help updating the German [[DE/Dokumentation/OOo_2.x/Handb%C3%BCcher/Writer-Handbuch|WG2]] translation [[DE/Dokumentation/Update_Writer-Handbuch|to WG3]]<br />
* Help with the planned [[DE/Dokumentation/Calc-Tutorial|Calc-Tutorial]] (German)<br />
* Help completing documentation ...<br />
** I especially like the [[DE/Dokumentation/Topaktuelle Dokumente|Top X Documents idea]]<br />
* Find out if it is possible to keep ODT and Wiki documents in sync<br />
** Transforming ODT to Wiki-markup seems to work +/- well with Wiki Publisher Extension, while the opposite (Wiki to ODT) seemed to be still in an alpha state when I tested it in mid-2009<br />
<br />
<br />
My Long Term Ideas / Wishes / Tendencies<br />
* (more) QA ? <br />
* (more) translating? (Localization?)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/LibOPosition
User:Nnino/LibOPosition
2010-10-18T12:04:03Z
<p>Nnino: created</p>
<hr />
<div>'''Here I try to sum up my personal position in the OOo/LibO discord:'''<br />
<br />
<br />
As occasional contributor I've considerd myself as "almost community member" of OOo for several years.<br />
<br />
When TDF creation was announced shortly, I first was rather surprised, as with all it underhand planning and sudden presentation of facts it resembeled more to a putsch than to a community driven action.<br />
<br />
After some days, with all the publicly available statements now, my conviction is growing that it was a good action. Several of the Oracle staff tend to behave like pashas in my eyes. I do not question their individual meritocratic legitimation, I just stumble over their arrogant-feeling behavior. Thereby they show - for me, an external, who just looks with his eyes and feels what he feels - that the action to bring forward an explicit instance to manage this huge project is overdue. <br />
<br />
Therefore, I support the TDF.<br />
<br />
With LibreOffice, my position is, that LibO is a necessary experiment, a proof of concept for the TDF and the ideas behind a better community integration. It is for me a prototype of what could be possible if OOo wasn't dominated by Oracle but set up as really independent project. <br />
<br />
Therefore, the only possibility I see for me personally is to support TDF/LibO. Although I don't believe that LibO will establish as an acceptable alternative to OOo, it will show what a community can achieve. It will show it to the world, but it will also show it like a mirror to the TDF founders, to the community. So after a year or two we will know if this was a real improvement to OOo or not. But even if it shows that it was not, there could be many details and aspects from which we all can learn and which can then be transferred back to the OOo community. If it is willing to learn.<br />
<br />
So, that's what I feel. At least at the moment :-)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Camillem/MostProminentIssuesForEnterpriseUsage
User:Camillem/MostProminentIssuesForEnterpriseUsage
2010-10-08T09:06:40Z
<p>Nnino: just turned bugs clickable</p>
<hr />
<div>==Framework==<br />
<br />
*[no issue open] Read Only files should be open in R/W mode see [http://wiki.services.openoffice.org/wiki/User:Camillem/aboutFramework#Read_Only_files_should_be_open_in_R.2FW_mode Removing RO mode]<br />
<br />
*[no issue open] Focus under MS Windows XP<br />
<br />
*[no issue open] PDF generated by OOo are printed upside down<br />
<br />
For more details, see :<br />
http://wiki.services.openoffice.org/wiki/User:Camillem/aboutFramework<br />
<br />
==Calc==<br />
<br />
*{{Bug|89232}} Fill operations should not touch filtered rows.<br />
<br />
*{{Bug|12666}} autofilter works just on one sheet (only one auto-range per file)<br />
<br />
*{{Bug|85305}} Dynamically grow a filtered range for autofilter<br />
<br />
*{{Bug|47600}} Sheets don't print when print range defined on another sheet (+<br />
ODF conformance problem)<br />
<br />
==Chart==<br />
<br />
*{{Bug|28670}} implement explicit resize of legend<br />
<br />
==Impress/Draw==<br />
<br />
*{{Bug|110332}} Merging master slide having the same names<br />
<br />
*{{Bug|95345}} Impress Table: Added rows don't inherit formatting of above<br />
<br />
*{{Bug|109079}} No undo on styles modification<br />
<br />
*{{Bug|109069}} Resize shape to fit text re-applied upon reload<br />
<br />
*{{Bug|70587}} master slides cannot be copied / duplicated<br />
<br />
==Writer==<br />
<br />
*{{Bug|3545}} Easier Cropping and rotating of images</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Ressourcen/Jono_Bacon_-_The_Art_of_Community
User:Nnino/Ressourcen/Jono Bacon - The Art of Community
2010-08-29T22:30:04Z
<p>Nnino: minor corrections</p>
<hr />
<div>Link to the '''source of the book''': [http://www.artofcommunityonline.org/downloads/jonobacon-theartofcommunity-1ed.pdf PDF (2.2MB)]<br />
<br />
{{Documentation/Note|'''Note:''' I'm just reporting these ideas here, no idea if they are helpful or not. Just wanted to share my reading progress. No need to reply to this message (except if you can't resist). }}<br />
<br />
Trying to summarize what I've read up to now (somewere in the middle of chapter 2 out of 11)...<br />
<br />
== Chapter 1: The Art of Community ==<br />
In his first chapter, Jono derives the steps for building a successfull community, what he calls the "Community TODO List": <br />
* Identify how we can divide our community into teams.<br />
* Ensure that teams can communicate clearly and effectively.<br />
* Attract a diverse range of contributors to our community to get involved and contribute to our goals.<br />
* Build an environment conducive to our wider goals.<br />
* Define the scope of each team, and help team members understand that scope.<br />
* Understand the extent and range of collaboration between our teams.<br />
* Encourage diversity and opportunity in the community.<br />
* Produce a Code of Conduct.<br />
<br />
== Chapter 2: Planning your community ==<br />
This chapter starts about building a Strategic Plan. It begins with the following helpful questions:<br />
; What is the mission? : We want to understand our primary mission—the bright, shiny prize for which we encourage and inspire our community. What is this eventual outcome that we lust for? Is it a software release, political change, to help a demographic of people, or to produce something?<br />
; What are the opportunities and areas of collaboration? : We want to explore how our community can work together to create and achieve things. What are these areas? How can we work together in different ways?<br />
; What are the skills required? : We want to identify what skills we need in our community so we can later establish teams to house these skills. What are these skills?</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/JonoBCommunity
User:Nnino/JonoBCommunity
2010-08-29T22:27:01Z
<p>Nnino: shortcut created</p>
<hr />
<div>#REDIRECT [[User:Nnino/Ressourcen/Jono Bacon - The Art of Community]]</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Ressourcen/Jono_Bacon_-_The_Art_of_Community
User:Nnino/Ressourcen/Jono Bacon - The Art of Community
2010-08-29T22:22:45Z
<p>Nnino: created</p>
<hr />
<div>Source of the book: [http://www.artofcommunityonline.org/downloads/jonobacon-theartofcommunity-1ed.pdf|PDF (2.2MB)]<br />
<br />
{{Documentation/Note|I'm just reporting these ideas here, no idea if they are helpful or not. Just wanted to share my reading progress. No need to reply to this message (except if you can't resist). }}<br />
<br />
Trying to summarize what I've read up to now (somewere in the middle of chapter 2 out of 11)... <br />
== Chapter 1: The Art of Community ==<br />
In his first chapter, Jono derives the steps for building a successfull community, what he calls the "Community TODO List": <br />
* Identify how we can divide our community into teams.<br />
* Ensure that teams can communicate clearly and effectively.<br />
* Attract a diverse range of contributors to our community to get involved and contribute to our goals.<br />
* Build an environment conducive to our wider goals.<br />
* Define the scope of each team, and help team members understand that scope.<br />
* Understand the extent and range of collaboration between our teams.<br />
* Encourage diversity and opportunity in the community.<br />
* Produce a Code of Conduct.<br />
<br />
== Chapter 2: Planning your community ==<br />
This chapter starts about building a Strategic Plan. It begins with the following helpful questions:<br />
; What is the mission? : We want to understand our primary mission—the bright, shiny prize for which we encourage and inspire our community. What is this eventual outcome that we lust for? Is it a software release, political change, to help a demographic of people, or to produce something?<br />
; What are the opportunities and areas of collaboration? : We want to explore how our community can work together to create and achieve things. What are these areas? How can we work together in different ways?<br />
; What are the skills required? : We want to identify what skills we need in our community so we can later establish teams to house these skills. What are these skills?</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Ressourcen
User:Nnino/Ressourcen
2010-08-29T22:10:45Z
<p>Nnino: + Jono Bacon</p>
<hr />
<div>== Mediawiki Software ==<br />
<br />
Handbücher:<br />
* [http://www.mediawiki.org/wiki/Manual:Contents mediawiki.org]<br />
* [http://meta.wikimedia.org/wiki/Help:Help das gute alte "Meta"]<br />
<br />
<br />
Subpages:<br />
* http://www.mediawiki.org/wiki/Subpages<br />
* http://meta.wikimedia.org/wiki/Help:Link#Subpage_feature<br />
<br />
<br />
Spezielles (z.B. Extensions):<br />
* [http://semeb.com/dpldemo/index.php?title=DPL:Manual_-_General_Usage_and_Invocation_Syntax Dynamic Page List]<br />
<br />
== Books ==<br />
* [[/Jono Bacon - The Art of Community|The Art of Community]]</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts
User:Nnino/Drafts
2010-08-24T17:42:04Z
<p>Nnino: + organigram</p>
<hr />
<div>Here, drafts are collected and hopefully finished some day: <br />
<br />
* [[/Oooauthors Workflow|workflow on oooauthors.org]] <br />
* [[/Oooauthors TodoList|TodoList for OOoAuthors]]<br />
* [[../OOo Organisation|Organigram etc...]] <br />
* [[/OOo Wiki Contribution Rules]]<br />
<br />
Translation drafts: {{#dpl:<br />
|mode=userformat<br />
|format = ,\n* [[%PAGE%|%TITLE%]],,<br />
|namespace=User<br />
|titleregexp=Nnino/Drafts/<br />
}}</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/OOo_Organisation
User:Nnino/OOo Organisation
2010-08-24T17:33:41Z
<p>Nnino: created</p>
<hr />
<div>== OOo Project Structure ==<br />
<br />
* red color shows estimated involvment of the community<br />
<br />
[[File:Doc-OOo-project organigram0.png|800px]]</div>
Nnino
https://wiki.openoffice.org/wiki/File:Doc-OOo-project_organigram0.png
File:Doc-OOo-project organigram0.png
2010-08-24T17:23:42Z
<p>Nnino: just a little visualisation of the overall project structure</p>
<hr />
<div>just a little visualisation of the overall project structure</div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-24T16:38:04Z
<p>Nnino: /* Usage Instructions */ + Andrews receipt</p>
<hr />
<div>__TOC__<br />
<br />
== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]</ref>):<br />
<br />
'''Installing the macro'''<br />
: You must choose where to store the macros. If the macros are frequently used, perhaps they can be stored in the Standard Library. My recommendation, however, is that they be stored in a specific library. Perhaps I will name the library TJLib.<br />
# Use '''Tools > Macros > Organize Macros > OpenOffice.org Basic''' to open the OOo Basic Macros dialog.<br />
# Click the '''organizer''' button to open the macro organizer.<br />
# Click on the '''Libraries''' tab.<br />
# Make certain that the Location drop-down displays "My Macros & Dialogs".<br />
# Click the '''New''' button. For the library name, use <tt>TJLib</tt> (or pick a more appropriate name).<br />
# Click the '''Modules''' tab.<br />
# Select ''TJLib'' and expand the entries. There should be a module shown as "Module1". <br>''In the unlikely event that it does not exist, Select ''TJLib'' and click on '''New''' and create <tt>Module1</tt>.''<br />
# Select ''Module1'' in the TJLib and click '''Edit''' to open the Basic IDE.<br />
# In the Basic IDE, copy all of TJ's code and replace what ever is already in the IDE.<br />
<br />
'''Running the macro'''<br />
: There is more than one way to run the macro. Press F5 to run the macro. You can also click on the "Run Basic" button in the toolbar. A good idea is to assign a shortcut key to accelerate later performance. <br />
<br />
: When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
<br />
== References ==<br />
<br />
<references/></div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/OOo_Macro_Tutorial
User:Nnino/Drafts/OOo Macro Tutorial
2010-07-22T18:29:29Z
<p>Nnino: /* Record a macro */ typo</p>
<hr />
<div>Purpose of this draft tutorial is to get started with macros without having to read the whole [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|macro chapter from the Getting Started Guide]].<br />
<br />
== Overview ==<br />
<br />
A macro is a saved sequence of commands or keystrokes that are stored for later use. <br />
<br />
OpenOffice.org macros are usually written in a language called StarBasic (just abbreviated Basic). Some other programming languages are supported as well<sup>NeedsReference</sup>. <br />
<br />
To generate a macro, you can record a couple of keystrokes<ref>as described in [[Documentation/OOo3_User_Guides/Getting_Started/Creating_a_simple_macro|this chapter of the Getting Started Guide]]</ref>. Or you can write the macro code yourself from scratch (or paste it from a code source). <br />
<br />
In OpenOffice.org, macros are stored in modules, and modules are stored in libraries, and libraries are organized in library containers (default containers are called "My Macros" and "OpenOffice.org Macros"). The container reflects the scope of the macros contained. So the libraries in "My Macros" are visible for the current user, while libraries in "OpenOffice.org Macros" are visible for any user of this particular OOo Installation. In addition, macros can be stored in ODF documents, so each document can act as a separate library container, too. For further reading, see [[Documentation/OOo3_User_Guides/Getting_Started/Macro_organization|chapter Macro organization of Getting Started Guide]].<br />
<br />
== Record a macro ==<br />
(see [[Documentation/OOo3_User_Guides/Getting_Started/Creating_a_simple_macro|instructions in GS3]])<br />
<br />
== Write macro code from scratch ==<br />
First create a new Module in the Standard library of the "My Macros" container. In the main menu, choose '''Tools > Macros > Organize Macros > OpenOffice.org Basic''', <br />
<br />
<br />
== References ==<br />
<references /></div>
Nnino
https://wiki.openoffice.org/wiki/Documentation/OOo3_User_Guides/Draw_Guide/Introducing_Draw
Documentation/OOo3 User Guides/Draw Guide/Introducing Draw
2010-07-22T18:12:39Z
<p>Nnino: /* Copyright */ Authors list layout (suggestion)</p>
<hr />
<div><center>[[Image:title.png]]</center><br />
<br />
<div align="right">'''''Draw Guide'''''</div><br />
<br />
<div align="right">'''''Chapter 1 Introducing Draw'''''</div><br />
<br />
<div align="right">''Drawing Vector Graphics in OpenOffice.org''</div><br />
<br />
<br />
This PDF is designed to be read onscreen, two pages at a time. If you want to print a copy, your PDF viewer should have an option for printing two pages on one sheet of paper, but you may need to start with page 2 to get it to print facing pages correctly. (Print this cover page separately.)<br />
<br />
<br />
= Copyright =<br />
This document is Copyright © 2005–2010 by its contributors as listed in the section titled '''Authors'''. You may distribute it and/or modify it under the terms of either the [http://www.gnu.org/licenses/gpl.html GNU General Public License], version 3 or later, or the [http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution License], version 3.0 or later.<br />
<br />
All trademarks within this guide belong to their legitimate owners.<br />
<br />
'''Authors'''<br />
<pre><br />
Agnes Belzunce<br />
Daniel Carrera<br />
Martin Fox<br />
Peter Hillier-Brook<br />
Hazel Russman<br />
Gary Schnabl<br />
Jean Hollis Weber<br />
Claire Wood<br />
Linda Worthington<br />
</pre><br />
'''Feedback'''<br />
<br />
Please direct any comments or suggestions about this document to:[mailto:authors@documentation.openoffice.org authors@documentation.openoffice.org]<br />
<br />
'''Acknowledgments'''<br />
<br />
This chapter is based on an original French document written for OpenOffice.org 1.x by Michel Pinquier (translated to English by Alex Thurgood) and previous content revised by Jim Taylor. The chapter was revised for OpenOffice 2.0 by the authors listed above, and later translated into German by Wolfgang Uhlig; the German revisions were then translated into English by Martin Fox and updated for OpenOffice 3.2.<br />
<br />
'''Publication date and software version'''<br />
<br />
Published 16 July 2010. Based on OpenOffice.org 3.2.<br />
<br />
= Introduction =<br />
Draw is a vector graphics drawing tool, although it can also perform some operations on raster graphics (pixels). Using Draw, you can quickly create a wide variety of graphical images.<br />
<br />
Vector graphics store and display a picture as simple geometric elements such as lines, circles, and polygons rather than as a collection of pixels (points on the screen). This permits simpler storage and supports precise scaling of the picture elements.<br />
<br />
Draw is fully integrated into the OpenOffice.org (OOo) suite, and this simplifies exchanging graphics with all components of the suite. For example, if you create an image in Draw, reusing it in a Writer document is as simple as copying and pasting the image. You can also work with drawings directly from within Writer or Impress, using a subset of the functions and tools from Draw.<br />
<br />
Draw’s functionality is extensive, and even though it was not designed to rival high-end graphics applications, it possesses significantly more functionality than the drawing tools that are generally integrated with most office productivity suites.<br />
<br />
A few examples of the drawing functions are: layer management, magnetic grid-point system, dimensions and measurement display, connectors for making organization charts, 3D functions that enable small three-dimensional drawings to be created (with texture and lighting effects), drawing and page-style integration, and Bézier curves.<br />
<br />
The ''Draw Guide'' is not a course book to be worked through from beginning to end. Rather, it is a reference work in which you can browse for guidance on particular topics.<br />
<br />
This document describes only the functions associated with Draw. Some concepts, such as file management or the way the OpenOffice.org environment works, are mentioned only briefly; they are covered in more detail in the ''Getting Started'' guide.<br />
<br />
= The Draw workplace =<br />
The main components of the '''Draw''' interface are shown in Figure 1.<br />
<br />
The large area in the center of the window is where you make the drawings. You can surround the drawing area with toolbars and information areas. The number and position of the visible tools vary with the task in hand and user preferences. Therefore, your setup may look different. For example, many users put the main Drawing toolbar on the left-hand side of the workspace—not at the bottom, as shown here. The setup procedure is described in detail in Chapter 4 (Menus and Toolbars) in the ''Getting Started'' guide.<br />
<br />
You can split drawings in Draw over several pages. Multipage drawings are used mainly for presentations. The ''Pages'' pane, on the left side of the Draw window in Figure 1 gives an overview of the pages that you create. If the Pages pane is not visible on your setup, you can enable it from the View menu ('''View > Page Pane'''). To make changes to the page order, just drag and drop one or more pages.<br />
<br />
In Draw 3, the maximum size of a drawing page is 300 cm by 300 cm.<br />
<br />
<center>[[Image:a01.png||''Figure 1: Initial Draw window'']]</center><br />
<br />
= Rulers =<br />
You should see rulers (bars with numbers) on the upper and left-hand sides of the workspace. If they are not visible, you can enable them by selecting them from the View menu ('''View > Ruler''').<br />
<br />
The rulers show the size of a selected object on the page (see the gray double lines, highlighted in Figure 2). When no object is selected, they show the location of the mouse pointer, which helps to position drawing objects more accurately.<br />
<br />
You can also use the rulers to manage object handles and guide lines, making it easier to position objects.<br />
<br />
The page margins in the drawing area are also represented on the rulers. You can change the margins directly on the rulers by dragging them with the mouse.<br />
<br />
<center>[[Image:a02.png||''Figure 2: Rulers show the size of the selected object'']]</center><br />
<br />
To modify the units of measurement of the rulers (which you can define independently), right-click on the desired ruler, as illustrated for the horizontal ruler in Figure 3.<br />
<br />
<center>[[Image:a03.png||''Figure 3: Rulers in a drawing'']]</center><br />
<br />
= Status bar =<br />
The Status bar is located at the bottom of the screen (in all OOo components) and includes several Draw-specific fields, as identified in Figure 4.<br />
<br />
[[Image:a04.png||''Figure 4: Items on the Draw status bar'']]<br />
<br />
The ''Information'' field shows which action is being carried out, or which object type is selected.<br />
<br />
The ''Position'' field shows different information, depending on whether objects are currently selected or not:<br />
<br />
* When no object is selected, the left number pair shows the current position (in X,Y Cartesian coordinates) of the mouse cursor.<br />
* While an object is being resized with the mouse, the right number pair shows the size of the object (width and height).<br />
<br />
<br />
{{Documentation/Note| The sizes are given in the current measurement unit (not to be confused with the ruler units). This unit is defined in '''Tools > Options > OpenOffice.org Draw > General''', where you can also change the scale of the page. Another way to change the scale is to double-click on the number shown in the status bar.}}<br />
* If an object is selected, the left number pair shows the X,Y coordinates of the upper-left corner, and the right number pair displays the size of the object, as seen in Figure 4. These numbers do not relate to the object itself, but to the selection outline, which is the smallest possible rectangle that can contain the visible part or parts of the object; see also Chapter 3 (Working with Objects and Object Points).<br />
* When an object is selected, a double-click on this field opens the Position and Size dialog, which is described in detail in Chapter 4 (Changing Object Attributes).<br />
<br />
In the ''Indicator'' field, an asterisk (*) is shown whenever any change is made to the document but not yet saved to disk.<br />
<br />
If you wish to digitally sign the document, a double-click or right-click in the ''Signature'' field brings up the signature box. Note that a document must be saved at least once before it can be signed. After it is signed, an indicator is present in this field.<br />
<br />
The ''Slide'' field shows the sequence number for the current drawing page, in addition to the total number of pages that you created so far. This is useful when your drawing has a number of pages. If you select an object, the field enclosed by parentheses shows the layer in which the object resides within the drawing. In the example of Figure 4, the object is on the Layout layer of Slide 1, and there is a total number of one slide, so far.<br />
<br />
The ''Template'' field shows which page template is being used for the current page. If you saved several slide designs, you can select one for the current page by double-clicking in this field (see Figure 5) and selecting '''Load''' after choosing a slide design.<br />
<br />
<center>[[Image:a05.png||''Figure 5: Selecting a slide (page) design'']]</center><br />
<br />
The vertical bar in the middle of the ''Zoom'' slider represents a zoom factor of 100%. To change the view magnification, drag the Zoom slider, or click on the + and – signs, or right-click on the zoom level percent to pop up a list of magnification values from which to choose. Double-clicking on the zoom level percent to open the '''Zoom & View Layout''' dialog.<br />
<br />
= Toolbars =<br />
You can display or hide the various Draw toolbars, according to your needs. To display or hide a toolbar, click '''View > Toolbars'''. On the menu that appears, choose which toolbars you want to display.<br />
<br />
You can also select the icons that you wish to appear on the toolbars. Toolbars display a default selection of icons but you can choose to hide some of these and display others. To change the visible icons on any toolbar, click the arrow at the right-hand end of the toolbar and select '''Visible Buttons'''. On the list of the available icons that appears, select or deselect the icons you want to be visible. A checkmark next to an icon indicates that it is visible.<br />
<br />
The tools available in the various toolbars are explained in the following sections.<br />
<br />
== Standard toolbar ==<br />
The Standard toolbar is the same for all OOo components and is not described in detail here.<br />
<br />
[[Image:a06.png||''Figure 6: Standard toolbar'']]<br />
<br />
== Line and Filling toolbar ==<br />
The Line and Filling toolbar lets you modify the main properties of a drawing object: the icons and pull-down lists vary, according to the type of object selected. For example, to change the thickness of a line with the spinner, hover the mouse over the spinner and click the up or down arrow to achieve the desired thickness.<br />
<br />
[[Image:a07.png||''Figure 7: Line and Filling toolbar'']]<br />
<br />
In the example above, the available functions enable you to change the color, style, and width of the line drawn or the fill color, style, and other properties of an object. The object must first be selected with a mouse click. If the selected object is a text frame, the buttons for line style and fill color are changed to ''Invisible''.<br />
<br />
When text is selected, the Line and Filling toolbar changes to the Text Formatting toolbar, which is very similar to the Formatting toolbar in Writer. A more detailed explanation of the buttons on this toolbar can be found in Chapter 4 (Changing Object Attributes).<br />
<br />
[[Image:a08.png||''Figure 8: Text Formatting toolbar'']]<br />
<br />
== Drawing toolbar ==<br />
The Drawing toolbar is the most important toolbar in Draw. It contains all the necessary functions for drawing various geometric and freehand shapes and for organizing them on the page. It is described in detail in Chapter 2 (Drawing Basic Shapes).<br />
<br />
[[Image:a09.png||''Figure 9: Drawing toolbar'']]<br />
<br />
== Color bar ==<br />
To display the Color bar, use '''View > Toolbars > Color Bar'''. The toolbar then appears at the bottom of the workspace and displays the current color palette.<br />
<br />
[[Image:a10.png||''Figure 10: Color bar'']]<br />
<br />
This toolbar lets you rapidly choose the color of the various objects (lines, areas, and 3D effects) in your drawing. The first box in the panel corresponds to transparency (no color).<br />
<br />
=== Choosing a color palette ===<br />
You can access several specialized color palettes in Draw, as well as change individual colors to your own taste. This is done using the Area dialog, reached by choosing '''Format > Area''', as shown in Figure 11, or the ''pouring can'' icon on the Line and Filling toolbar (Figure 7).<br />
<br />
On the Area dialog, choose the '''Colors''' tab (Figure 12).<br />
<br />
To load another palette, click on the '''Load Color List''' button (circled). The file selector dialog asks you to choose one of the standard OOo palettes (files bearing the file extension *.soc). For example, web.soc is a color palette that is particularly adapted to creating drawings that are going to appear in Web pages. The colors will correctly display on workstations with screens displaying at least 256 colors.<br />
<br />
<center>[[Image:a11.png|| ''Figure 11: Displaying the Area dialog from the menu bar'']]</center><br />
<br />
A more detailed description of color palettes and their options can be found in Chapter 8 (Tips and Tricks).<br />
<br />
<center>.[[Image:a12.png||''Figure 12. Changing the color palette'']]</center><br />
<br />
== Options toolbar ==<br />
The Options toolbar lets you activate or deactivate various drawing aids. The Options Bar is not one of the toolbars displayed by default. To display it, select '''View > Toolbars > Options'''.<br />
<br />
<center>[[Image:a13.png||''Figure 13: Options toolbar'']]</center><br />
<br />
The options are described in the table below and in greater detail in other chapters of the ''Draw Guide''.<br />
<br />
''Table 1: Functions on the Options toolbar''<br />
<br />
<br />
{| class="prettytable"<br />
| '''Icon'''<br />
| '''Function'''<br />
<br />
|-<br />
| [[Image:t01.png]]<br />
| Rotation Mode after Clicking Object<br />
<br />
|-<br />
| [[Image:t02.png]]<br />
| Display (or hide the) Grid<br />
<br />
|-<br />
| [[Image:t03.png]]<br />
| Display (or hide the) Guides<br />
<br />
|-<br />
| [[Image:t04.png]]<br />
| Display (or hide Guides) When Moving<br />
<br />
|-<br />
| [[Image:t05.png]]<br />
| Snap to Grid<br />
<br />
|-<br />
| [[Image:t06.png]]<br />
| Snap to Guides<br />
<br />
|-<br />
| [[Image:t07.png]]<br />
| Snap to Page Margins<br />
<br />
|-<br />
| [[Image:t08.png]]<br />
| Snap to Object Borders<br />
<br />
|-<br />
| [[Image:t09.png]]<br />
| Snap to Object Points<br />
<br />
|-<br />
| [[Image:t10.png]]<br />
| Allow Quick Editing<br />
<br />
|-<br />
| [[Image:t11.png]]<br />
| Select Text Area Only<br />
<br />
|-<br />
| [[Image:t12.png]]<br />
| Double-click to edit Text<br />
<br />
|-<br />
| [[Image:t13.png]]<br />
| Simple Handles<br />
<br />
|-<br />
| [[Image:t14.png]]<br />
| Large Handles<br />
<br />
|-<br />
| [[Image:t15.png]]<br />
| Create Object with Attributes<br />
<br />
|-<br />
| [[Image:t16.png]]<br />
| Exit All Groups<br />
<br />
|}<br />
= Drawing grid and guides =<br />
Draw offers a grid as a drawing aid. The grid can be turned on or off by clicking on the '''Grid''' icon on the Options toolbar. The points of the grid displayed on the screen are not shown on the printed drawing. The color, spacing, and resolution of the grid points can be individually chosen for each axis. This is described in more detail in Chapter 8 (in the section titled “Configuring the grid”).<br />
<br />
Guides are special “helper lines” that can be turned on or off by clicking on the '''Guides''' icon on the Options toolbar. Draw offers a “Snap” function, with which you can place drawings exactly on these guides or on a grid point, a page margin, or a border or point of another object. All snap functions are described in detail in Chapter 8 (Tips and Tricks).<br />
<br />
Showing the position of the object while moving it makes positioning the object much easier. If the Guides function is activated, pairs of vertical and horizontal lines enclosing the object are shown while moving the object. These lines extend to the edges of the drawing area. This function is also described in detail in Chapter 8.<br />
<br />
= Floating and moving toolbars =<br />
Many toolbar icons are marked with a small arrow. The arrow indicates that this icon has additional functions. Click the arrow, and a submenu appears, showing its additional functions (see Figure 14). Such an icon, and its associated submenu, can become a floating toolbar. Click the area at the top of the submenu, drag it across the screen to a location you want, and then release the mouse button. Floating toolbars can be redocked on an edge of the screen or within one of the existing toolbar areas at the top of the screen, as described in Chapter 4 (Changing Object Attributes). The floating-toolbar capability is common to all components of OOo.<br />
<br />
<br />
{{Documentation/Note| When a submenu is made into a floating toolbar, the icon on the existing toolbar remains in the toolbar and always shows the last command you used. This means that the icon you see on your screen may differ from any icon shown in this Guide.}}<br />
<center>[[Image:a14.png||''Figure 14: An arrow next to an icon indicates additional functions.'']]</center><br />
<br />
<br />
{{Documentation/Tip| When you double-click on an icon on a floating toolbar, the command corresponding to that icon will run. You can then repeat this action as often as you like. To exit from this mode, press the ''Esc'' key or click on another icon (for example [[Image:]]). This may not work for every icon on every toolbar.}}<br />
Similarly, click on the arrow on the title bar of a floating toolbar to display additional functions (see Figure 15).<br />
<br />
<center>[[Image:a15.png||''Figure 15: An arrow on a floating toolbar indicates that there are additional functions available.'']]</center><br />
<br />
To show or hide icons defined for the selected toolbar, choose '''Visible Buttons''' from the drop-down menu. Visible icons have a checkmark next to them. Click on icons to select or deselect them.<br />
<br />
In Draw, as in all OOo components, you can move a toolbar to a new position by using the mouse. Hover the mouse pointer over the vertical column of dots at the left end of the toolbar until the pointer changes shape, and then drag-and-drop as desired.<br />
<br />
= Customizing toolbars =<br />
You can customize toolbars in several ways, in addition to those described in the previous section. For example, you can add functions to a toolbar, move tools between toolbars, and create new toolbars. To do this, choose '''View > Toolbars > Customize''', select the '''Toolbars''' tab (Figure 16) and the toolbar you want to change, and then select the desired buttons for that toolbar. Each toolbar has a different list of buttons. For details, see Chapter 14 (Customizing OpenOffice.org) in the ''Getting Started'' guide. That chapter also describes how to customize menus.<br />
<br />
<center>[[Image:a16.png||''Figure 16: Customizing a toolbar'']]</center></div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/OOo_Macro_Tutorial
User:Nnino/Drafts/OOo Macro Tutorial
2010-07-22T12:30:31Z
<p>Nnino: first draft created</p>
<hr />
<div>Purpose of this draft tutorial is to get started with macros without having to read the whole [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|macro chapter from the Getting Started Guide]].<br />
<br />
== Overview ==<br />
<br />
A macro is a saved sequence of commands or keystrokes that are stored for later use. <br />
<br />
OpenOffice.org macros are usually written in a language called StarBasic (just abbreviated Basic). Some other programming languages are supported as well<sup>NeedsReference</sup>. <br />
<br />
To generate a macro, you can record a couple of keystrokes<ref>as described in [[Documentation/OOo3_User_Guides/Getting_Started/Creating_a_simple_macro|this chapter of the Getting Started Guide]]</ref>. Or you can write the macro code yourself from scratch (or paste it from a code source). <br />
<br />
In OpenOffice.org, macros are stored in modules, and modules are stored in libraries, and libraries are organized in library containers (default containers are called "My Macros" and "OpenOffice.org Macros"). The container reflects the scope of the macros contained. So the libraries in "My Macros" are visible for the current user, while libraries in "OpenOffice.org Macros" are visible for any user of this particular OOo Installation. In addition, macros can be stored in ODF documents, so each document can act as a separate library container, too. For further reading, see [[Documentation/OOo3_User_Guides/Getting_Started/Macro_organization|chapter Macro organization of Getting Started Guide]].<br />
<br />
== Record a macro ==<br />
(see [[Documentation/OOo3_User_Guides/Getting_Started/Creating_a_simple_macro|instructions in GS2]])<br />
<br />
== Write macro code from scratch ==<br />
First create a new Module in the Standard library of the "My Macros" container. In the main menu, choose '''Tools > Macros > Organize Macros > OpenOffice.org Basic''', <br />
<br />
<br />
== References ==<br />
<references /></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T08:00:26Z
<p>Nnino: + TOC</p>
<hr />
<div>__TOC__<br />
<br />
== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]</ref>):<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
<br />
== References ==<br />
<br />
<references/></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T07:57:02Z
<p>Nnino: /* Usage Instructions */ typo again</p>
<hr />
<div>== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]</ref>):<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
<br />
== References ==<br />
<br />
<references/></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T07:56:19Z
<p>Nnino: /* Usage Instructions */ typo</p>
<hr />
<div>== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]):<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
<br />
== References ==<br />
<br />
<references/></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T07:54:42Z
<p>Nnino: /* Usage Instructions */ typo</p>
<hr />
<div>== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]):<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
== References ==<br />
<references/></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T07:54:13Z
<p>Nnino: /* Usage Instructions */ reference added</p>
<hr />
<div>== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
Here the basic instructions how to use the above code AFAIR (which are standard instructions on using external Macro code in OOo<ref> see [[Documentation/OOo3_User_Guides/Getting_Started/Getting_Started_with_Macros|Getting Started with Macros]]):<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.<br />
== References ==<br />
<references /></div>
Nnino
https://wiki.openoffice.org/wiki/User:TJFrazier/WikiBasic
User:TJFrazier/WikiBasic
2010-07-22T07:34:45Z
<p>Nnino: + Usage Instructions</p>
<hr />
<div>== Code to post-process the output of MediaWiki Export Filter from Sun Wiki Publisher ==<br />
Version information is embedded in the code, a little way down. If you need an earlier version, use the history tab to find it.<br />
<br />
<source lang="oobas"><br />
REM ***** Wiki-related macros *****<br />
<br />
Option Explicit<br />
<br />
Sub TipNoteCautionCleanup<br />
' Cleans up Tips, Notes, and Cautions after "Export to MediaWiki (.txt)" filter<br />
' from Sun Wiki Publisher extension.<br />
' Converts wiki tables to wiki template calls.<br />
<br />
Dim sV as String 'release version<br />
'Dim vLang as Variant 'array of Locale structs<br />
<br />
sV = "0.2.0"<br />
REM Version notes:<br />
'V 0.2.0: Older versions WILL NOT COMPILE, due to a change in the interface.<br />
' The 'Anchor' construct is no longer a part of 'Text'.<br />
' Updated for Sun Wiki Publisher output. Extra 'style=' trash removed.<br />
' Version notes relocated up top.<br />
' Language default "always US" set. This is easily user-customizable.<br />
'V 0.1.2: Add file-type check for ".txt" input.<br />
' Remove all tabs, so wiki version aligns properly.<br />
' Localize tally message.<br />
' Make user constant localization easy.<br />
'V 0.1.1: Localized for DE. Also necessary to allow for different<br />
' structure of Caution/Achtung table (no images in DE).<br />
'V 0.1.0: Released 2009-09-04 to wiki page. All MsgBox constants removed.<br />
'V 0.0.2: More code cleanup. MsgBox constants now for module.<br />
'V 0.0.1: Remove useless error msg for other table. Code cleanup.<br />
' Tally "other tables", & display.<br />
' Display version in tally header.<br />
'V 0.0.0 released 2009-01-22 to authors list & JHW.<br />
<br />
<br />
Dim oCursor as Variant 'text cursor<br />
Dim oDoc as Object<br />
Dim enum1 as Variant 'paragraph enumeration<br />
Dim enum2 as Variant 'portion enumeration<br />
Dim thisPara as Variant<br />
Dim thisPortion as Variant<br />
Dim bBegin as Boolean 'True if looking for table start<br />
' counters for items found.<br />
Dim iCaution as Integer<br />
Dim iNote as Integer<br />
Dim iTip as Integer<br />
Dim iPara as Integer<br />
Dim iPor as Integer<br />
Dim iTable as Integer 'non-T|N|C tables<br />
Dim ix as Integer 'scratch<br />
<br />
Dim aNames(2) as String 'names to search for<br />
Const kNote = 0 'subscript enumeration list<br />
Const kTip = 1<br />
Const kCaution = 2<br />
<br />
Dim sFind as String 'sentinel sought<br />
Dim sISO as String 'language code<br />
Dim sRep as String 'replacement<br />
Dim sText as String 'scratch<br />
<br />
oDoc = ThisComponent<br />
'oDoc = StarDesktop.CurrentComponent 'Testing bad-file, gives IDE<br />
If TNCBadFile(oDoc, ".txt") Then Exit Sub<br />
'Localize searches<br />
aNames(kNote) = "Note"<br />
aNames(kTip) = "Tip"<br />
aNames(kCaution) = "Caution"<br />
<br />
'Language locales are not available in txt files ...<br />
'vLang = oDoc.getDocumentLanguages(1, 2)<br />
'sISO = vLang(0).Country<br />
<br />
' USER LOCALIZE: only one of the following group of lines should be active (not commented out).<br />
' Pick whichever you find convenient.<br />
'sISO = InputBox( "Please input ISO language code", "T/N/C Cleanup ver " & sV, "US") 'ask language<br />
sISO = "US" 'always US<br />
'sISO = "DE" 'always DE<br />
' End group.<br />
<br />
If sISO = "DE" then<br />
aNames(kNote) = "Anmerkung"<br />
aNames(kTip) = "TIPP"<br />
aNames(kCaution) = "Achtung"<br />
End If 'DE<br />
' Other languages can be added here, in similar fashion.<br />
' Careful! Some code may be needed to parse differences in the tables.<br />
' See other references to variable sISO.<br />
<br />
enum1 = oDoc.Text.createEnumeration<br />
bBegin = True<br />
<br />
While enum1.hasMoreElements<br />
thisPara = enum1.nextElement<br />
iPara = iPara + 1<br />
enum2 = thisPara.createEnumeration<br />
While enum2.hasMoreElements<br />
thisPortion = enum2.nextElement<br />
iPor = iPor + 1<br />
sText = thisPortion.getString()<br />
sFind = IIf( bBegin, "{|", "|}" ) 'start/end wiki table<br />
If Mid(sText, 1, len(sFind)) = sFind Then 'found a sentinel<br />
oCursor = thisPortion.Text.createTextCursorByRange(thisPortion.Start)<br />
oCursor.gotoEndOfParagraph( True )<br />
If bBegin Then 'looking for opening delimiter <br />
bBegin = False 'next loop, look for closing delimiter<br />
' expand selection to include next paragraph and its mark.<br />
oCursor.goRight( 1, True ) '-> next paragraph<br />
oCursor.gotoEndOfParagraph( True )<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
' the selected string should hold one of the 3 target names.<br />
' Set sRep to generate wiki-template names "{{Documentation/whatever"<br />
' Code included for possible future localized templates.<br />
If InStr( oCursor.String, aNames(kNote) ) Then<br />
' sRep = aNames(kNote)<br />
sRep = "Note"<br />
iNote = iNote + 1<br />
ElseIf InStr( oCursor.String, aNames(kTip) ) Then<br />
' sRep = aNames(kTip)<br />
sRep = "Tip"<br />
iTip = iTip + 1<br />
ElseIf InStr( oCursor.String, aNames(kCaution) ) Then<br />
' sRep = aNames(kCaution)<br />
sRep = "Caution"<br />
iCaution = iCaution + 1<br />
If sISO = "DE" Then<br />
' no special action required<br />
Else<br />
'kill generated image-related text<br />
oCursor.goRight( 2, True) 'empty para and into next<br />
oCursor.gotoEndOfParagraph( True ) 'img: <center> para<br />
oCursor.goRight( 1, True ) 'include the para mark<br />
End If 'Language<br />
Else 'different kind of wiki table<br />
sRep = ""<br />
iTable = iTable + 1<br />
bBegin = True 'keep looking for beginning, after other table<br />
EndIf 'NTC or other table found<br />
If sRep <> "" Then 'we found a Note, Tip, or Caution, so<br />
' (1) replace table and trash with template call.<br />
thisPortion.Text.insertString( oCursor, "{{Documentation/" & sRep, True )<br />
' (2) remove possible '| style="xxx"' trash.<br />
oCursor.collapseToEnd<br />
oCursor.gotoEndOfParagraph( True )<br />
If Left( oCursor.String, 9 ) = "| style=""" Then 'found trash<br />
ix = InStr( oCursor.String, """|" )<br />
oCursor.goLeft( len(oCursor.String) - ix, True ) 'select | sty -> "<br />
thisPortion.Text.insertString( oCursor, "", True ) 'delete trash<br />
End If 'found trash<br />
End If 'sRep not empty<br />
Else 'bBegin = False, found ending delimiter<br />
oCursor.collapseToEnd<br />
oCursor.goLeft( 4, True ) 'include two para marks<br />
'replace table-end delimiter with template call delimiter<br />
thisPortion.Text.insertString( oCursor, "}}", True )<br />
bBegin = True<br />
EndIf 'bBegin<br />
End If 'hit<br />
Wend 'loop for all portions in this paragraph<br />
Wend 'loop for all paragraphs in document<br />
<br />
MsgBox "Language code " &sISO & " Processing Complete!" & chr(13) & chr(13) _<br />
& "Paragraphs - " & str(iPara) & chr(13) _<br />
& "Portions - " & str(iPor) & chr(13) _<br />
& aNames(kCaution) & " - " & str(iCaution) & chr(13) _<br />
& aNames(kNote) & " - " & str(iNote) & chr(13) _<br />
& aNames(kTip) & " - " & str(iTip) & chr(13) _<br />
& "Other tables - " & str(iTable) & chr(13) _<br />
,, "T|N|C ver " & sV<br />
<br />
End Sub 'TipNoteCautionCleanup<br />
<br />
Function TNCBadFile(oDoc as Object, Optional sSuffix as String) as Boolean<br />
Dim sName as String<br />
Dim sURL as String<br />
<br />
On local error GoTo BadFile<br />
sName = oDoc.ImplementationName<br />
sURL = oDoc.URL<br />
If IsMissing(sSuffix) Then sSuffix = ""<br />
If len(sSuffix) = 0 Then Exit Function<br />
If Right(sUrl, len(sSuffix)) = sSuffix Then Exit Function<br />
<br />
BadFile:<br />
On error GoTo 0<br />
Dim iAnswer as Integer<br />
iAnswer = MsgBox( "Found this target file:" & chr(13) _<br />
& "Name: " & sName & chr(13) _<br />
& "URL: " & sURL & chr(13) _<br />
& "You probably want to bring the proper file to the foreground, and run the macro again." _<br />
& chr(13) & chr(13) & "Process this file anyway?" _<br />
,MB_YESNO + MB_DEFBUTTON2 + MB_ICONEXCLAMATION, "WRONG FILE?" )<br />
TNCBadFile = (iAnswer <> IDYES) <br />
End Function 'TNCBadFile<br />
<br />
'The following code is not used by the TNC process.<br />
<br />
' Code for pseudo-wiki editing within Writer.<br />
' They work, but lack easy access (like a toolbar). Working on it.<br />
REM V0.0.2 with V0.2.0 of TNC. Added Tip/Note/Caution generator entry points.<br />
REM V0.0.1 with V0.1.2 of TNC. "Source" bracket split up for Syntax Highlighter.<br />
REM V0.0.0 released with V0.0.1 of TNC. No toolbar or buttons yet.<br />
' Entry points for bold, italics, nowiki, source, and tt.<br />
<br />
Sub wikiServSub( byVal sBegin as String, Optional byVal sEnd as String )<br />
REM Service routine for entry points which define the brackets.<br />
' If the end bracket is not given, it is the same as the begin.<br />
<br />
Dim oDoc as Object<br />
Dim oViewCursor as Object<br />
Dim bEmpty as Boolean<br />
Dim iLF as Integer<br />
Dim sTarget as String<br />
<br />
If IsMissing( sEnd ) Then sEnd = sBegin<br />
<br />
oDoc = ThisComponent<br />
' get the current cursor position in the GUI.<br />
oViewCursor = oDoc.getCurrentController().getViewCursor()<br />
sTarget = oViewCursor.getString() 'fetch user selection, if any<br />
bEmpty = (sTarget = "")<br />
If bEmpty Then sTarget = " "<br />
iLF = InStr( sTarget, chr(10) ) 'Remove artifact line feeds<br />
Do While iLF<br />
Mid( sTarget, iLF, 1, "" )<br />
iLF = InStr( sTarget, chr(10) )<br />
Loop 'for all line feeds<br />
oViewCursor.setString( sBegin & sTarget & sEnd ) 'set result<br />
' un-select the insertion.<br />
If bEmpty Then 'select the spaces<br />
oViewCursor.collapseToStart<br />
oViewCursor.goRight( len(sBegin), False )<br />
oViewCursor.goRight( len(sTarget), True )<br />
Else 'select nothing<br />
oViewCursor.collapseToEnd<br />
End If 'user selection was empty<br />
End Sub 'wikiServSub<br />
<br />
Sub wikiServTNC( sName as String )<br />
call wikiServSub( "{{Documentation/" & sName & "|", "}}" )<br />
End Sub 'wikiServTNC<br />
<br />
'--------------------------------<br />
' Entry points for wiki editing.<br />
<br />
Sub WikiBold<br />
call wikiServSub( "'''" )<br />
End Sub 'WikiBold<br />
<br />
Sub WikiCaution<br />
call wikiServTNC( "Caution" )<br />
End Sub 'WikiCaution<br />
<br />
Sub WikiItalics<br />
call wikiServSub( "''" )<br />
End Sub 'WikiItalics<br />
<br />
Sub WikiNote<br />
call wikiServTNC( "Note" )<br />
End Sub 'WikiNote<br />
<br />
Sub WikiNowiki<br />
call wikiServSub( "<nowiki>", "</nowiki>" )<br />
End Sub 'WikiNowiki<br />
<br />
Sub WikiSource<br />
' call wikiServSub( "\n<" & "source lang=oobas>\n", _<br />
' "\n<" & "/source>\n" ) 'fails, "\n" ignored<br />
call wikiServSub( chr(13) & "<" & "source lang=""oobas"">" & chr(13), _<br />
chr(13) & "<" & "/source>" & chr(13) )<br />
End Sub 'WikiSource<br />
<br />
Sub WikiTip<br />
call wikiServTNC( "Tip" )<br />
End Sub 'WikiTip<br />
<br />
Sub WikiTT<br />
call wikiServSub( "<tt>", "</tt>" )<br />
End Sub 'WikiTT<br />
<br />
</source><br />
<br />
== Usage Instructions ==<br />
# you just open the OOoBASIC Macro editor in writer application scope, <br />
# past the Macro code, save it, and finally <br />
# assign a shortcut key to accelerate the performance. <br />
<br />
When you then use WikiPublisher to obtain a .txt file with all the wiki markup, you have to open this file with OOo writer, just run the Macro by using the shortcut key, and save the file (as .txt) again or copy its contents and paste it into the wiki page editor.</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE3
User:Nnino/Testpage/DE3
2010-07-20T12:28:03Z
<p>Nnino: - categories</p>
<hr />
<div>{{Template:DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<br clear="all"><br />
<br />
<div style="float: right; width: 17em; margin-bottom:4em; margin-left:1.2em">{{TEST/De.OOo}}</div><br />
<div style="float: left; width: 19em; margin-right:2em; margin-bottom: 2em">{{DE/TopTenViews}}</div><br />
<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE
User:Nnino/Testpage/DE
2010-07-20T12:26:55Z
<p>Nnino: - categories</p>
<hr />
<div>{{DISPLAYTITLE:DE}}{{DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<div style="float: right; width: 18em; margin-left: 15px">{{DE/TopTenViews}}</div>{{de.OOo}}<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage
User:Nnino/Testpage
2010-07-20T09:41:37Z
<p>Nnino: + Tests</p>
<hr />
<div>This page is meant to test wiki features<br />
<br />
__TOC__<br />
<br />
== Kategoriebäume ==<br />
<categorytree depth=0>DE</categorytree><br />
<br />
== Verweise über Grafiken ==<br />
1[[File:De flag.jpg]]<br />
2[[File:De flag.jpg|link=DE]]<br />
3[[File:De flag.jpg|30px|link=DE|alt=German Version|title=Deutsche Version]]<br />
4[[File:De flag.jpg|15px|link=DE]]<br />
<br />
== Layouts für DE Startseite ==<br />
* [[/DE0]]<br />
* [[/DE1]]<br />
* [[/DE2]]<br />
* [[/DE3]]<br />
<br />
== Various* tests ==<br />
* [[/InputBox]]<br />
* [[/RichEditor1|Rich Editor]]<br />
<br />
<br />
== Blanks ==<br />
Here is a space width comparison list:<br />
<br />
z.B.z.B.z.B.z.B.z.B. - without<br><br />
z.&thinsp;B.z.&thinsp;B.z.&thinsp;B.z.&thinsp;B.z.&thinsp;B. - &amp;thinsp;<br><br />
z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B. - &lt;small&gt;&amp;nbsp;&lt;/small&gt;<br><br />
z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B. - &lt;sub&gt;&amp;nbsp;&lt;/sub&gt;<br><br />
z. B.z. B.z. B.z. B.z. B. - normal blank<br><br />
z.&nbsp;B.z.&nbsp;B.z.&nbsp;B.z.&nbsp;B.z.&nbsp;B. - &amp;nbsp;<br><br />
z.&ensp;B.z.&ensp;B.z.&ensp;B.z.&ensp;B.z.&ensp;B. - &amp;ensp;<br><br />
z.&emsp;B.z.&emsp;B.z.&emsp;B.z.&emsp;B.z.&emsp;B. - &amp;emsp;<br><br />
<br />
----<br />
<br />
== TEST/Doc/Note works ==<br />
'''when inserted w/o line break:'''<br />
# first point<br />
# second point {{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
----<br />
'''also works like this:'''<br />
# first point<br />
# second point <br />
#: {{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
----<br />
'''and in higher levels:'''<br />
# first point<br />
# second point <br />
## second level/first point {{TEST/Doc/Note|NOTE relating to second point... }}<br />
## second level/second point<br />
# third point<br />
----<br />
# first point<br />
# second point <br />
## second level/first point<br />
##: {{TEST/Doc/Note|NOTE relating to second point... }}<br />
## second level/second point<br />
# third point<br />
<br />
'''The only failure occurs when inserted '''w/o line break''':'''<br />
# first point<br />
# second point <br />
{{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
but this breaks numbering anyway.<br />
<br />
== Documentation/Note does not work ==<br />
<br />
see [[/DocNoteTemplateTest]] as the test breaks wikipage layout<br />
<br />
== Bot Test ==<br />
* [[/bot1test]]<br />
* [[/botätest]]<br />
* [[/bot2test]]</div>
Nnino
https://wiki.openoffice.org/wiki/Documentation/Reused_Topics
Documentation/Reused Topics
2010-07-12T12:38:43Z
<p>Nnino: + category</p>
<hr />
<div>[[Category:Documentation]]<br />
On this page, an overview over reused topics in the User Guides (and other locations?) is planned. Please add missing topics. <br />
<br />
Abbrev.: '''IN''' Install Guide, '''GS''' Getting Started, '''WG''' Writer Guide, '''CG''' Calc Guide, '''IG''' Impress Guide, '''DG''' Draw Guide<br />
<br />
<br />
== General Usage Topics ==<br />
<br />
{| class="wikitable"<br />
! Topic<br />
! Master<br />
! Derived Occurences<br />
! Differences<br />
<br />
|-<br />
| Using Menus <br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Using Toolbars<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Using Styles<br />
| WG<br />
| CG, IG, DG<br />
| differences mainly due to concepts (spreadsheet/slide/object) instead of continuous text<br />
<br />
|-<br />
| Using Templates<br />
| ?WG<br />
| ?<br />
| <br />
<br />
|-<br />
| Keyboard Shortcuts<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Setting Up Options<br />
| ?<br />
| <br />
| <br />
<br />
|-<br />
| Customizing<br />
| ?<br />
| <br />
| <br />
<br />
|}<br />
<br />
<br />
== Advanced Topics ==<br />
<br />
{| class="wikitable sortable"<br />
! Topic<br />
! Master<br />
! Derived Occurences<br />
! Differences<br />
<br />
|-<br />
| Working with Graphics<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| PDF Creation<br />
| ?<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Digital Signatures<br />
| ?<br />
| <br />
| <br />
<br />
|-<br />
| Extensions<br />
| ?<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Math Commands<br />
| [[Template:Math_commands_reference|Wiki Template]]<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|}</div>
Nnino
https://wiki.openoffice.org/wiki/Documentation/Reused_Topics
Documentation/Reused Topics
2010-07-12T12:36:44Z
<p>Nnino: created</p>
<hr />
<div>On this page, an overview over reused topics in the User Guides (and other locations?) is planned. Please add missing topics. <br />
<br />
Abbrev.: '''IN''' Install Guide, '''GS''' Getting Started, '''WG''' Writer Guide, '''CG''' Calc Guide, '''IG''' Impress Guide, '''DG''' Draw Guide<br />
<br />
<br />
== General Usage Topics ==<br />
<br />
{| class="wikitable"<br />
! Topic<br />
! Master<br />
! Derived Occurences<br />
! Differences<br />
<br />
|-<br />
| Using Menus <br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Using Toolbars<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Using Styles<br />
| WG<br />
| CG, IG, DG<br />
| differences mainly due to concepts (spreadsheet/slide/object) instead of continuous text<br />
<br />
|-<br />
| Using Templates<br />
| ?WG<br />
| ?<br />
| <br />
<br />
|-<br />
| Keyboard Shortcuts<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Setting Up Options<br />
| ?<br />
| <br />
| <br />
<br />
|-<br />
| Customizing<br />
| ?<br />
| <br />
| <br />
<br />
|}<br />
<br />
<br />
== Advanced Topics ==<br />
<br />
{| class="wikitable sortable"<br />
! Topic<br />
! Master<br />
! Derived Occurences<br />
! Differences<br />
<br />
|-<br />
| Working with Graphics<br />
| GS<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| PDF Creation<br />
| ?<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Digital Signatures<br />
| ?<br />
| <br />
| <br />
<br />
|-<br />
| Extensions<br />
| ?<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|-<br />
| Math Commands<br />
| [[Template:Math_commands_reference|Wiki Template]]<br />
| WG, ?CG, ?IG, ?DG<br />
| ???<br />
<br />
|}</div>
Nnino
https://wiki.openoffice.org/wiki/Template:InterWiki_Languages_BasicGuide
Template:InterWiki Languages BasicGuide
2010-07-11T09:24:57Z
<p>Nnino: -cs (reverted as most of the including pages are not yet translated)</p>
<hr />
<div>[[en:{{{articletitle}}}]]<br />
[[fr:FR/{{{articletitle}}}]]<br />
[[hu:HU/{{{articletitle}}}]]<br />
[[it:IT/{{{articletitle}}}]]<br />
[[ja:JA/{{{articletitle}}}]]<br />
[[zh:ZH/{{{articletitle}}}]]<br />
<br />
<noinclude><br />
[[Category:Exclude in print|{{PAGENAME}}]]<br />
</noinclude></div>
Nnino
https://wiki.openoffice.org/wiki/Template:InterWiki_Languages_BasicGuide
Template:InterWiki Languages BasicGuide
2010-07-11T09:22:07Z
<p>Nnino: + CS</p>
<hr />
<div>[[cs:CS/{{{articletitle}}}]]<br />
[[en:{{{articletitle}}}]]<br />
[[fr:FR/{{{articletitle}}}]]<br />
[[hu:HU/{{{articletitle}}}]]<br />
[[it:IT/{{{articletitle}}}]]<br />
[[ja:JA/{{{articletitle}}}]]<br />
[[zh:ZH/{{{articletitle}}}]]<br />
<br />
<noinclude><br />
[[Category:Exclude in print|{{PAGENAME}}]]<br />
</noinclude></div>
Nnino
https://wiki.openoffice.org/wiki/DE/Dokumentation/OOo_2.x/Handb%C3%BCcher/Writer-Handbuch/Math-Befehlsverzeichnis
DE/Dokumentation/OOo 2.x/Handbücher/Writer-Handbuch/Math-Befehlsverzeichnis
2010-07-09T12:35:52Z
<p>Nnino: /* Griechische Buchstaben */ mu->my, nu->ny</p>
<hr />
<div>{{DISPLAYTITLE:Math-Befehlsverzeichnis}}<br />
[[en:Documentation/OOoAuthors_User_Manual/Writer_Guide/Math_commands_-_Reference]]<br />
{{DE/Documentation/WriterMathTOC<br />
|ShowPrevNext=block<br />
|PrevPage=../Hilfreiche Zusätze<br />
|NextPage=../Tastenkombinationen<br />
}}<br />
== Unäre/binäre Operatoren ==<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| + Zeichen || +1 || +1<br />
|-<br />
| – Zeichen ||-1 ||&minus;1<br />
|-<br />
| +/– Zeichen ||+-1 ||<math>\pm 1</math><br />
|-<br />
| –/+ Zeichen ||-+1 ||<math>\mp 1</math><br />
|-<br />
| Logisches ''Nicht''||neg a ||''&not;a''<br />
|-<br />
| Addition + ||a + b ||''a+b''<br />
|-<br />
| Multiplikationspunkt ||a cdot b ||''a&middot;b''<br />
|-<br />
| Multiplikation (X) ||a times b ||''a&times;b''<br />
|-<br />
| Multiplikation (*) ||a * b ||''a * b''<br />
|-<br />
| Logisches ''und'' ||a and b ||''a''&and;''b''<br />
|-<br />
| Subtraktion – ||a - b ||''a&minus;b''<br />
|-<br />
| Division (Bruch) ||a over b ||<math>\frac{a}{b}</math><br />
|-<br />
| Division (Operand) ||a div b ||''a&divide;b''<br />
|-<br />
| Division (Schrägstrich)||a / b ||''a/b''<br />
|-<br />
| Logisches ''Oder'' ||a or b ||<math>a \or b</math><br />
|-<br />
| Verkettung ||a circ b ||<math> a \circ b </math><br />
|}<br />
<br />
== Beziehungsoperatoren ==<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| Ist gleich ||a = b ||a=b<br />
|-<br />
| Ist nicht gleich ||a <> b ||a&ne;b<br />
|-<br />
| Ungefähr ||a approx 2 ||a&asymp;2<br />
|-<br />
| Teilt ||a divides b ||<math>a \mid b</math><br />
|-<br />
| Teilt nicht ||a ndivides b ||<math>a \! \nmid \! b</math><br />
|-<br />
| Kleiner als ||a < 2 ||a&lt;2<br />
|-<br />
| Größer als ||a > 2||a&gt;2<br />
|-<br />
| Ist ähnlich oder gleich||a simeq b ||<math>a\! \simeq\! b</math><br />
|-<br />
| Parallel ||a parallel b ||<math>a \!\parallel\! b</math><br />
|-<br />
| Ist senkrecht zu ||a ortho b ||<math>a \!\perp\! b</math><br />
|-<br />
| Kleiner oder gleich||a leslant b ||<math>a \!\leqslant\! b</math><br />
|-<br />
| Größer oder gleich ||a geslant b ||<math>a \!\geqslant\! b</math><br />
|-<br />
| Ist ähnlich zu ||a sim b ||<math>a\!\sim\! b\,\!</math><br />
|-<br />
| Ist kongruent zu ||a equiv b ||a&equiv;b<br />
|-<br />
| Kleiner oder gleich||a <= b ||a&le;b<br />
|-<br />
| Größer oder gleich ||a >= b ||a&ge;b<br />
|-<br />
| Proportional ||a prop b ||<math>a\! \propto\! b</math><br />
|-<br />
| Strebt gegen ||a toward b ||a&rarr;b<br />
|-<br />
| Doppelpfeil nach links||a dlarrow b||a&lArr;b<br />
|-<br />
| Doppelpfeil nach links und rechts||a dlrarrow b||a&hArr;b<br />
|-<br />
| Doppelpfeil nach rechts ||a drarrow b||a&rArr;b<br />
|-<br />
|}<br />
<br />
== Mengenoperationen ==<br />
<br />
{| class="wikitable"<br />
! Operation<br />
! Kommando<br />
! Anzeige<br />
<br />
|-<br />
| Ist Element<br />
| a in B<br />
| <math>a\in B</math><br />
<br />
|-<br />
| Ist nicht Element<br />
| a notin B<br />
| <math>a\notin B</math><br />
<br />
|-<br />
| Enthält<br />
| A owns b<br />
| <math>A\ni b</math><br />
<br />
|-<br />
| Leere Menge<br />
| emptyset<br />
| <math>\varnothing </math><br />
<br />
|-<br />
| Schnittmenge<br />
<br />
| A intersection B<br />
| <math>A\cap B</math><br />
<br />
|-<br />
| Vereinigungsmenge<br />
| A union B<br />
| <math>A\cup B</math><br />
<br />
|-<br />
| Differenz<br />
| A setminus B<br />
| <math>A\setminus B</math><br />
<br />
|-<br />
| Quotient<br />
| A slash B<br />
| <math>A/B</math><br />
<br />
|-<br />
| Aleph<br />
| aleph<br />
| <math>\aleph </math><br />
<br />
|-<br />
| Teilmenge<br />
| A subset B<br />
| <math>A\subset B</math><br />
<br />
|-<br />
| Teilmenge oder gleich<br />
| A subseteq B<br />
| <math>A\subseteq B</math><br />
<br />
|-<br />
| Obermenge<br />
| A supset B<br />
| <math>A\supset B</math><br />
<br />
|-<br />
| Obermenge oder gleich<br />
| A supseteq B<br />
| <math>A\supseteq B</math><br />
<br />
|-<br />
| Nicht Teilmenge<br />
| A nsubset B<br />
| <math>A\not\subset B</math><br />
<br />
|-<br />
| Nicht Teilmenge oder gleich<br />
| A nsubseteq B<br />
| <math>A\nsubseteq B</math><br />
<br />
|-<br />
| Nicht Obermenge<br />
| A nsupset B<br />
| <math>A\not\supset B</math><br />
<br />
|-<br />
| Nicht Obermenge oder gleich<br />
| A nsupseteq B<br />
| <math>A\nsupseteq B</math><br />
<br />
|-<br />
| Menge der natürlichen Zahlen<br />
| setN<br />
| <math>\mathbb{N}</math><br />
<br />
|-<br />
| Menge der ganzen Zahlen<br />
| setZ<br />
| <math>\mathbb{Z}</math><br />
<br />
|-<br />
| Menge der rationalen Zahlen<br />
| setQ<br />
| <math>\mathbb{Q}</math><br />
<br />
|-<br />
| Menge der reellen Zahlen<br />
| setR<br />
| <math>\mathbb{R}</math><br />
<br />
|-<br />
| Menge der komplexen Zahlen<br />
| setC<br />
| <math>\mathbb{C}</math><br />
<br />
|}<br />
== Funktionen ==<br />
<br />
{| class="wikitable"<br />
! Operation<br />
! Kommando<br />
! Anzeige<br />
<br />
|-<br />
| Exponent<br />
| func e^{a}<br />
| <math>{e}^{a}</math><br />
<br />
|-<br />
| Natürlicher Logarithmus<br />
| ln(a)<br />
| <math>\ln (a)</math><br />
<br />
|-<br />
| Exponential Funktion<br />
| exp(a)<br />
| <math>\exp (a)</math><br />
<br />
|-<br />
| Logarithmus<br />
| log(a)<br />
| <math>\log (a)</math><br />
<br />
|-<br />
| Potenzieren<br />
| a^{b}<br />
| <math>{a}^{b}</math><br />
<br />
|-<br />
| Sinus<br />
| sin(a)<br />
| <math>\sin (a)</math><br />
<br />
|-<br />
| Cosinus<br />
| cos(a)<br />
| <math>\cos (a)</math><br />
<br />
|-<br />
| Tangens<br />
| tan(a)<br />
| <math>\tan (a)</math><br />
<br />
|-<br />
| Kotangens<br />
| cot(a)<br />
| <math>\cot (a)</math><br />
<br />
|-<br />
| Quadratwurzel<br />
| sqrt{a}<br />
| <math>\sqrt{a}</math><br />
<br />
|-<br />
| Arcussinus<br />
| arcsin(a)<br />
| <math>\arcsin (a)</math><br />
<br />
|-<br />
| Arcuscosinus<br />
| arccos(a)<br />
| <math>\arccos (a)</math><br />
<br />
|-<br />
| Arcustangens<br />
| arctan(a)<br />
| <math>\arctan (a)</math><br />
<br />
|-<br />
| Arcuscotangens<br />
| arccot(a)<br />
| <math>\mathrm{arccot}(a)</math><br />
<br />
|-<br />
| n-te Wurzel aus<br />
| nroot{a}{b}<br />
| <math>\sqrt[a]{b}</math><br />
<br />
|-<br />
| Hyperbelsinus<br />
| sinh(a)<br />
| <math>\sinh (a)</math><br />
<br />
|-<br />
| Hyperbelcosinus<br />
| cosh(a)<br />
| <math>\cosh (a)</math><br />
<br />
|-<br />
| Hyperbeltangens<br />
| tanh(a)<br />
| <math>\tanh (a)</math><br />
<br />
|-<br />
| Hyperbelcotangens<br />
| coth(a)<br />
| <math>\coth (a)</math><br />
<br />
|-<br />
| Absolutwert<br />
| abs{a}<br />
| <math>\left|a\right|</math><br />
<br />
|-<br />
| Hyperbelarcussinus<br />
| arsinh(a)<br />
| <math>\mathrm{arsinh}(a)</math><br />
<br />
|-<br />
| Hyperbelarcuscosinus<br />
| arccosh(a)<br />
| <math>\mathrm{arcosh}(a)</math><br />
<br />
|-<br />
| Hyperbelarcustangens<br />
| arctanh(a)<br />
| <math>\mathrm{artanh}(a)</math><br />
<br />
|-<br />
| Hyperbelarcuscotangens<br />
| arccoth(a)<br />
| <math>\mathrm{arcoth}(a)</math><br />
<br />
|-<br />
| Fakultät<br />
| fact(a)<br />
| <math>a!</math><br />
<br />
|}<br />
== Operatoren ==<br />
Alle Operatoren können mit der „Grenzfunktion“ benutzt werden („from“ und „to“).<br />
<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| Limes || lim(a) || <math>\lim a</math><br />
|-<br />
| Summe || sum(a) || <math>\sum a</math><br />
|-<br />
| Produkt || prod(a) || <math>\prod a</math><br />
|-<br />
| Coprodukt || coprod(a) || <math>\coprod a</math><br />
|-<br />
| Untere und obere Grenze mit dem Integral anzeigen || int from {r_0} to {r_t} a || <math>\underset{{r}_{0}}{\overset{{r}_{t}}{\int }}a</math><br />
|-<br />
| Integral || int{a} || <math>\int{a}</math><br />
|-<br />
| Doppeltes Integral || iint{a} || <math>\iint{a}</math><br />
|-<br />
| Dreifaches Integral || iiint{a} || <math>\iiint{a}</math><br />
|-<br />
| Untere Grenze mit Summenzeichen anzeigen || sum from{3}b | <math>\sum_3{b}\,\!</math><br />
|-<br />
| Kurvenintegral || lint a || <math>\oint a</math><br />
|-<br />
| Doppeltes Kurvenintegral || llint a || [[Image:Math_l2inta.png]]<br />
|-<br />
| Dreifaches Kurvenintegral || lllint a || [[Image:Math_l3inta.png]]<br />
|-<br />
| Produktsymbol mit Grenzen || prod from {i=1} to {n} {(i+1)} || <math>\prod_{i=1}^{n}{(i+1)}</math><br />
|}<br />
<br />
== Attribute ==<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| Akzent nach rechts (accent aigu) || acute a || <math>\acute{a}</math><br />
|-<br />
| Akzent nach links (accent grave) || grave a || <math>\grave{a}</math><br />
|-<br />
| Umgekehrtes Dach || check a || <math>\check{a}</math><br />
|-<br />
| Breve || breve a || <math>\breve{a}</math><br />
|-<br />
| Kreis || circle a || <math>\overset{\circ}{a}</math><br />
|-<br />
| Vektorpfeil || vec a || <math>\vec{a}</math><br />
|-<br />
| Tilde || tilde a || <math>\tilde{a}</math><br />
|-<br />
| Dach || hat a || <math>\widehat{a}</math><br />
|-<br />
| Überstrich || bar a || <math>\bar{a}</math><br />
|-<br />
| Punkt || dot a || <math>\dot{a}</math><br />
|-<br />
| Großer Vektorpfeil || widevec abc || <math>\overrightarrow{\mathrm{abc}}</math><br />
|-<br />
| Große Tilde || widetilde abc || [[image:Math Widetilde.png|x28px|bottom]]<!-- TeX function not available in WM 1.15 --><br />
|-<br />
| Großes Dach || widehat abc || <math>\widehat{\mathrm{abc}}</math><br />
|-<br />
| Doppelter Punkt || ddot a || <math>\ddot{a}</math><br />
|-<br />
| Linie über || overline abc || <math>\overline{\mathrm{abc}}</math><br />
|-<br />
| Linie unter || underline abc || <math>\underline{\mathrm{abc}}</math><br />
|-<br />
| Linie durch || overstrike abc || ''<s>abc</s>''<br />
|-<br />
| Dreifacher Punkt || dddot a || <math>\stackrel{\cdots }{a}</math><br />
|-<br />
| Transparent (wird benutzt, um einen Platzhalter in einer vorgegebenen Größe zu erhalten) || phantom a || <br />
|-<br />
| Fettschrift || bold a || <math>\bold{a}</math><br />
<br />
|-<br />
| Kursivschrift<ref name="ftn1">Text ohne Anführungszeichen, der auch kein Kommando ist, ist per Standardeinstellung als Variable definiert. Variablen werden kursiv dargestellt.</ref><br />
| ital “a”<br />
| <math>\mathit{a}\,\!</math><br />
<br />
|-<br />
| Schriftgröße ändern || size 16 qv || <span style="font-size:16pt">''qv''</span><br />
<br />
|-<br />
| Folgenden Text in einer serifenlosen Schrift<ref name="ftn2">Es gibt drei übliche Schriftarten: Sans Serif (ohne Serifen), Serifs (mit Serifen), und fest (nicht proportional). Um die aktuelle Schriftart für die Variablen und die „normalen“ Formeln, Nummern und Funktionen festzulegen, benutzen Sie den Menüeintrag '''Format > Schriftarten.'''</ref><br />
| font sans qv<br />
| <span style="font-family:Arial, sans-serif">''qv''</span><br />
<br />
|-<br />
| Folgenden Text in einer Serifenschrift || font serif qv || <math>\mathrm{qv}</math><br />
|-<br />
| Folgenden Text in einer Schrift mit fester Breite || font fixed qv || ''<tt>qv</tt>''<br />
<br />
|-<br />
| Farbe des nachfolgenden Textes Cyan<ref name="ftn3">Zur Benutzung von Farben: Die Farbfestlegung gilt nur für den Text, der unmittelbar nach dem Kommando folgt. Nach dem nächsten Leerschritt ist die Farbfestlegung wieder aufgehoben. Wenn die Farbfestlegung für mehrere Buchstaben/Zeichen gelten soll, dann schreiben Sie den farbig vorgesehenen Text in geschweifte Klammern.</ref><br />
| color cyan qv<br />
| <math>\color{Cyan}qv</math><br />
<br />
|-<br />
| Farbe des nachfolgenden Textes Gelb || color yellow qv || <math>\color{Yellow}qv</math><br />
|-<br />
| Farbe des nachfolgenden Textes Weiß || color white qv || <math>\color{White}qv</math><br />
|-<br />
| Farbe des nachfolgenden Textes Grün || color green qv || <math>\color{Green}qv</math><br />
|-<br />
| Farbe des nachfolgenden Textes Blau || color blue qv || <math>\color{Blue}qv</math><br />
|-<br />
| Farbe des nachfolgenden Textes Rot || color red qv || <math>\color{Red}qv</math><br />
<br />
|-<br />
| Farbe des nachfolgenden Textes Grün und anschließend zur Standardfarbe Schwarz zurückkehren<br />
| color green X qv<br />
| <math>\color{Green}X \color{Black}qv</math><br />
<br />
|-<br />
| Klammern setzen, um bei mehr als einem Element die Farbe zu ändern || color green {X qv} || <math>\color{Green}{X qv}</math><br />
<br />
|}<br />
<br />
'''Anmerkungen:'''<br />
<references/><br />
<br />
== Verschiedenes ==<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| Unendlich || infinity || <math>\infty </math><br />
|-<br />
| Partial || partial || <math>\partial </math><br />
|-<br />
| Nabla || nabla || <math>\nabla </math><br />
|-<br />
| Existiert || exists || <math>\exists </math><br />
|-<br />
| Für alle || forall || <math>\forall </math><br />
|-<br />
| H quer || hbar a || <math>\hslash a</math><br />
|-<br />
| Lambda quer || lambdabar || <math>\lambda\!\!\!{}^{-}</math><br />
|-<br />
| Realteil || re || <math>\Re </math><br />
|-<br />
| Imaginärteil || im || <math>\Im </math><br />
|-<br />
| Weierstress p || wp || <math>\wp </math><br />
|-<br />
| Pfeil nach links || leftarrow || <math>\leftarrow </math><br />
|-<br />
| Pfeil nach rechts || rightarrow || <math>\rightarrow </math><br />
|-<br />
| Pfeil nach oben || uparrow || <math>\uparrow </math><br />
|-<br />
| Pfeil nach unten || downarrow || <math>\downarrow </math><br />
|-<br />
| Punkte unten || dotslow || <math>\dots </math><br />
|-<br />
| Punkte mittig || dotsaxis || <math>\cdots </math><br />
|-<br />
| Punkte vertikal || dotsvert || <math>\vdots </math><br />
|-<br />
| Punkte schräg nach oben || dotsup || [[Image:Math_dotsup.png]]<br />
|-<br />
| Punkte schräg nach unten || dotsdown || <math>\ddots </math><br />
|}<br />
<br />
== Klammern ==<br />
<br />
{| class="wikitable"<br />
! Operation<br />
! Kommando<br />
! Anzeige<br />
<br />
|-<br />
| Runde Klammern<br />
| (a)<br />
| <math>(a)</math><br />
<br />
|-<br />
| Eckige Klammern<br />
| <nowiki>[b]</nowiki><br />
| <math>\lbrack b\rbrack </math><br />
<br />
|-<br />
| Doppelte eckige Klammern<br />
| ldbracket c rdbracket<br />
| <math>[\![c]\!]</math><br />
<br />
|-<br />
| Einfache Linien<br />
| lline a rline<br />
| <math>|a|</math><br />
<br />
|-<br />
| Doppelte Linien<br />
| ldline a rdline<br />
| <math>\parallel a\parallel </math><br />
<br />
|-<br />
| Geschweifte Klammern<br />
| lbrace w rbrace<br />
| <math>\lbrace w\rbrace </math><br />
<br />
|-<br />
| Spitze Klammern<br />
| langle d rangle<br />
| <math>\langle d\rangle </math><br />
<br />
|-<br />
| Operatorklammern<br />
| langle a mline b rangle<br />
| <math>\langle a|b\rangle </math><br />
<br />
|-<br />
| Gruppierungsklammern (zur Programmkontrolle benutzt, nicht angezeigt)<br />
| {a}<br />
| <math>a</math><br />
<br />
|-<br />
| Skalierbare runde Klammern (fügen Sie das Wort „left“ vor einer linken Klammer und „right“ vor einer rechten Klammer ein)<br />
| left ( stack{a # b # z} right )<br />
| <math>\left(\begin{array}{c}a\\<br />
b\\ <br />
z\end{array}\right)</math><br />
<br />
|-<br />
| Skalierbare eckige Klammern(wie zuvor beschrieben)<br />
| left<nowiki> [ </nowiki>stack{ x # y} right ]<br />
| <math>\left\lbrack \begin{array}{c}x\\<br />
y\end{array}\right\rbrack </math><br />
<br />
|-<br />
| Skalierbare doppelte eckige Klammern<br />
| left ldbracket c right rdbracket<br />
| <math>[\![c]\!]</math><br />
<br />
|-<br />
| Skalierbare Linien<br />
| left lline a right rline<br />
| <math>\left|a\right|</math><br />
<br />
|-<br />
| Skalierbare doppelte Linien<br />
| left ldline d right rdline<br />
| <math>\parallel d\parallel </math><br />
<br />
|-<br />
| Skalierbare geschweifte Klammern<br />
| left lbrace e right rbrace<br />
| <math>\left\lbrace e\right\rbrace </math><br />
<br />
|-<br />
| Skalierbare spitze Klammern<br />
| left langle f right rangle<br />
| <math>\langle f\rangle </math><br />
<br />
|-<br />
| Skalierbare Operatorklammern<br />
| left langle g mline h right rangle<br />
| <math>\langle g|h\rangle </math><br />
<br />
|-<br />
| Skalierbare geschweifte Klammer oberhalb<br />
| overbrace a<br />
| <math>\stackrel{a}{\overbrace{\mathrm{Die}\mathrm{Klammer}\mathrm{ist}\mathrm{oben}}}</math><br />
<br />
|-<br />
| Skalierbare geschweifte Klammer unterhalb<br />
| underbrace {f}<br />
| <math>\underset{f}{\underbrace{\mathrm{Die}\mathrm{Klammer}\mathrm{ist}\mathrm{unten}}}</math><br />
<br />
|}<br />
== Formate ==<br />
<br />
{| class="wikitable"<br />
! Operation || Kommando || Anzeige<br />
|-<br />
| Links hochgestellt || a lsup{b} || <math>{}^{b}a</math><br />
|-<br />
| Zentriert hochgestellt || a csup{b} || <math>\stackrel{b}{a}</math><br />
|-<br />
| Rechts hochgestellt || a^{b} || <math>{a}^{b}</math><br />
|-<br />
| Links tiefgestellt || a lsub{b} || <math>{}_{b}a</math><br />
|-<br />
| Zentriert tiefgestellt || a csub{b} || <math>\underset{b}{a}</math><br />
|-<br />
| Rechts tiefgestellt || a_{b} || <math>{a}_{b}</math><br />
<br />
|-<br />
| Text linksbündig (Text ist standardmäßig zentriert) || stack { Hello world # alignl (a) } ||<br />
{|<br />
|align="left"|''Hello world<br>(a)''<br />
|}<br />
<br />
|-<br />
| Text zentrieren || stack{Hello world # alignc(a)} ||<br />
{|<br />
|align="center"|''Hello world<br>(a)''<br />
|}<br />
<br />
|-<br />
| Text rechtsbündig || stack { Hello world # alignr(a)} ||<br />
{|<br />
|align="right"|''Hello world<br>(a)''<br />
|}<br />
<br />
|-<br />
| Vertikale Anordnung von 2&nbsp;Elementen || binom{a}{b} || <math>\begin{array}{c}a\\<br />
b\end{array}</math><br />
|-<br />
| Vertikale Anordnung von mehr als 2 Elementen || stack{a # b # z} || <math>\begin{array}{c}a\\<br />
b\\ <br />
z\end{array}</math><br />
|-<br />
| Matrix-Anordnung || matrix{a # b ## c # d} || <math>\begin{array}{cc}a& b\\<br />
c& d\end{array}</math><br />
|-<br />
| Ausrichtung am Gleichheitszeichen || matrix{a # "="b ## {} # "="c} || <math>\begin{array}{cc}a& \text{=}b\\<br />
& \text{=}c\end{array}</math><br />
|-<br />
| Neue Zeile || asldkfjo newline sadkfj || <math>\begin{array}{c}\mathrm{asldkfjo}\\<br />
\mathrm{sadkfj}\end{array}</math><br />
|-<br />
| Kleiner Zwischenraum (Apostroph) || stuff `stuff || <math>{stu\!f\!\!f} ~ {stu\!f\!\!f}</math><br />
|-<br />
| Großer Zwischenraum (Tilde) || stuff~stuff || <math>{stu\!f\!\!f} \quad {stu\!f\!\!f}</math><br />
|}<br />
<br />
== Griechische Buchstaben ==<br />
<br />
{| class="wikitable"<br />
!Code || Anzeige || Code || Anzeige || Code || Anzeige || Code || Anzeige || Code || Anzeige<br />
|-<br />
| %ALPHA||''&Alpha;''||%BETA ||''&Beta;'' ||%CHI ||''&Chi;''||%DELTA||''&Delta;''||%EPSILON||''&Epsilon;''<br />
|-<br />
| %ETA ||''&Eta;'' ||%GAMMA||''&Gamma;''||%IOTA||''&Iota;''||%KAPPA||''&Kappa;''||%LAMBDA||''&Lambda;''<br />
|-<br />
| %My ||''&Mu;''||%Ny||''&Nu;''||%OMEGA||''&Omega;''||%OMICRON||''&Omicron;''||%PHI||''&Phi;''<br />
|-<br />
| %PI ||''&Pi;''||%PSI||''&Psi;''||%RHO||''&Rho;''||%SIGMA||''&Sigma;''||%THETA||''&Theta;''<br />
|-<br />
| %UPSILON||''&Upsilon;''||%XI||''&Xi;''||%ZETA||''&Zeta;''||||||||<br />
|-<br />
| %alpha||''&alpha;''||%beta||''&beta;''||%chi||''&chi;''||%delta||''&delta;''||%epsilon||&epsilon;<br />
|-<br />
| %eta ||''&eta;''||%gamma||''&gamma;''||%iota||''&iota;''||%kappa||''&kappa;''||%lambda||''&lambda;''<br />
|-<br />
| %my ||''&mu;''||%ny||''&nu;''||%omega||''&omega;''||%omicron||''&omicron;''||%phi||''&phi;''<br />
|-<br />
| %pi ||''&pi;''||%rho||''&rho;''||%sigma||''&sigma;''||%tau||''&tau;''||%theta||''&theta;''<br />
|-<br />
| %upsilon||''&upsilon;''||%varepsilon||<math>\varepsilon</math>||%varphi||<math>\varphi</math>||%varpi||<math>\varpi</math>||%varrho||<math>\varrho</math><br />
|-<br />
| %varsigma||<math>\varsigma</math>||%vartheta||<math>\vartheta</math>||%xi||''&xi;''||%zeta||''&zeta;''<br />
|}<br />
<br />
== Spezielle Zeichen ==<br />
<br />
{| class="wikitable"<br />
| %and <math>\and</math>||%angle <math>\angle</math>||%element <math>\in</math>||%identical <math>\equiv\,\!</math><br />
|-<br />
| %infinite <math>\infin\,\!</math>||%noelement <math>\notin</math>||%notequal <math>\ne\,\!</math>||%or <math>\or</math><br />
|-<br />
| %perthousand '''&permil;''' || %strictlygreaterthan <math>\gg</math> ||%strictlylessthan <math>\ll</math> ||%tendto <math>\to\,\!</math><br />
|-<br />
|}<br />
<br />
<br />
----<br />
<references/><br />
<br />
<br />
<br />
<!------------------------------------------------------------------------------------<br />
# Hinweis am Seitenende: #<br />
# Die nachfolgende Vorlageneinbindung enthält den Lizenzhinweis für diese Seite #<br />
# und sollte daher nicht entfernt werden. #<br />
# Unterhalb dieses Hinweises bitte keine Veränderungen vornehmen. #<br />
-------------------------------------------------------------------------------------><br />
{{DE/Documentation/Writer-Guide2}}</div>
Nnino
https://wiki.openoffice.org/wiki/Engineering_and_SI_Number_Format_in_Calc
Engineering and SI Number Format in Calc
2010-07-06T19:10:38Z
<p>Nnino: /* References */</p>
<hr />
<div>{{User Experience Community}}=Explanation of Notations=<br />
The following is a short description of all the number formats to be discussed here.<br />
==Engineering Notation==<br />
This type of notation is an offshoot of Scientific Notation. The difference is that the exponent is only shown in multiples of 3. Thus a number such as 153,100 becomes 153.1E+3 in Engineering notation<ref>see [http://en.wikipedia.org/wiki/Engineering_notation "Engineering Notation" in Wikipedia]</ref> instead of 1.531E+5 in scientific.<br />
==SI Notation==<br />
This is what's known as SI Prefix<ref>see [http://en.wikipedia.org/wiki/SI_prefix "SI prefix" in Wikipedia]</ref> notation. Similar to Engineering Notation the exponent also runs in multiples of 3 (usually), but the difference is that instead of showing the E+/- notation a symbol is given for each exponent. E.g. 153,100 in SI notation would be 153.1k.<br />
==Binary Prefix Notation==<br />
This is very similar to SI, but is intended for use when referring to sizes of data storage. Binary Prefix<ref>see [http://en.wikipedia.org/wiki/Binary_prefix "Binary prefix" in Wikipedia]</ref> Notation works in much a similar way, but is not calculated using 10 as a multiple (as with Scientific). Rather the closest matching power of 2 is used. Thus instead of 1000 we get 1024. As a convention similar symbols to SI is used, but with an "i" suffix to distinguish then. E.g. 153,100 in Binary Prefix Notation would become 149.51Ki.<br />
=Examples from other software=<br />
Example of how other software handle these formats.<br />
==Engineering Notation in Microsoft Excel 2003==<br />
[[File:Excel2003_custom_notation.png]]<br />
=Format Strings=<br />
Each number format requires a format string to indicate not just what type of format to use, but also details as per how many decimals to display. In all numeric notations the format string could indicate how many digits to display for the fraction portion of the number. E.g. 0.00+E0 would force a 2 decimal fraction if needed or not.<br />
==Engineering Notation==<br />
The Excel format string for engineering notation is similar to the scientific notation, except that it starts with 3 hashes (#). See the sample above. The current scientific notation in both Excel and OOo Calc is the same except for this point. Both use E+ to indicate exponent notation. The digit(s) after this indicate how many digits to use for the exponent. E.g. 0.0+E000 would force 3 digits for the exponent, if not needed it becomes padded with zeros. A further use of the Excel format string is that not only normal engineering notation is possible, but also notation in other multiples. E.g. ####E+0 would format 153,100 as 15.310E+4.<br />
<br />
An alternative mentioned would be to substitute F for E instead. In this case ###.000E+00 would be equivalent to 0.000F+0.<br />
==SI Notation==<br />
There is (yet) no sample format string for this. Therefore we need to decide on one. A proposed idea would be to use a S to force SI notation. E.g. 0.00S. There's has one problem as the s is also used to denote seconds when formatting numbers as time units. So a different character should be used. Thus not one of the following already used: A, D, E, H, I, M, P, S, Y. A suggestion would be T stemming from the 1st non-used letter in the word meTric.<br />
==Binary Prefix Notation==<br />
Simple really, use B as for SI. It's not used in any other normal format.<br />
==Language Specific==<br />
Further to the above, it may be necessary to have language specific codes for these. More discussion is necessary.<br />
<br />
=Sample Implementations=<br />
[[File:EngSIFormula.ods]] contains custom formula to convert numbers to formatted text in the engineering-, SI- and binary notations. To use enable macros when opening as the formula are written in embedded sBasic.<br />
<br />
= File Format =<br />
'''TODO:''' how to persistently store the feature in various file formats.<br />
== ODF ==<br />
== OOXML ==<br />
== .xls and .doc binary formats ==<br />
=References=<br />
<references /><br />
<br />
=See Also=<br />
*[http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Number_Formats Number Formats Class Documentation]<br />
*[http://api.openoffice.org/docs/common/ref/com/sun/star/util/NumberFormats.html Number Formats API]<br />
<br />
[[Category:Calc]]<br />
[[Category:To-Do]]<br />
[[Category:Feature]]<br />
[[Category:Draft]]</div>
Nnino
https://wiki.openoffice.org/wiki/Engineering_and_SI_Number_Format_in_Calc
Engineering and SI Number Format in Calc
2010-07-06T19:09:56Z
<p>Nnino: testing references</p>
<hr />
<div>{{User Experience Community}}=Explanation of Notations=<br />
The following is a short description of all the number formats to be discussed here.<br />
==Engineering Notation==<br />
This type of notation is an offshoot of Scientific Notation. The difference is that the exponent is only shown in multiples of 3. Thus a number such as 153,100 becomes 153.1E+3 in Engineering notation<ref>see [http://en.wikipedia.org/wiki/Engineering_notation "Engineering Notation" in Wikipedia]</ref> instead of 1.531E+5 in scientific.<br />
==SI Notation==<br />
This is what's known as SI Prefix<ref>see [http://en.wikipedia.org/wiki/SI_prefix "SI prefix" in Wikipedia]</ref> notation. Similar to Engineering Notation the exponent also runs in multiples of 3 (usually), but the difference is that instead of showing the E+/- notation a symbol is given for each exponent. E.g. 153,100 in SI notation would be 153.1k.<br />
==Binary Prefix Notation==<br />
This is very similar to SI, but is intended for use when referring to sizes of data storage. Binary Prefix<ref>see [http://en.wikipedia.org/wiki/Binary_prefix "Binary prefix" in Wikipedia]</ref> Notation works in much a similar way, but is not calculated using 10 as a multiple (as with Scientific). Rather the closest matching power of 2 is used. Thus instead of 1000 we get 1024. As a convention similar symbols to SI is used, but with an "i" suffix to distinguish then. E.g. 153,100 in Binary Prefix Notation would become 149.51Ki.<br />
=Examples from other software=<br />
Example of how other software handle these formats.<br />
==Engineering Notation in Microsoft Excel 2003==<br />
[[File:Excel2003_custom_notation.png]]<br />
=Format Strings=<br />
Each number format requires a format string to indicate not just what type of format to use, but also details as per how many decimals to display. In all numeric notations the format string could indicate how many digits to display for the fraction portion of the number. E.g. 0.00+E0 would force a 2 decimal fraction if needed or not.<br />
==Engineering Notation==<br />
The Excel format string for engineering notation is similar to the scientific notation, except that it starts with 3 hashes (#). See the sample above. The current scientific notation in both Excel and OOo Calc is the same except for this point. Both use E+ to indicate exponent notation. The digit(s) after this indicate how many digits to use for the exponent. E.g. 0.0+E000 would force 3 digits for the exponent, if not needed it becomes padded with zeros. A further use of the Excel format string is that not only normal engineering notation is possible, but also notation in other multiples. E.g. ####E+0 would format 153,100 as 15.310E+4.<br />
<br />
An alternative mentioned would be to substitute F for E instead. In this case ###.000E+00 would be equivalent to 0.000F+0.<br />
==SI Notation==<br />
There is (yet) no sample format string for this. Therefore we need to decide on one. A proposed idea would be to use a S to force SI notation. E.g. 0.00S. There's has one problem as the s is also used to denote seconds when formatting numbers as time units. So a different character should be used. Thus not one of the following already used: A, D, E, H, I, M, P, S, Y. A suggestion would be T stemming from the 1st non-used letter in the word meTric.<br />
==Binary Prefix Notation==<br />
Simple really, use B as for SI. It's not used in any other normal format.<br />
==Language Specific==<br />
Further to the above, it may be necessary to have language specific codes for these. More discussion is necessary.<br />
<br />
=Sample Implementations=<br />
[[File:EngSIFormula.ods]] contains custom formula to convert numbers to formatted text in the engineering-, SI- and binary notations. To use enable macros when opening as the formula are written in embedded sBasic.<br />
<br />
= File Format =<br />
'''TODO:''' how to persistently store the feature in various file formats.<br />
== ODF ==<br />
== OOXML ==<br />
== .xls and .doc binary formats ==<br />
=References=<br />
{{Reflist}}<br />
<br />
=See Also=<br />
*[http://wiki.services.openoffice.org/wiki/Documentation/DevGuide/OfficeDev/Number_Formats Number Formats Class Documentation]<br />
*[http://api.openoffice.org/docs/common/ref/com/sun/star/util/NumberFormats.html Number Formats API]<br />
<br />
[[Category:Calc]]<br />
[[Category:To-Do]]<br />
[[Category:Feature]]<br />
[[Category:Draft]]</div>
Nnino
https://wiki.openoffice.org/wiki/Keyboard_Shortcuts_Specification_Guidelines
Keyboard Shortcuts Specification Guidelines
2010-06-30T08:20:36Z
<p>Nnino: corrected internal link syntax</p>
<hr />
<div><div style="float:left; width:100px:"><br />
= Scope =<br />
<br />
<br />
This page gives some hints for specifying new keyboard shortcuts.<br />
The addressees are UX people, developers, QA people and all those who contribute in an I-Team to the redaction of a specification.<br />
<br />
'''WARNING''': most of the time it will not be possible to fulfill all requirements at the same time but the specification of a shortcut should have reviewed ALL requirements and note the known conflicts, technical gaps.<br />
<br />
<br />
'''Possible conflicts and influence areas around keyboard shortcuts'''<br />
<br />
[[image:Shortcutcloud.jpg]]<br />
<br />
= How to choose a shortcut =<br />
== The "mnemonic effect" ==<br />
Take, if possible, the first letter of the function name ('''C'''opy, '''O'''pen...) or a letter which "brands" this name (e'''X'''ecute, po'''W'''er)<br />
<br />
== Interoperability & Integration ==<br />
What do competitors or the operating systems use when they have the same function?<br />
<br />
= Possible Conflicts and Influence Areas =<br />
<br />
== Internal Consistency ==<br />
<br />
Take care about the consistency of a shortcut across every OOo applications which share the same functions.<br />
<br />
if a function exists in Writer, Calc, Impress, it should have the same shortcut.<br />
<br />
Have a look at "Tools - Customize - Shortcuts" for every application to compare the mapping, see what is in use and is not.<br />
<br />
But don't trust blindly this dialog! Some shortcuts are unfortunately hard coded and don't appear there! *Try* the shortcut in the application.<br />
<br />
== External Consistency ==<br />
=== Interoperability ===<br />
<br />
Take care about the consistency of the shortcut vs competitors' similar applications and functions.<br />
<br />
=== Integration ===<br />
<br />
Take care about the consistency of the shortcut vs "standard" operating systems'/window managers' shortcut with similar functions.<br />
<br />
Think *multi platform*: Linux (KDE, Gnome...), Solaris, Windows, MAC (cmd vs. ctrl)<br />
Avoid collisions with system shortcuts<br />
<br />
== Localization ==<br />
<br />
Some shortcuts have been localized (See: http://specs.openoffice.org/g11n/menus/LocalizedShortcuts.sxw).<br />
<br />
Respect the existing localization before moving any existing shortcut or even creating new ones by analogy (with the existing English terms).<br />
<br />
Ex: provided a new function "Open Document Read-Only".<br />
<br />
It could be smart to think about Ctrl+Shift+O by analogy with Ctrl+O.<br />
<br />
This is good but not enough... Think about the Localization and check that e.g. in Spanish "Open" is "Abrir" hence "Ctrl+A" so that it might be clever to localize to Ctrl+Shift+A...<br />
<br />
== Useful links ==<br />
* [http://developer.kde.org/documentation/standards/kde/style/keys/shortcuts.html KDE Standard shortcuts]<br />
* [http://msdn.microsoft.com/en-us/library/bb545460.aspx Guideline for user interaction with your MS Win applications]<br />
* [http://support.apple.com/kb/HT1343 Mac OS X keyboard shortcuts]<br />
* [http://www.novell.com/coolsolutions/tip/2289.html Gnome / KDE Keyboard Shortcuts]<br />
* [[Mnemonics Localisation]]<br />
<br />
</div><br />
[[Category:Specification Guidelines]][[Category:Specification]][[Category:Shortcut]]</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/FAQ
User:Nnino/Drafts/FAQ
2010-06-05T11:00:55Z
<p>Nnino: Unterpunkt ergänzt</p>
<hr />
<div>(Dies ist nur eine Füllseite für die Breadcrumb-Navigation auf den Unterseiten)<br />
<br />
<br />
'''Unterseiten:'''<br />
* [[/OOo barrierefrei|barrierefreie Zugänglichkeit]]</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/FAQ/OOo_barrierefrei
User:Nnino/Drafts/FAQ/OOo barrierefrei
2010-06-05T10:57:29Z
<p>Nnino: draft created</p>
<hr />
<div>{{DE/Translation in Progress|}}<br />
<br />
=== Allgemein ===<br />
* [[/Installation|Installation von OpenOffice.org 3.2]]<br />
* [[/Barrierefreie Werkzeuge aktivieren|Wie können Zugänglichkeitswerkzeuge in OOo aktiviert werden?]]<br />
* [[/OOo Hilfe barrierefrei|Wie kann die Hilfe barrierefrei zugänglich gemacht werden?]]<br />
<br />
=== Calc ===<br />
<br />
* [[FR/FAQ/Accessibilite/Calc/001 | Abréviations utilisées pour les touches du clavier]] <br />
* [[FR/FAQ/Accessibilite/Calc/002 | Lancement de l'application]]<br />
* [[FR/FAQ/Accessibilite/Calc/003 | Présentation d'un classeur]]<br />
* [[FR/FAQ/Accessibilite/Calc/004 | Présentation de l'application]]<br />
* [[FR/FAQ/Accessibilite/Calc/005 | Utilisation de l'aide]]<br />
* [[FR/FAQ/Accessibilite/Calc/006 | Arrêt de l'application]]<br />
* [[FR/FAQ/Accessibilite/Calc/007 | Enregistrement d'un classeur]]<br />
* [[FR/FAQ/Accessibilite/Calc/008 | Déplacement dans une feuille de calcul]]<br />
* [[FR/FAQ/Accessibilite/Calc/009 | Entrée et modification du contenu d'une cellule]]<br />
* [[FR/FAQ/Accessibilite/Calc/010 | Mise en forme du format d'une colonne]]<br />
* [[FR/FAQ/Accessibilite/Calc/011 | Nom d'une cellule]]<br />
* [[FR/FAQ/Accessibilite/Calc/012 | Sélection]]<br />
* [[FR/FAQ/Accessibilite/Calc/013 | Reproduction d'une donnée]]<br />
* [[FR/FAQ/Accessibilite/Calc/014 | Insertion et suppression]]<br />
* [[FR/FAQ/Accessibilite/Calc/015 | Référence d'une cellule]]<br />
* [[FR/FAQ/Accessibilite/Calc/016 | Mise en forme du contenu d'une cellule]]<br />
* [[FR/FAQ/Accessibilite/Calc/017 | Fusion de cellules]]<br />
* [[FR/FAQ/Accessibilite/Calc/018 | Supprimer ou effacer du contenu de cellule]]<br />
* [[FR/FAQ/Accessibilite/Calc/019 | Les formules]]<br />
* [[FR/FAQ/Accessibilite/Calc/020 | Manipulation sur les feuilles de calcul]]<br />
* [[FR/FAQ/Accessibilite/Calc/021 | Impression]]<br />
* [[FR/FAQ/Accessibilite/Calc/022 | Tri et filtrage dans une feuille de calcul]]<br />
* [[FR/FAQ/Accessibilite/Calc/023 | Macro commande]]</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/FAQ/OOo_barrierefrei/Installation
User:Nnino/Drafts/FAQ/OOo barrierefrei/Installation
2010-06-05T10:56:33Z
<p>Nnino: draft created</p>
<hr />
<div>{{DE/Translation in Progress| // Anm.d.Ü.: mein Französisch ist leider über 30 Jahre alt, Verbesserungen daher willkommen}}<br />
<br />
== Einführung ==<br />
Das Ursprungsdokument stammt von Sylvain GRILLE lizenziert unter CC-By-Sa und Art Libre. Die französische Fassung wurde durch Sophie Gautier (mit Zustimmung des Autors) aufbereitet. <br />
<br />
Die Installation wird mit dem NVDA-Leser durchgeführt.<br />
<br />
Diese Anleitung bezieht sich auf einen PC mit Windows XP und ServicePack 3. <br />
<br />
== Download ==<br />
=== OpenOffice.org ===<br />
* Öffnen Sie zum Download die Adresse http://de.openoffice.org in Ihrem Browser<br />
* Folgen Sie dem Link "Download - Die aktuelle Version 3.2.1" (http://de.openoffice.org/downloads/download.html?version=3.2.1)<br />
* Klicken Sie zum Download auf den Link "???" (genauer Link muss noch nachgetragen werden, da ich im Moment keine Windows-Box zur Verfügung habe)<br />
* Speichern Sie die heruntergeladene Datei in einem Ordner Ihrer Wahl.<br />
<br />
On se rend sur le site dont l'adresse est : http://fr.openoffice.org/ Sur cette page, on valide sur le lien : télécharger OpenOffice.org version : 3.2.0 (FR) Sur la nouvelle page, on valide sur le lien : avec JAVA inclus Dans la boîte de dialogue qui s'ouvre, on valide sur le bouton « enregistrer le fichier ». Alt+Tab fait accéder à la boîte de dialogue de téléchargement : le fichier s'appelle Ooo_3.2.0_Win32Intel_install_wJRE_fr.exe Avant de tabuler pour aller valider sur le bouton « enregistrer », on n'oublie pas de vérifier le dossier de destination.<br />
<br />
=== Java Access Bridge ===<br />
Sur la page d'accueil du site de NVDA dont l'adresse est http://www.nvda.fr, on valide sur le lien NVDA et Open Office. Sur la nouvelle page, on valide sur le lien télécharger la passerelle d'accessibilité Java « Access Bridge ». Dans la boîte de dialogue qui s'ouvre, on tabule pour aller valider sur le bouton « enregistrer le fichier ». Alt+Tab place dans la boîte de dialogue « enregistrer sous ». Le fichier téléchargé s'appelle accessbridge-2_0_1.exe et on mémorise le dossier de destination de ce fichier.<br />
<br />
== Installation von OpenOffice.org ==<br />
A l'aide d'un explorateur (Poste de Travail ou Explorateur Windows) on recherche le fichier téléchargé et on valide sur son nom. La boîte de dialogue « avertissement de sécurité » s'ouvre et on tabule pour aller valider sur le bouton « exécuter ». Une nouvelle boîte de dialogue s'ouvre, proposant le bouton « suivant » sur lequel on valide. La nouvelle boîte de dialogue donne le chemin du dossier d'enregistrement et on tabule pour aller valider sur le bouton « décompresser ». <br />
<br />
La boîte de dialogue « assistant d'installation » s'ouvre, proposant le bouton « suivant » sur lequel on valide. La nouvelle boîte de dialogue propose les zones d'édition « nom utilisateur » et « organisation », le choix entre les boutons radio « tous les utilisateurs du système » et « l'utilisateur en cours uniquement » ; on tabule pour aller valider sur le bouton « suivant ». La nouvelle boîte de dialogue propose le choix du type d'installation : « standard » ou « personnalisée » ; on tabule pour aller valider sur le bouton « suivant ». La nouvelle fenêtre propose le bouton « installer » sur lequel on valide. <br />
<br />
L'installation prend quelques minutes. Une fois celle-ci achevée, un message propose le bouton « terminer » sur lequel on valide.<br />
<br />
== Programmstart ==<br />
=== Registrierung bei OpenOffice.org ===<br />
NVDA ne permettant pas d'accéder à l'assistant d'enregistrement, il faudra le désactiver et utiliser Jaws (une version démo suffit). On valide sur l'icône « OpenOffice.org «3.2 » du bureau : la fenêtre « Bienvenu dans OpenOffice.org 3.2 » s'affiche à l'écran. On entend « 1. Bienvenue dans OpenOffice.org, assistant d'enregistrement ». Tab place sur la ligne des boutons. Ctrl+Fld place sur le bouton « suivant » qui est annoncé et on valide. On entend « 2. Nom d'utilisateur document » : il est nécessaire de faire Inser+Flh à chaque appui sur la commande effectuée pour savoir sur quelle ligne on se trouve, manipulation à faire pour chaque étape suivante. Tab place sur la ligne « Prénom » que l'on tape. Tab place sur la ligne « Nom » que l'on tape. Tab place sur la ligne « Initiales » que l'on tape. Tab place sur la ligne des boutons. Ctrl+Fld place sur le bouton « suivant » qui est annoncé et on valide. On entend « 3. Mise à jour en ligne ». Inser+Flh annonce que l'on se trouve sur la ligne « Vérifier automatiquement les mises à jour disponibles ». Tab place sur la ligne des boutons. Ctrl+Fld place sur le bouton « suivant » qui est annoncé et on valide. On entend « 4. Enregistrement ». Inser+Flh annonce que l'on se trouve sur la ligne « Je veux m'enregistrer maintenant ». Flb suivi de Inser+Flh permet de savoir que l'on se trouve sur la ligne « Je veux m'enregistrer plus tard ». En renouvelant cette manipulation, on sait que l'on se trouve sur la ligne « Je ne veux pas m'enregistrer ». Le choix d'une de ces lignes étant fait, Tab place sur la ligne des boutons. Ctrl+Fld annonce le bouton « terminer » sur lequel on valide. La fenêtre de l'application OpenOffice.org s'affiche à l'écran.<br />
<br />
=== Der Optionen-Dialog ===<br />
La séquence Alt, T, I ouvre la boîte de dialogue « options » du menu (outils). On se trouve sur l'item « données d'identité ». On n'a pas de message vocal pour les manipulations suivantes. On fait dix fois Flb (on se trouve sur l'item « accessibilité »). On tabule et on appuie sur la touche Esp (cela coche la case « support des logiciels d'accessibilité pour les personnes souffrant d'un handicap »). On tabule neuf fois (on se trouve sur le bouton « ok ») et on valide. On quitte alors l'application et Jaws. On réactive NVDA pour installer Java Access Bridge <br />
<br />
=== Installation der Java Access Bridge ===<br />
A l'aide d'un explorateur (Poste de Travail ou Explorateur Windows) on recherche le fichier accessbridge-2_0_1.exe téléchargé et on valide sur son nom. L'assistant d'installation est en anglais. Ce sont des boîtes de dialogue successives : on a à valider trois fois sur un bouton « next », puis sur un bouton « install », puis sur le bouton « finish » et enfin sur le bouton « yes » qui est proposé pour relancer l'ordinateur. On relance OpenOffice.org qui est alors bien sonorisé avec NVDA. <br />
<br />
== Update von Version 3.1 auf 3.2==<br />
=== Installation ===<br />
Voici ce qui se passe si la version 3.1 est déjà présente sur l'ordinateur. A l'aide d'un explorateur (Poste de Travail ou Explorateur Windows) on recherche le fichier Ooo_3.2.0_Win32Intel_install_wJRE_fr.exe téléchargé et on valide sur son nom. La boîte de dialogue « préparation de l'installation OpenOffice.org 3.2 » s'ouvre, proposant le bouton « suivant » sur lequel on valide. La nouvelle boîte de dialogue donne le chemin du dossier d'enregistrement et on tabule pour aller valider sur le bouton « décompresser ». La boîte de dialogue « assistant d'installation » s'ouvre, proposant le bouton « suivant » sur lequel on valide. La nouvelle boîte de dialogue propose les zones d'édition « nom utilisateur » et « organisation », le choix entre les boutons radio « tous les utilisateurs du système » et « l'utilisateur en cours uniquement » ; on tabule pour aller valider sur le bouton « suivant ». La nouvelle boîte de dialogue propose le choix du type d'installation : « standard » ou « personnalisée » ; on tabule pour aller valider sur le bouton « suivant ». La nouvelle fenêtre propose le bouton « installer » sur lequel on valide. L'installation prend 6 à 7 minutes. Une fois celle-ci achevée, un message propose le bouton « terminer » sur lequel on valide. Sur le bureau, l'icône « OpenOffice.org 3.2 » remplace l'ancienne icône « OpenOffice.org 3.1 ». On peut supprimer l'icône « OpenOffice.org (fr) Installation Files ». <br />
<br />
=== Start der Anwendung ===<br />
On valide sur l'icône « OpenOffice.org 3.2 » du bureau. La boîte de dialogue « enregistrement d'OpenOffice.org » s'ouvre. Elle propose de choisir entre les boutons radio « je veux m'enregistrer maintenant », « je veux m'enregistrer plus tard » et « je ne veux pas m'enregistrer ». Le choix étant fait, on tabule pour aller valider sur le bouton « ok ». On se trouve alors sur la fenêtre d'accueil de l'application avec un message se terminant « panneau bouton » : en validant, on lance le traitement de texte Open Office Writer ; en tabulant, on entend « bouton » et on lance le tableur Open Office Calc en validant sur ce dernier.</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Drafts/FAQ
User:Nnino/Drafts/FAQ
2010-06-05T10:06:37Z
<p>Nnino: created</p>
<hr />
<div>(Füllseite für '''Breadcrumb-Navigation''')</div>
Nnino
https://wiki.openoffice.org/wiki/Talk:DE/QAExtensions/Sun_Wiki_Publisher
Talk:DE/QAExtensions/Sun Wiki Publisher
2010-05-13T20:27:58Z
<p>Nnino: replied</p>
<hr />
<div>Hallo Nino,<br/><br />
was ist eigentlich der Unterschied von deiner verlinkten Extension zu der[http://extensions.services.openoffice.org/node/2526]Version? Bei der von dir verlinkten sind zwar etliche Kommentare (u.a., dass jemand das nicht unter Ubuntu installieren konnte ... ( ) und bei meiner nicht, aber ich konnte das problemlos installieren ... ;)<br />
<br/><br />
--[[User:Thackert|thackert]] 15:52, 13 May 2010 (UTC)<br />
: Moin Thomas :)<br>wie bist du denn auf diesen Link gekommen? Ich habe in der Tag-Wolke auf "Sun" geklickt, dann auf die Überschrift der Extension (war/ist die drittletzte auf der Seite mit den Sun-Extensions). Aus meiner Sicht zeigt mein Link auf die (zu dem auch noch - zumindest vom Ansatz her - lokalisierte) "allgemeine" Seite der Extension, während die node-Seite (sozusagen "ganz konkret") zur Version 1.1 der Extension gehört. <br> Gruß [[User:Nnino|-nino]] 20:27, 13 May 2010 (UTC)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE0
User:Nnino/Testpage/DE0
2010-05-05T21:41:50Z
<p>Nnino: Layout</p>
<hr />
<div>{{DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<br />
<div style="float: right; width: 18em; margin-left: 0.3em">{{DE/TopTenViews}}</div><br />
<div style="float:right; width:17em; margin-left: 2em">{{TEST/De.OOo}}</div><br />
<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/Template:DE/SiblingRotator
Template:DE/SiblingRotator
2010-05-05T21:39:22Z
<p>Nnino: Layout</p>
<hr />
<div>{{DISPLAYTITLE:{{SUBPAGENAME}}}}<br />
<div style="position:absolute; left: 0px; top:-33px; font-size:xx-small; background-color:yellow; text-align:center">[[../DE0|0]] | [[../DE1|1]] | [[../DE2|2]] | [[../DE3|3]]</div></div>
Nnino
https://wiki.openoffice.org/wiki/Template:DE/SiblingRotator
Template:DE/SiblingRotator
2010-05-05T21:35:56Z
<p>Nnino: Layout</p>
<hr />
<div>{{DISPLAYTITLE:{{SUBPAGENAME}}}}<br />
<div style="position:absolute; left: 0px; top:-30px; font-size:xx-small; background-color:yellow; text-align:center">[[../DE0|0]] | [[../DE1|1]] | [[../DE2|2]] | [[../DE3|3]]</div></div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage
User:Nnino/Testpage
2010-05-05T21:28:31Z
<p>Nnino: + DE-Layouts</p>
<hr />
<div>This page is meant to test wiki features<br />
<br />
__TOC__<br />
<br />
== Layouts für DE Startseite ==<br />
* [[/DE0]]<br />
* [[/DE1]]<br />
* [[/DE2]]<br />
* [[/DE3]]<br />
<br />
== Various* tests ==<br />
* [[/InputBox]]<br />
* [[/RichEditor1|Rich Editor]]<br />
<br />
<br />
== Blanks ==<br />
Here is a space width comparison list:<br />
<br />
z.B.z.B.z.B.z.B.z.B. - without<br><br />
z.&thinsp;B.z.&thinsp;B.z.&thinsp;B.z.&thinsp;B.z.&thinsp;B. - &amp;thinsp;<br><br />
z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B.z.<small>&nbsp;</small>B. - &lt;small&gt;&amp;nbsp;&lt;/small&gt;<br><br />
z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B.z.<sub>&nbsp;</sub>B. - &lt;sub&gt;&amp;nbsp;&lt;/sub&gt;<br><br />
z. B.z. B.z. B.z. B.z. B. - normal blank<br><br />
z.&nbsp;B.z.&nbsp;B.z.&nbsp;B.z.&nbsp;B.z.&nbsp;B. - &amp;nbsp;<br><br />
z.&ensp;B.z.&ensp;B.z.&ensp;B.z.&ensp;B.z.&ensp;B. - &amp;ensp;<br><br />
z.&emsp;B.z.&emsp;B.z.&emsp;B.z.&emsp;B.z.&emsp;B. - &amp;emsp;<br><br />
<br />
----<br />
<br />
== TEST/Doc/Note works ==<br />
'''when inserted w/o line break:'''<br />
# first point<br />
# second point {{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
----<br />
'''also works like this:'''<br />
# first point<br />
# second point <br />
#: {{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
----<br />
'''and in higher levels:'''<br />
# first point<br />
# second point <br />
## second level/first point {{TEST/Doc/Note|NOTE relating to second point... }}<br />
## second level/second point<br />
# third point<br />
----<br />
# first point<br />
# second point <br />
## second level/first point<br />
##: {{TEST/Doc/Note|NOTE relating to second point... }}<br />
## second level/second point<br />
# third point<br />
<br />
'''The only failure occurs when inserted '''w/o line break''':'''<br />
# first point<br />
# second point <br />
{{TEST/Doc/Note|NOTE relating to second point... }}<br />
# third point<br />
but this breaks numbering anyway.<br />
<br />
== Documentation/Note does not work ==<br />
<br />
see [[/DocNoteTemplateTest]] as the test breaks wikipage layout<br />
<br />
== Bot Test ==<br />
* [[/bot1test]]<br />
* [[/botätest]]<br />
* [[/bot2test]]</div>
Nnino
https://wiki.openoffice.org/wiki/Template:DE/TopTenViews
Template:DE/TopTenViews
2010-05-05T21:20:38Z
<p>Nnino: Layout, localization</p>
<hr />
<div><div style="border:1px solid #aaaaaa; background-color:#f8f8f8; font-size: 95%;"><br />
<div style="padding: 0.7em"><br />
<div style="text-align: center; background-color:#dce9fc; padding: 0.3em">'''''Top 10 DE-Seiten'''''</div><br />
</div><br />
</div><br />
<div style="font-size:85%; padding: 0;"><br />
<br />
<DPL><br />
namespace = <br />
titleregexp = ^DE.*$<br />
ordermethod = counter<br />
order = descending<br />
addpagecounter = true<br />
count = 10<br />
dplcache = 1<br />
dplcacheperiod = 600<br />
<br />
format = {| class="wikitable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Rang¶!Seite¶!Hits,¶|-¶|%NR%¶|[[%PAGE%|%TITLE%]]¶|%COUNT%,,¶|}<br />
</DPL><br />
<br />
</div><br />
<div style="border:1px solid #aaaaaa; background-color:#f8f8f8; font-size: 95%;"><br />
<div style="padding: 0.7em"><br />
<div style="text-align: center; background-color:#dce9fc; padding: 0.3em">'''''Zuletzt bearbeitete DE-Seiten'''''</div><br />
</div><br />
</div><br />
<br />
<div style="border:1px solid #999; border-top: none; padding: 8px 5px; font-size:85%; "><br />
<br />
<DPL><br />
namespace = <br />
titleregexp = ^DE.*$<br />
ordermethod = lastedit<br />
userdateformat = d. M Y<br />
order = descending<br />
addeditdate = false<br />
count = 20<br />
dplcache = 2<br />
dplcacheperiod = 600<br />
<br />
</DPL><br />
<br />
</div><br />
<noinclude><br />
[[Category:DE/Wiki-Templates]]<br />
</noinclude></div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE2
User:Nnino/Testpage/DE2
2010-05-05T21:17:46Z
<p>Nnino: Layout</p>
<hr />
<div>{{Template:DE/SiblingRotator}}<br />
<div style="float: right; width: 17em; margin-left:4em; margin-bottom:2em">{{TEST/De.OOo}}</div><br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)<br />
<div style="float: left; width: 38.2em; margin-right:1em"><br />
<div style="float: left; width: 19em;">{{TEST/DE/TopTenViews}}</div><br />
<div style="float: left; width: 19em; margin-left:0.1em">{{TEST/DE/LastEdited}}</div><br />
</div></div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE3
User:Nnino/Testpage/DE3
2010-05-05T21:10:42Z
<p>Nnino: Layout</p>
<hr />
<div>[[Category:Project]] [[Category:NLC]] [[Category:de.openoffice.org]]{{Template:DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<br clear="all"><br />
<br />
<div style="float: right; width: 17em; margin-bottom:4em; margin-left:1.2em">{{TEST/De.OOo}}</div><br />
<div style="float: left; width: 19em; margin-right:2em; margin-bottom: 2em">{{DE/TopTenViews}}</div><br />
<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE3
User:Nnino/Testpage/DE3
2010-05-05T20:53:06Z
<p>Nnino: l</p>
<hr />
<div>[[Category:Project]] [[Category:NLC]] [[Category:de.openoffice.org]]{{Template:DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<div>{{de.OOo}}</div><br />
<div style="float: left; width: 19em; margin-right:2em">{{DE/TopTenViews}}</div><br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE1
User:Nnino/Testpage/DE1
2010-05-05T20:52:00Z
<p>Nnino: Layout</p>
<hr />
<div>{{Template:DE/SiblingRotator}}<br />
<div style="float: right; width: 21em; margin-left:2em"> <br />
<div> {{TEST/De.OOo}} </div><br />
<div style="margin-top:0.3em"> {{DE/TopTenViews}} </div><br />
</div><br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/User:Nnino/Testpage/DE0
User:Nnino/Testpage/DE0
2010-05-05T20:51:22Z
<p>Nnino: Layout</p>
<hr />
<div>{{DE/SiblingRotator}}<br />
<br />
''The Germanophone Project is part of the [[NLC|Native-Language Confederation]] and uses this wiki to coordinate parts of its work that need to be updated several times by different people. We mainly use the category page [[:Category:De.openoffice.org]] to navigate between the different pages. You're invited to have a look at them even if most of the pages are written in German.''<br />
<br />
== Startseite des deutschsprachigen Projektes von OpenOffice.org im Wiki ==<br />
<br />
<div style="float: right; width: 18em; margin-left: 0.3em">{{DE/TopTenViews}}</div>{{de.OOo}}<br />
<br />
Das deutschsprachige Projekt von OpenOffice.org, http://de.openoffice.org, benutzt diese Wiki-Seiten zur Koordination und gemeinschaftlichen Bearbeitung von Aufgaben, die auf diese Weise einfacher gelöst werden können als über die [http://de.openoffice.org/servlets/ProjectMailingListList Mailing-Listen] oder den [http://de.openoffice.org/servlets/ProjectIssues Issue Tracker].<br />
<br />
Hierzu gehören aktuell unter anderem:<br />
* '''[[DE/FAQ|FAQs]]''' (Sammlung häufiger Fragen)<br />
* '''[[DE/Marketing_Start|Marketing]]'''<br />
* '''[[DE/Dokumentation|Dokumentation]]''' (Koordination des deutschsprachigen Dokumentationsprojekts)<br />
* Organisation der '''Release-Tests'''<br />
* Koordination der '''[[DE/PrOOo-Box|PrOOo-Box]]''' (CD-/DVD-ROM des Projekts)<br />
* Organisation der '''[[DE/Stammtische|OpenOffice.org-Stammtische]]'''<br />
<br />
Alle Seiten des deutschsprachigen Projekts in diesem Wiki befinden sich unterhalb dieser Seite (<tt>/DE</tt>) und werden über die '''Kategorie [[:Category:DE|DE]]''' (bisher: [[:Category:De.openoffice.org|De.OpenOffice.org]]) erschlossen.<br />
Zusätzlich gibt es die Unterkategorien [[:Category:DE-Marketing|DE-Marketing]] für das Marketing und [[:Category:PrOOo-Box|PrOOo-Box]] für die PrOOo-Box. (Weitere Unterkategorien siehe [[:Category:DE]].)</div>
Nnino
https://wiki.openoffice.org/wiki/Template:DE/TopTenViews
Template:DE/TopTenViews
2010-05-05T20:48:46Z
<p>Nnino: Layout</p>
<hr />
<div><div style="border:1px solid #aaaaaa; background-color:#f8f8f8; font-size: 95%;"><br />
<div style="padding: 0.7em"><br />
<div style="text-align: center; background-color:#dce9fc; padding: 0.3em">'''''Top 10 DE-Seiten'''''</div><br />
</div><br />
</div><br />
<div style="font-size:85%; padding: 0;"><br />
<br />
<DPL><br />
namespace = <br />
titleregexp = ^DE.*$<br />
ordermethod = counter<br />
order = descending<br />
addpagecounter = true<br />
count = 10<br />
dplcache = 1<br />
dplcacheperiod = 600<br />
<br />
format = {| class="wikitable" style="margin: 0; border-left: none; border-right: none; width: 100%; 0;"¶!Pos¶!Page¶!Hits,¶|-¶|%NR%¶|[[%PAGE%|%TITLE%]]¶|%COUNT%,,¶|}<br />
</DPL><br />
<br />
</div><br />
<div style="border:1px solid #aaaaaa; background-color:#f8f8f8; font-size: 95%;"><br />
<div style="padding: 0.7em"><br />
<div style="text-align: center; background-color:#dce9fc; padding: 0.3em">'''''Zuletzt bearbeitete DE-Seiten'''''</div><br />
</div><br />
</div><br />
<br />
<div style="border:1px solid #999; border-top: none; padding: 8px 5px; font-size:85%; "><br />
<br />
<DPL><br />
namespace = <br />
titleregexp = ^DE.*$<br />
ordermethod = lastedit<br />
userdateformat = d. M Y<br />
order = descending<br />
addeditdate = false<br />
count = 20<br />
dplcache = 2<br />
dplcacheperiod = 600<br />
<br />
</DPL><br />
<br />
</div><br />
<noinclude><br />
[[Category:DE/Wiki-Templates]]<br />
</noinclude></div>
Nnino