1*cdf0e10cSrcweir<?xml version="1.0" encoding="UTF-8"?> 2*cdf0e10cSrcweir 3*cdf0e10cSrcweir 4*cdf0e10cSrcweir<!-- 5*cdf0e10cSrcweir *********************************************************************** 6*cdf0e10cSrcweir * 7*cdf0e10cSrcweir * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 8*cdf0e10cSrcweir * 9*cdf0e10cSrcweir * Copyright 2000, 2010 Oracle and/or its affiliates. 10*cdf0e10cSrcweir * 11*cdf0e10cSrcweir * OpenOffice.org - a multi-platform office productivity suite 12*cdf0e10cSrcweir * 13*cdf0e10cSrcweir * This file is part of OpenOffice.org. 14*cdf0e10cSrcweir * 15*cdf0e10cSrcweir * OpenOffice.org is free software: you can redistribute it and/or modify 16*cdf0e10cSrcweir * it under the terms of the GNU Lesser General Public License version 3 17*cdf0e10cSrcweir * only, as published by the Free Software Foundation. 18*cdf0e10cSrcweir * 19*cdf0e10cSrcweir * OpenOffice.org is distributed in the hope that it will be useful, 20*cdf0e10cSrcweir * but WITHOUT ANY WARRANTY; without even the implied warranty of 21*cdf0e10cSrcweir * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22*cdf0e10cSrcweir * GNU Lesser General Public License version 3 for more details 23*cdf0e10cSrcweir * (a copy is included in the LICENSE file that accompanied this code). 24*cdf0e10cSrcweir * 25*cdf0e10cSrcweir * You should have received a copy of the GNU Lesser General Public License 26*cdf0e10cSrcweir * version 3 along with OpenOffice.org. If not, see 27*cdf0e10cSrcweir * <http://www.openoffice.org/license.html> 28*cdf0e10cSrcweir * for a copy of the LGPLv3 License. 29*cdf0e10cSrcweir * 30*cdf0e10cSrcweir ************************************************************************ 31*cdf0e10cSrcweir --> 32*cdf0e10cSrcweir 33*cdf0e10cSrcweir<helpdocument version="1.0"> 34*cdf0e10cSrcweir<meta> 35*cdf0e10cSrcweir<topic id="textswriter0104090007xml" indexer="include" status="PUBLISH"> 36*cdf0e10cSrcweir<title id="tit" xml-lang="en-US">Special Tags</title> 37*cdf0e10cSrcweir<filename>/text/swriter/01/04090007.xhp</filename> 38*cdf0e10cSrcweir</topic> 39*cdf0e10cSrcweir<history> 40*cdf0e10cSrcweir<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created> 41*cdf0e10cSrcweir<lastedited date="2006-11-27T08:27:44">converted from old format - fpe</lastedited> 42*cdf0e10cSrcweir</history> 43*cdf0e10cSrcweir</meta> 44*cdf0e10cSrcweir<body> 45*cdf0e10cSrcweir<bookmark xml-lang="en-US" branch="index" id="bm_id3154106"><bookmark_value>tags; in $[officename] Writer</bookmark_value> 46*cdf0e10cSrcweir<bookmark_value>$[officename] Writer; special HTML tags</bookmark_value> 47*cdf0e10cSrcweir<bookmark_value>HTML;special tags for fields</bookmark_value> 48*cdf0e10cSrcweir<bookmark_value>fields;HTML import and export</bookmark_value> 49*cdf0e10cSrcweir<bookmark_value>time fields;HTML</bookmark_value> 50*cdf0e10cSrcweir<bookmark_value>date fields;HTML</bookmark_value> 51*cdf0e10cSrcweir<bookmark_value>DocInformation fields</bookmark_value> 52*cdf0e10cSrcweir</bookmark><comment>MW changed "$[officename] Writer;tags" to "$[officename];special HTML tags"</comment> 53*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154106" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/swriter/01/04090007.xhp" name="Special Tags">Special Tags</link></paragraph> 54*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3153669" xml-lang="en-US" l10n="U" oldref="3">When you save a document that contains fields as an HTML document, $[officename] automatically converts date, time, and DocInformation fields to special HTML tags. The field contents are inserted between the opening and closing HTML tags of the converted fields. These special HTML tags do not correspond to standard HTML tags.</paragraph> 55*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3152960" xml-lang="en-US" l10n="U" oldref="4">$[officename] Writer fields are identified by the <SDFIELD> tag in an HTML document. The field type, the format, and the name of the special field are included in the opening HTML tag. The format of a field tag that is recognized by an HTML filter depends on the field type.</paragraph> 56*cdf0e10cSrcweir<section id="datumuhrzeit"> 57*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3154570" xml-lang="en-US" level="2" l10n="U" oldref="5">Date and Time Fields</paragraph> 58*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149696" xml-lang="en-US" l10n="U" oldref="6">For "Date" and "Time" fields, the TYPE parameter equals DATETIME. The format of the date or the time is specified by the SDNUM parameter, for example, DD:MM:YY for dates, or HH:MM:SS for time.</paragraph> 59*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3155183" xml-lang="en-US" l10n="U" oldref="7">For fixed date and time fields, the date or the time is specified by the SDVAL parameter.</paragraph> 60*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149485" xml-lang="en-US" l10n="U" oldref="8">Examples of date and time special HTML tags that are recognized by $[officename] as fields are shown in the following table:</paragraph> 61*cdf0e10cSrcweir<table id="tbl_id3143275"> 62*cdf0e10cSrcweir<tablerow> 63*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 64*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3151257" xml-lang="en-US" l10n="U" oldref="9">Fields</paragraph> 65*cdf0e10cSrcweir</tablecell> 66*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 67*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3148970" xml-lang="en-US" l10n="U" oldref="10">$[officename] Tag</paragraph> 68*cdf0e10cSrcweir</tablecell> 69*cdf0e10cSrcweir</tablerow> 70*cdf0e10cSrcweir<tablerow> 71*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 72*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3147102" xml-lang="en-US" l10n="U" oldref="11">Date is fixed</paragraph> 73*cdf0e10cSrcweir</tablecell> 74*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 75*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153634" xml-lang="en-US" l10n="U" oldref="12"><SDFIELD TYPE=DATETIME SDVAL="35843,4239988426" SDNUM="1031;1031;DD/MM/YY">17/02/98</SDFIELD></paragraph> 76*cdf0e10cSrcweir</tablecell> 77*cdf0e10cSrcweir</tablerow> 78*cdf0e10cSrcweir<tablerow> 79*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 80*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155137" xml-lang="en-US" l10n="U" oldref="13">Date is variable</paragraph> 81*cdf0e10cSrcweir</tablecell> 82*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 83*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="14"><SDFIELD TYPE=DATETIME SDNUM="1031;1031;DD/MM/YY">17/02/98</SDFIELD></paragraph> 84*cdf0e10cSrcweir</tablecell> 85*cdf0e10cSrcweir</tablerow> 86*cdf0e10cSrcweir<tablerow> 87*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 88*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3145774" xml-lang="en-US" l10n="U" oldref="15">Time is fixed</paragraph> 89*cdf0e10cSrcweir</tablecell> 90*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 91*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155915" xml-lang="en-US" l10n="U" oldref="16"><SDFIELD TYPE=DATETIME SDVAL="35843,4240335648" SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD></paragraph> 92*cdf0e10cSrcweir</tablecell> 93*cdf0e10cSrcweir</tablerow> 94*cdf0e10cSrcweir<tablerow> 95*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 96*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3150110" xml-lang="en-US" l10n="U" oldref="17">Time is variable</paragraph> 97*cdf0e10cSrcweir</tablecell> 98*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 99*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155862" xml-lang="en-US" l10n="U" oldref="18"><SDFIELD TYPE=DATETIME SDNUM="1031;1031;HH:MM:SS">10:10:36</SDFIELD></paragraph> 100*cdf0e10cSrcweir</tablecell> 101*cdf0e10cSrcweir</tablerow> 102*cdf0e10cSrcweir</table> 103*cdf0e10cSrcweir 104*cdf0e10cSrcweir</section> 105*cdf0e10cSrcweir<section id="dokumentinfo"> 106*cdf0e10cSrcweir<paragraph role="heading" id="hd_id3147409" xml-lang="en-US" level="2" l10n="U" oldref="23">DocInformation Fields</paragraph> 107*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147487" xml-lang="en-US" l10n="U" oldref="24">For DocInformation fields, the TYPE parameter equals DOCINFO. The SUBTYPE parameter displays the specific field type, for example, for the "Created" DocInformation field, SUBTYPE=CREATE. For date and time DocInformation fields, the FORMAT parameter equals DATE or TIME, and the SDNUM parameter indicates the number format that is used. The SDFIXED parameter indicates if the content of the DocInformation field is fixed or not.</paragraph> 108*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3147501" xml-lang="en-US" l10n="U" oldref="25">The contents of a fixed date or time field are equal to the SDVAL parameter, otherwise the contents are equal to the text found between the SDFIELD HTML tags.</paragraph> 109*cdf0e10cSrcweir<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="U" oldref="26">Examples of DocInformation special HTML tags that are recognized by $[officename] as fields are shown in the following table:</paragraph> 110*cdf0e10cSrcweir<table id="tbl_id3145265"> 111*cdf0e10cSrcweir<tablerow> 112*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 113*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3147738" xml-lang="en-US" l10n="U" oldref="27">Fields</paragraph> 114*cdf0e10cSrcweir</tablecell> 115*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 116*cdf0e10cSrcweir<paragraph role="tablehead" id="par_id3146334" xml-lang="en-US" l10n="U" oldref="28">$[officename] Tag</paragraph> 117*cdf0e10cSrcweir</tablecell> 118*cdf0e10cSrcweir</tablerow> 119*cdf0e10cSrcweir<tablerow> 120*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 121*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3149846" xml-lang="en-US" l10n="U" oldref="29">Description (fixed content)</paragraph> 122*cdf0e10cSrcweir</tablecell> 123*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 124*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3148863" xml-lang="en-US" l10n="U" oldref="30"><SDFIELD TYPE=DOCINFO SUBTYPE=COMMENT SDFIXED>Description</SDFIELD></paragraph> 125*cdf0e10cSrcweir</tablecell> 126*cdf0e10cSrcweir</tablerow> 127*cdf0e10cSrcweir<tablerow> 128*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 129*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3151083" xml-lang="en-US" l10n="U" oldref="31">Creation date</paragraph> 130*cdf0e10cSrcweir</tablecell> 131*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 132*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3153298" xml-lang="en-US" l10n="CHG" oldref="32"><SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=DATE SDNUM="1031;1031;QQ YY">1. Quarter 98</SDFIELD></paragraph> 133*cdf0e10cSrcweir</tablecell> 134*cdf0e10cSrcweir</tablerow> 135*cdf0e10cSrcweir<tablerow> 136*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 137*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3150175" xml-lang="en-US" l10n="U" oldref="33">Creation time (fixed content)</paragraph> 138*cdf0e10cSrcweir</tablecell> 139*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 140*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3156134" xml-lang="en-US" l10n="U" oldref="34"><SDFIELD TYPE=DOCINFO SUBTYPE=CREATE FORMAT=TIME SDVAL="0" SDNUM="1031;1031;HH:MM:SS AM/PM" SDFIXED>03:58:35 PM</SDFIELD></paragraph> 141*cdf0e10cSrcweir</tablecell> 142*cdf0e10cSrcweir</tablerow> 143*cdf0e10cSrcweir<tablerow> 144*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 145*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3155077" xml-lang="en-US" l10n="U" oldref="35">Modification date</paragraph> 146*cdf0e10cSrcweir</tablecell> 147*cdf0e10cSrcweir<tablecell colspan="" rowspan=""> 148*cdf0e10cSrcweir<paragraph role="tablecontent" id="par_id3154330" xml-lang="en-US" l10n="U" oldref="36"><SDFIELD TYPE=DOCINFO SUBTYPE=CHANGE FORMAT=DATE SDNUM="1031;1031;NN DD MMM, YY">Mo 23 Feb, 98</SDFIELD></paragraph> 149*cdf0e10cSrcweir</tablecell> 150*cdf0e10cSrcweir</tablerow> 151*cdf0e10cSrcweir</table> 152*cdf0e10cSrcweir 153*cdf0e10cSrcweir</section> 154*cdf0e10cSrcweir</body> 155*cdf0e10cSrcweir</helpdocument> 156