You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by bu...@apache.org on 2011/08/24 23:40:21 UTC
svn commit: r794853 [7/7] - in
/websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto:
./ calc/ calc/pdf/ calc/pics/ datenquelle/ datenquelle/pdf/
datenquelle/pics/ draw/ draw/pdf/ draw/pics/ eingabefelder/
eingabefelder/pdf/ eingabef...
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/02_speichernunter_standard.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/02_speichernunter_standard.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_icon_neu.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_icon_neu.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_seite.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_seite.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_testauswahl1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_testauswahl1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_testauswahl2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_testauswahl2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text3.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text4.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_text4.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_ueberschrift1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_ueberschrift1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_ueberschrift2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_ueberschrift2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_zeichen.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/03_stylist_zeichen.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_bsp1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_bsp1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_bsp2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_bsp2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_lineal1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_lineal1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_optionen1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_optionen1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_optionen2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_optionen2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_k.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_k.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_l.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_l.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_m.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_m.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_r.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/04_tab_sq_r.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_beispiel.jpg
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_beispiel.jpg
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_ohne.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_ohne.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_optionen.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_optionen.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_unterpunkt.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/05_gliederung_icon_unterpunkt.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_dok.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_dok.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_menue.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_menue.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb_einf_loesch.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb_einf_loesch.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb_rahmen.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_symb_rahmen.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_vert_mittig.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_vert_mittig.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen1.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen1.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen2.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen2.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen3.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tab_zusammen3.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tabelle_icons.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/06_tabelle_icons.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstr_optionen.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstr_optionen.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstrich.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstrich.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstrich_ergebnis.png
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/sw/pics/08_kuf_unterstrich_ergebnis.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/howto_insert_date_de.html
==============================================================================
--- websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/howto_insert_date_de.html (added)
+++ websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/howto_insert_date_de.html Wed Aug 24 21:40:13 2011
@@ -0,0 +1,372 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
+<html>
+<head>
+<!--
+
+ Licensed to the Apache Software Foundation (ASF) under one or more
+ contributor license agreements. See the NOTICE file distributed with
+ this work for additional information regarding copyright ownership.
+ The ASF licenses this file to You under the Apache License, Version 2.0
+ (the "License"); you may not use this file except in compliance with
+ the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE- 2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+-->
+
+<link href="/openofficeorg/css/ooo.css" rel="stylesheet" type="text/css">
+
+
+<title>Howto: Einfügen von Datum/Uhrzeit</title>
+<!-- Start de-header -->
+<link rel="stylesheet" href="../../../styles/de.css" media="screen" type="text/css" />
+<link rel="stylesheet" href="../../../styles/de_print.css" media="print" type="text/css" />
+<link rel="stylesheet" title="mit Navbar" href="../../../styles/de_navbar.css" media="screen" type="text/css" />
+<link rel="alternate stylesheet" title="ohne Navbar" media="screen" href="../../../styles/de_nonavbar.css" type="text/css" />
+<script type="text/javascript" src="styles/de.js"></script >
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+<!-- >
+ Kommentare zur Seite
+ $Id: howto_insert_date_de.html,v 1.5 2004/10/27 18:04:31 louis Exp $
+ < -->
+<!-- End de-header -->
+
+
+</head>
+
+<body>
+ <div id="banner">
+ <div id="bannerleft"><a alt="Apache OpenOffice.org (incubating)" href="http://incubator.apache.org/openofficeorg/">
+ <img id="logo" alt="Apache OpenOffice.org (Incubating)" src="/openofficeorg/images/ooo-logo.png"/></a></div>
+ <div id="bannerright"><a alt="Apache Incubator" href="http://incubator.apache.org">
+ <img id="asf-logo" alt="Apache Incubator" src="/openofficeorg/images/apache-incubator-logo.png"/></a></div>
+ <div id="bannercenter"><br/>(incubating) | The Free and Open Productivity Suite</div>
+ </div>
+ <div id="clear"></div>
+
+ <div id="content">
+
+
+
+<h2>OpenOffice.org Workshop</h2>
+<p><br />
+ Wie kann man das aktuelle Datum oder die aktuelle Uhrzeit per Tastatur dauerhaft in ein Text- oder Tabellendokument einfügen?</p>
+<p>von Daniel Rentz.<br />
+ <br />
+</p>
+<h2>Inhaltsverzeichnis</h2>
+<ol>
+ <li>
+ <p><a href="#aenderungen">Änderungen</a></p>
+ </li>
+ <li>
+ <p><a href="#copyright">Copyright und Lizenzhinweis</a></p>
+ <ul>
+ <li>2.1 <a href="#pdl">Public Documentation License Notice</a></li>
+ <li>
+ <p>2.2 <a href="#produktnamen">Produktnamen und Warenzeichen</a></p>
+ </li>
+ </ul>
+ </li>
+ <li>
+ <p><a href="#einfuehrung">Einführung</a></p>
+ </li>
+ <li>
+ <p><a href="#basicmakros">BASIC-Makros</a></p>
+ <ul>
+ <li>4.1 <a href="#allgemeines">Allgemeines</a></li>
+ <li>4.2 <a href="#parameterlose">Parameterlose Makros für Tastaturkürzel</a></li>
+ <li>4.3 <a href="#hilfsfunktiontext">Hilfsfunktion zum Einfügen als Text</a></li>
+ <li>4.4 <a href="#hilfsfunktionzahlenformat">Hilfsfunktion zum Setzen eines Zahlenformates</a></li>
+ <li>4.5 <a href="#hilfsfunktionwert">Hilfsfunktion zum Einfügen als Wert oder Textfeld</a></li>
+ <li>
+ <p>4.6 <a href="#erlaeuterungen">Erläuterungen</a></p>
+ </li>
+ </ul>
+ </li>
+ <li><a href="#tastaturkuerzel">Tastaturkürzel</a></li>
+</ol>
+<h2><br />
+ <br />
+ <br />
+ 1. <a name="aenderungen">Änderungen</a></h2>
+<table width="100%" border="1" cellpadding="4" cellspacing="0">
+ <col width="60" />
+ <col width="196" />
+ <thead>
+ <tr valign="top">
+ <td width="24%" bgcolor="#e6e6e6"><p>Änderungen</p></td>
+ <td width="76%" bgcolor="#e6e6e6"><p><br />
+ </p></td>
+ </tr>
+ </thead>
+ <tbody>
+ <tr valign="top">
+ <td width="24%"><p>11.02.2003</p></td>
+ <td width="76%"><p>Erste Version.</p></td>
+ </tr>
+ <tr valign="top">
+ <td width="24%"><p>28.06.2004</p></td>
+ <td width="76%"><p>OOo 1.1 Beta <i>-></i> OOo 1.1.x</p>
+ <p>oController.Formula <i>-></i> oController.FormulaLocal</p>
+ <ol>
+ <li>
+ <p>Selbstdefinierte Zahlenformate</p>
+ </li>
+ </ol></td>
+ </tr>
+ <tr valign="top">
+ <td width="24%"><p>13.07.2004</p></td>
+ <td width="76%"><p>OOo 2.0 hinzugefügt</p>
+ <p>Textfelder in Writer einfügen</p></td>
+ </tr>
+ <tr valign="top">
+ <td width="24%"><p>14.07.2004</p></td>
+ <td width="76%"><p>Lizenzhinweis</p></td>
+ </tr>
+ </tbody>
+</table>
+<h2><br />
+ <br />
+ 2. <a name="copyright">Copyright und Lizenzhinweis</a></h2>
+<p>© Copyright 2004 Daniel Rentz</p>
+<h3><br />
+ <br />
+ 2.1 <a name="pdl">Public Documentation License Notice</a></h3>
+<p>The contents of this Documentation are subject to the Public Documentation License Version 1.0 (the "License"); you may only use this Documentation if you comply with the terms of this License. A copy of the License is available at <a href="http://www.openoffice.org/licenses/PDL.html">http://www.openoffice.org/licenses/PDL.html</a>.</p>
+<p>The Original Documentation is "Wie kann man das aktuelle Datum oder die aktuelle Uhrzeit per Tastatur dauerhaft in ein Text- oder Tabellendokument einfügen?".</p>
+<p>The Initial Writer of the Original Documentation is Daniel Rentz, Copyright © 2004. All Rights Reserved</p>
+<p>Initial Writer contact: <a href="mailto:dr@openoffice.org">dr@openoffice.org</a>.</p>
+<p>All Trademarks are properties of their respective owners.</p>
+<h3><br />
+ <br />
+ 2.2 <a name="produktnamen">Produktnamen und Warenzeichen</a></h3>
+<p>Alle in diesem Dokument erwähnten Produktnamen und eingetragenen oder nicht eingetragenen Warenzeichen sind nur zum Zweck der Identifizierung erwähnt und sind das ausschließliche Eigentum ihrer Halter.</p>
+<h2><br />
+ <br />
+ 3. <a name="einfuehrung">Einführung</a></h2>
+<p>Was in MS Word von vornherein mit Alt+Umschalt+D oder Alt+Umschalt+T bzw. in MS Excel mit Strg+Punkt oder Strg+Umschalt+Punkt funktioniert, erfordert in Calc oder Writer anfänglich etwas Arbeit. Dafür ist die nun folgende Lösung flexibler und funktioniert identisch in Text- und Tabellendokumenten.</p>
+<p>Diese Anleitung ist für OpenOffice.org 1.0.x, OpenOffice.org 1.1.x und OpenOffice.org 2.0 geschrieben. Wenn es Unterschiede wie z.B. in der Menüstruktur gibt, werden diese mit [1.0], [1.1] bzw. [2.0] gekennzeichnet.</p>
+<h2><br />
+ <br />
+ 4. <a name="basicmakros">BASIC-Makros</a></h2>
+<h3>4.1 <a name="allgemeines">Allgemeines</a></h3>
+<p>Um eine neue Funktionalität an eine Tastenkombination zu binden, benötigen Sie zuerst ein BASIC-Makro. Das Makro speichern Sie im Standard-Modul von OpenOffice.org, damit es unabhängig von geöffneten Dokumenten verfügbar ist.</p>
+<p>In einem Tabellendokument wird es zwei Möglichkeiten geben, ein Datum bzw. eine Zeit einzufügen:</p>
+<ol>
+ <li>als Wertezelle, d.h. mit dem Datum bzw. der Zeit kann in Formeln weitergerechnet werden,</li>
+ <li>als Textzelle.</li>
+</ol>
+<p>Dabei wird die Zelle überschrieben, auf die der Cursor gerade zeigt.</p>
+<p>In einemTextdokument wird es ebenfalls zwei Möglichkeiten geben, ein Datum bzw. eine Zeit einzufügen:</p>
+<ol>
+ <li>als Textfeld,</li>
+ <li>als einfacher Text.</li>
+</ol>
+<p>Dabei wird an der aktuellen Cursorposition eingefügt bzw. ein vorher ausgewählter Text ersetzt.</p>
+<p>Ein neues BASIC-Makro legen Sie im Dialog <i>Extras->Makro... </i>[1.0], <i>Extras->Makros->Makro... </i>[1.1] bzw. <i>Extras->Makros->Makros verwalten->OpenOffice.org Basic </i>[2.0] an. Im Listenfeld <i>Makro aus</i> sollte schon das Standard-Modul (<i>soffice->Standard->Module1</i>) ausgewählt sein. Mit der Schaltfläche <i>Bearbeiten</i> gelangen Sie in den Quelltext-Editor.</p>
+<h3><br />
+ <br />
+ 4.2 <a name="parameterlose">Parameterlose Makros für Tastaturkürzel</a></h3>
+<pre>Sub Insert_Date_As_Text
+ Insert_As_Text( Date )
+End Sub
+
+Sub Insert_Date_As_Value
+ Insert_As_Value( Date, "TT. MMM JJJJ", com.sun.star.util.NumberFormat.DATE )
+End Sub
+
+Sub Insert_Time_As_Text
+ Insert_As_Text( Time )
+End Sub
+
+Sub Insert_Time_As_Value
+ Insert_As_Value( Time, "HH:MM:SS", com.sun.star.util.NumberFormat.TIME )
+End Sub</pre>
+<h3><br />
+ <br />
+ 4.3 <a name="hilfsfunktiontext">Hilfsfunktion zum Einfügen als Text</a></h3>
+<pre><font color="#808080"><i>'-------------------------------------------------
+' Inserts the passed string into a document.
+'
+' parameter aValue
+' The string to be inserted into the document.
+'-------------------------------------------------</i></font>
+
+Sub Insert_As_Text( aValue As String )
+
+ oDesktop = createUnoService( "com.sun.star.frame.Desktop" )
+ oController = oDesktop.CurrentFrame.Controller
+ oDocument = oController.Model
+
+<font color="#808080"><i> ' insert as text for Calc ----------------------</i></font>
+ If oDocument.supportsService( "com.sun.star.sheet.SpreadsheetDocument" ) Then
+ oSelection = oController.Selection
+ oSelection.Formula = "'" & aValue <font color="#808080"><i>' apostroph forces string</i></font>
+
+<font color="#808080"><i> ' insert as text for Writer --------------------</i></font>
+ ElseIf oDocument.supportsService( "com.sun.star.text.TextDocument" ) Then
+ oSelection = oDocument.CurrentSelection( 0 )
+ oSelection.Text.insertString( oSelection, aValue, True )
+
+ EndIf
+End Sub</pre>
+<h3><br />
+ <br />
+ 4.4 <a name="hilfsfunktionzahlenformat">Hilfsfunktion zum Setzen eines Zahlenformates</a></h3>
+<pre><font color="#808080"><i>'-------------------------------------------------
+' Sets the passed number format as property of an object.
+'
+' parameter oController
+' The controller that contains a number formatter.
+'
+' parameter oDestObj
+' The destination object. Format is set at its NumberFormat property.
+'
+' parameter aFormat
+' The string representation of the number format,
+' or empty string to use the passed default format.
+'
+' parameter nStdFormat
+' Index of a default number format (com.sun.star.util.NumberFormat
+' constants), if no string is specified.
+'-------------------------------------------------</i></font>
+
+Sub Set_Number_Format(_
+ oController As Object,_
+ oDestObj As Object,_
+ aFormat As String,_
+ nStdFormat As Integer )
+
+ Dim aLocale As New com.sun.star.lang.Locale
+ oFormatter = oController.Model.NumberFormats
+
+ If aFormat = "" Then
+ oDestObj.NumberFormat = oFormatter.getStandardFormat( nStdFormat, aLocale )
+ Else
+ Dim nKey As Long
+ nKey = oFormatter.queryKey( aFormat, aLocale, True )
+ If nKey < 0 Then
+ nKey = oFormatter.addNew( aFormat, aLocale )
+ EndIf
+ oDestObj.NumberFormat = nKey
+ EndIf
+End Sub</pre>
+<h3><br />
+ <br />
+ 4.5 <a name="hilfsfunktionwert">Hilfsfunktion zum Einfügen als Wert oder Textfeld</a></h3>
+<pre><font color="#808080"><i>'-------------------------------------------------
+' Inserts the passed string as value into a document.
+'
+' parameter aValue
+' The string representation of a value (date or time).
+'
+' parameter aFormat
+' The string representation of the number format,
+' or empty string to use the passed default format.
+'
+' parameter nStdFormat
+' Index of a default number format (com.sun.star.util.NumberFormat
+' constants), if no string is specified.
+'-------------------------------------------------</i></font>
+
+Sub Insert_As_Value(_
+ aValue As String,_
+ aFormat As String,_
+ nStdFormat As Integer )
+
+ oDesktop = createUnoService( "com.sun.star.frame.Desktop" )
+ oController = oDesktop.CurrentFrame.Controller
+ oDocument = oController.Model
+
+<font color="#808080"><i> ' insert as value for Calc ---------------------</i></font>
+ If oDocument.supportsService( "com.sun.star.sheet.SpreadsheetDocument" ) Then
+ oSelection = oController.Selection
+ oSelection.FormulaLocal = aValue
+ Set_Number_Format( oController, oSelection, aFormat, nStdFormat )
+
+<font color="#808080"><i> ' insert as value for Writer -------------------</i></font>
+ ElseIf oDocument.supportsService( "com.sun.star.text.TextDocument" ) Then
+ <font color="#808080"><i> ' create a text field </i></font>
+ oField = oDocument.createInstance( "com.sun.star.text.TextField.DateTime" )
+ oField.IsFixed = True
+ Set_Number_Format( oController, oField, aFormat, nStdFormat )
+<font color="#808080"><i> ' insert into current selection</i></font>
+ oSelection = oDocument.CurrentSelection( 0 )
+ oSelection.Text.insertTextContent( oSelection, oField, True )
+
+ End If
+End Sub</font></pre>
+<h3><br />
+ <br />
+ 4.6 <a name="erlaeuterungen">Erläuterungen</a></h3>
+<p> Die Hauptfunktionen rufen je eine Hilfsfunktion mit den entsprechenden Parametern auf. Diese Hilfsfunktionen (Insert_As_Text und Insert_As_Value) erkennen, von welchem Dokumenttyp das Makro aufgerufen wurde. Dann werden die passenden Funktion aufgerufen, um den Wert in das Dokument einzufügen.</p>
+<p>Um für Wertezellen oder Textfelder ein selbstdefiniertes Zahlenformat zu setzen, wird die Formatdefinition einfach in den Hauptfunktionen Insert_Date_As_Value und Insert_Time_As_Value mit übergeben. Wenn hier ein Leertext angegeben wird, verwenden die aufgerufenen Hilfsfunktionen das angegebene Standardformat.</p>
+<h2><br />
+ <br />
+ 5. <a name="tastaturkuerzel">Tastaturkürzel</a></h2>
+<p>In OpenOffice.org kann man nicht alle Tasten mit Funktionen belegen, z.B. ist es nicht möglich, die Punkt- und Komma-Taste zu belegen, wohl aber die Plus-, Minus- oder Stern-Taste. Allerdings sind viele dieser Tasten bereits belegt (dazu später mehr). Deshalb werden in diesem Beispiel die Tastenkombinationen Strg+Umschalt +7 bis Strg+Umschalt+0 benutzt. Diese sind in Text- und Tabellendokumenten noch frei.</p>
+<p>Im Dialog <i>Extras->Anpassen</i> im Karteireiter <i>Tastatur</i> wählen Sie zuerst (wichtig!) oben rechts <i>OpenOffice.org</i> aus, um das neue Kürzel für alle Applikationen zu definieren. Danach wählen Sie in den unteren Listenfeldern Ihr BASIC-Makro aus. Zuerst wählen Sie im linken Listenfeld <i>Bereich </i>das Modul <i>OpenOffice.org BASIC-Makros->Standard->Module1</i> [1.0] und [1.1] bzw. <i>OpenOffice.org BASIC-Makros->user->Standard->Module1</i> [2.0], dann daneben im Feld <i>Funktion</i> das Makro Insert_Date_As_Text. Jetzt können Sie im oberen Teil des Dialogs ein Tastaturkürzel auswählen. Wählen Sie die Kombination Strg+Umschalt+7 aus, und drücken dann die Schaltfläche <i>Ändern</i>. Ebenso verfahren Sie mit den anderen Tastenkürzeln:</p>
+<table width="100%" border="1" cellpadding="2" cellspacing="0">
+ <col width="90" />
+ <col width="166" />
+ <tbody>
+ <tr valign="top">
+ <td width="35%" bgcolor="#e6e6e6"><p>Tastaturkürzel</p></td>
+ <td width="65%" bgcolor="#e6e6e6"><p>Makrofunktion</p></td>
+ </tr>
+ </tbody>
+ <tbody>
+ <tr valign="top">
+ <td width="35%"><p>Strg+Umschalt+7</p></td>
+ <td width="65%"><p>Insert_Date_As_Text</p></td>
+ </tr>
+ <tr valign="top">
+ <td width="35%"><p>Strg+Umschalt+8</p></td>
+ <td width="65%"><p>Insert_Time_As_Text</p></td>
+ </tr>
+ <tr valign="top">
+ <td width="35%"><p>Strg+Umschalt+9</p></td>
+ <td width="65%"><p>Insert_Date_As_Value</p></td>
+ </tr>
+ <tr valign="top">
+ <td width="35%"><p>Strg+Umschalt+0</p></td>
+ <td width="65%"><p>Insert_Time_As_Value</p></td>
+ </tr>
+ </tbody>
+</table>
+<p>Das ist auch schon alles. Ein schneller Test in einem Text- und einem Tabellendokument sollte nun das gewünschte Ergebnis liefern.</p>
+<p>Wie bereits erwähnt, sind viele Tastaturkürzel bereits belegt. Das kann unerwartete Überraschungen zur Folge haben. Man kann ein Kürzel global (für alle Dokumenttypen) zuweisen; aber in einem speziellen Dokumenttyp dasselbe Kürzel mit einer anderen Funktion überschreiben. Zum Beispiel ist Strg+Plus global frei, aber in Textdokumenten belegt. Wenn Sie jetzt Strg+Plus global belegen, wird das in Textdokumenten nicht funktionieren, da zuerst die dokument-spezifischen Kürzel gesucht und benutzt werden. Sie müssten also zusätzlich im Tastatur-Dialog das Textdokument-Kürzel freigeben.</p>
+
+
+ </div>
+
+ <div id="footera">
+ <div id="poweredby">
+ <p><img src="/openofficeorg/images/feather-small.gif"/><br/>Powered by the Apache CMS.</p>
+ </div>
+ <div id="copyrighta">
+ <p>
+ Apache "OpenOffice.org" is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator.
+ Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and
+ decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is
+ not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has
+ yet to be fully endorsed by the ASF.</p>
+ <p>
+ Copyright © 2011 The Apache Software Foundation Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.
+ <a href="/openofficeorg/contact.html">Contact Us</a> |
+ <a href="/openofficeorg/terms.html">Terms of Use</a>
+ <br />Apache and the Apache feather logos are trademarks of The Apache Software Foundation.
+ <br />OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation.
+ <br />Other names appearing on the site may be trademarks of their respective owners.
+ </p>
+ </div>
+ </div>
+
+</body>
+</html>
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/pdf/howto_insert_date_de.pdf
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/pdf/howto_insert_date_de.pdf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/pdf/woerterbuecherintegrieren.pdf
==============================================================================
Binary file - no diff available.
Propchange: websites/staging/openofficeorg/trunk/content/openofficeorg/de/doc/howto/tutorials/pdf/woerterbuecherintegrieren.pdf
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream