Files
help/helpcontent2/source/text/swriter/01/04200000.xhp
Rüdiger Timm a74ea6be04 INTEGRATION: CWS ooo19126 (1.3.60); FILE MERGED
2005/09/05 18:25:23 rt 1.3.60.1: #i54170# Change license header: remove SISSL
2005-09-08 00:43:25 +00:00

81 lines
6.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--***********************************************************************
*
* OpenOffice.org - a multi-platform office productivity suite
*
* $RCSfile: 04200000.xhp,v $
*
* $Revision: 1.4 $
*
* last change: $Author: rt $ $Date: 2005-09-08 01:42:44 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
*
*
* GNU Lesser General Public License Version 2.1
* =============================================
* Copyright 2005 by Sun Microsystems, Inc.
* 901 San Antonio Road, Palo Alto, CA 94303, USA
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License version 2.1, as published by the Free Software Foundation.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
* MA 02111-1307 USA
*
************************************************************************-->
<helpdocument version="1.0">
<meta>
<topic id="textswriter0104200000xml" indexer="include" status="PUBLISH">
<title id="tit" xml-lang="en-US">Insert Script</title>
<filename>/text/swriter/01/04200000.xhp</filename>
</topic>
<history>
<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
<lastedited date="2004-12-14T14:56:02">converted from old format - fpe</lastedited>
</history>
</meta>
<body>
<bookmark xml-lang="en-US" branch="hid/SW:MODALDIALOG:DLG_JAVAEDIT" id="bm_id3083451" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/FN_JAVAEDIT" id="bm_id106266" localize="false"/><!-- HID added by script -->
<bookmark xml-lang="en-US" branch="hid/.uno:InsertScript" id="bm_id3146320" localize="false"/>
<paragraph role="heading" id="hd_id3147402" xml-lang="en-US" level="1" l10n="U" oldref="1">Insert Script</paragraph>
<paragraph role="paragraph" id="par_id3155620" xml-lang="en-US" l10n="U" oldref="2"><variable id="scripttext"><ahelp hid=".uno:InsertScript">Inserts a script at the current cursor position in an HTML or text document.</ahelp>
</variable></paragraph>
<paragraph role="paragraph" id="par_id3145828" xml-lang="en-US" l10n="E" localize="false"><link href="text/swriter/00/00000404.xhp#einfscript"><embedvar href="text/swriter/00/00000004.xhp#wie"/></link></paragraph>
<paragraph role="paragraph" id="par_id3149880" xml-lang="en-US" l10n="U" oldref="4">An inserted script is indicated by a small green rectangle. If you do not see the rectangle, choose <emph>Tools - Options - HTML Document</emph> - <link href="text/shared/optionen/01040200.xhp" name="View"><emph>View</emph></link>, and select the <emph>Notes </emph>check box. To edit a script, double-click the green rectangle.</paragraph>
<paragraph role="paragraph" id="par_id3150572" xml-lang="en-US" l10n="U" oldref="5">If your document contains more than one script, the <emph>Edit Script</emph> dialog contains previous and next buttons to jump from script to script.</paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:IMAGEBUTTON:DLG_JAVAEDIT:BTN_PREV" id="bm_id3149710" localize="false"/><embed href="text/swriter/00/00000004.xhp#nopfli"/>
<bookmark xml-lang="en-US" branch="hid/SW:IMAGEBUTTON:DLG_JAVAEDIT:BTN_NEXT" id="bm_id3150761" localize="false"/><embed href="text/swriter/00/00000004.xhp#nopfre"/>
<paragraph role="paragraph" id="par_id3151184" xml-lang="en-US" l10n="U" oldref="6">To specify if the script is printed at the end of the page or at the end of the document, choose <emph>File - Print - Options</emph>, and select the appropriate check box.</paragraph>
<paragraph role="heading" id="hd_id3154644" xml-lang="en-US" level="2" l10n="U" oldref="7">Contents</paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:EDIT:DLG_JAVAEDIT:ED_TYPE" id="bm_id3151177" localize="false"/>
<paragraph role="heading" id="hd_id3149294" xml-lang="en-US" level="3" l10n="U" oldref="9">Script Type</paragraph>
<paragraph role="paragraph" id="par_id3145413" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="SW:EDIT:DLG_JAVAEDIT:ED_TYPE">Enter the type of script that you want to insert.</ahelp> The script is identified in the HTML source code by the tag &lt;SCRIPT LANGUAGE="JavaScript"&gt;.</paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:RADIOBUTTON:DLG_JAVAEDIT:RB_URL" id="bm_id3149800" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/SW:EDIT:DLG_JAVAEDIT:ED_URL" id="bm_id3149803" localize="false"/>
<paragraph role="heading" id="hd_id3154097" xml-lang="en-US" level="3" l10n="U" oldref="13">URL</paragraph>
<paragraph role="paragraph" id="par_id3149810" xml-lang="en-US" l10n="CHG" oldref="14"><ahelp hid="SW:EDIT:DLG_JAVAEDIT:ED_URL">Adds a link to a script file. Click the <emph>URL </emph>radio button, and then enter the link in the box. You can also click the browse button (<emph>...</emph>), locate the file, and then click <emph>Insert</emph>.</ahelp> The linked script file is identified in the HTML source code by the following tags:</paragraph>
<paragraph role="paragraph" id="par_id3152963" xml-lang="en-US" l10n="U" oldref="15">&lt;SCRIPT LANGUAGE="JavaScript" SRC="url"&gt;</paragraph>
<paragraph role="paragraph" id="par_id3153678" xml-lang="en-US" l10n="U" oldref="16">/* ignore all text here */</paragraph>
<paragraph role="paragraph" id="par_id3154574" xml-lang="en-US" l10n="U" oldref="17">&lt;/SCRIPT&gt;</paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:PUSHBUTTON:DLG_JAVAEDIT:PB_URL" id="bm_id3149692" localize="false"/>
<paragraph role="heading" id="hd_id3155903" xml-lang="en-US" level="3" l10n="U" oldref="19">...</paragraph>
<paragraph role="paragraph" id="par_id3154188" xml-lang="en-US" l10n="U" oldref="20"><ahelp hid="SW:PUSHBUTTON:DLG_JAVAEDIT:PB_URL">Locate the script file that you want to link to, and then click <emph>Insert</emph>.</ahelp></paragraph>
<bookmark xml-lang="en-US" branch="hid/SW:MULTILINEEDIT:DLG_JAVAEDIT:ED_EDIT" id="bm_id3149489" localize="false"/>
<bookmark xml-lang="en-US" branch="hid/SW:RADIOBUTTON:DLG_JAVAEDIT:RB_EDIT" id="bm_id3149493" localize="false"/>
<paragraph role="heading" id="hd_id3155184" xml-lang="en-US" level="3" l10n="U" oldref="11">Text</paragraph>
<paragraph role="paragraph" id="par_id3143272" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="SW:RADIOBUTTON:DLG_JAVAEDIT:RB_EDIT">Enter the script code that you want to insert.</ahelp></paragraph>
</body>
</helpdocument>