You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
412 lines
10 KiB
412 lines
10 KiB
13 years ago
|
<sect1 id="kword-file-format">
|
||
|
<sect1info>
|
||
|
<authorgroup>
|
||
|
<author
|
||
|
><firstname
|
||
|
>Mike</firstname
|
||
|
> <surname
|
||
|
>McBride</surname
|
||
|
> </author>
|
||
|
<othercredit role="translator"
|
||
|
><firstname
|
||
|
>Marek</firstname
|
||
|
><surname
|
||
|
>Laane</surname
|
||
|
><affiliation
|
||
|
><address
|
||
|
><email
|
||
|
>bald@starman.ee</email
|
||
|
></address
|
||
|
></affiliation
|
||
|
><contrib
|
||
|
>Tõlge eesti keelde</contrib
|
||
|
></othercredit
|
||
|
>
|
||
|
</authorgroup>
|
||
|
</sect1info>
|
||
|
<title
|
||
|
>&kword;i failivorming</title>
|
||
|
<indexterm
|
||
|
><primary
|
||
|
>&kword;</primary
|
||
|
><secondary
|
||
|
>failivorming</secondary
|
||
|
></indexterm>
|
||
|
|
||
|
<para
|
||
|
>&kword; kasutab oma failivormingu tarbeks kaht sõltumatult arendatud vaba tarkvara standardit. See kombinatsioon on valitud säilitamaks tasakaalu mugavuse ja avatud arengumudeli vahel.</para>
|
||
|
|
||
|
<para
|
||
|
>Esmalt tuleb märkida, et kõik &kword;i failid on pakitud &XML;-failid, mis aitab kahandada nende suurust. </para>
|
||
|
|
||
|
<para
|
||
|
>Vali &kword;i versioon, mille vastu huvi tunned:</para>
|
||
|
<itemizedlist>
|
||
|
<listitem
|
||
|
><para
|
||
|
><link linkend="kword-file-format-11"
|
||
|
>&kword; 1.1 ja varasem</link
|
||
|
>.</para
|
||
|
></listitem>
|
||
|
<listitem
|
||
|
><para
|
||
|
><link linkend="kword-file-format-12"
|
||
|
>&kword; 1.2</link
|
||
|
>.</para
|
||
|
></listitem>
|
||
|
<listitem
|
||
|
><para
|
||
|
><link linkend="kword-file-format-13"
|
||
|
>&kword; 1.3</link
|
||
|
>.</para
|
||
|
></listitem>
|
||
|
|
||
|
</itemizedlist>
|
||
|
|
||
|
<sect2 id="kword-file-format-11">
|
||
|
<title
|
||
|
>&kword; 1.1 ja varasemad versioonid</title>
|
||
|
|
||
|
<para
|
||
|
>&XML;-failid on pakitud ühte faili, mille algoritm on samasugune <ulink url="http://www.gnu.org/software/tar/tar.html"
|
||
|
><application
|
||
|
>tar</application
|
||
|
></ulink
|
||
|
>-i algoritmiga.</para>
|
||
|
|
||
|
<para
|
||
|
>Failid saab lahti pakkida järgmise käsuga:</para>
|
||
|
|
||
|
<screen width="40"
|
||
|
><prompt
|
||
|
>%</prompt
|
||
|
> <userinput
|
||
|
><command
|
||
|
>tar -xzvf </command
|
||
|
><replaceable
|
||
|
>failinimi</replaceable
|
||
|
></userinput
|
||
|
>
|
||
|
</screen>
|
||
|
|
||
|
<para
|
||
|
>*Selle käsuga pakitakse lahti kõik &kword;i dokumendifaili komponendid.</para>
|
||
|
|
||
|
<para
|
||
|
>Kõigi &kword;i failide tekstiosa kujutab endast &XML; (laiendatud märkekeel) faile.</para>
|
||
|
|
||
|
<note
|
||
|
><para
|
||
|
>Kui soovid lähemalt tundma õppida &XML;-dokumente ja tehnoloogiat, külasta palun <simplelist
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.w3.org/XML/"
|
||
|
>World Wide Web Consortiumi &XML;-lehekülgi</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.xml.org/xml/resources_cover.shtml"
|
||
|
>XML.org ressursside lehekülge</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink url="http://www.ucc.ie/xml/"
|
||
|
>&XML;-i KKK-d</ulink
|
||
|
></member
|
||
|
> </simplelist
|
||
|
></para
|
||
|
></note>
|
||
|
|
||
|
<para
|
||
|
>Igas &kword;i dokumendis on vähemalt kaks &XML;-faili:</para>
|
||
|
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>maindoc.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab infot &kword;i dokumendi teksti, tabelite ja valemite kohta. See on märgitud &XML;-siltidega vastavalt ametlikule DTD-le. &kword; 1.1 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/kword-1.1.dtd"
|
||
|
>http://www.koffice.org/DTD/kword-1.1.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>documentinfo.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab dokumendi infot. See on sama info, mille oled sisestanud dialoogi, mis avaneb menüükäsuga <menuchoice
|
||
|
> <guimenu
|
||
|
>Fail</guimenu
|
||
|
><guimenuitem
|
||
|
>Dokumendi info</guimenuitem
|
||
|
></menuchoice
|
||
|
>. Selle põhjal on mugav tuvastada autoreid, nende kontaktinfot &etc;</para>
|
||
|
<para
|
||
|
>&koffice; 1.1 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/document-info-1.1.dtd"
|
||
|
>http://www.koffice.org/DTD/document-info-1.1.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
</variablelist>
|
||
|
|
||
|
<para
|
||
|
>Lisaks sellele võib &kword;i dokumendifaili olla kaasatud ka muid faile. Näiteks pildid, põimitud dokumendid ja muulaadne binaarinfo salvestatakse &kword;i dokumendis eraldi failidena.</para>
|
||
|
|
||
|
<para
|
||
|
>Täpsemat infot &kword;i failide salvestamise kohta, samuti muud sellega seonduvat infot leiab <ulink url="http://www.koffice.org/developer"
|
||
|
>KOffice'i API</ulink
|
||
|
> ja <ulink url="http://developer.kde.org"
|
||
|
>&kde; arendajate üldiselt infoleheküljelt</ulink
|
||
|
>.</para>
|
||
|
</sect2>
|
||
|
|
||
|
<sect2 id="kword-file-format-12">
|
||
|
<title
|
||
|
>&kword; 1.2</title>
|
||
|
|
||
|
<para
|
||
|
>Tekstifailid on pakitud ühte faili, milles kasutatav algoritm on sama, mida kasutab <ulink url="http://www.info-zip.org/pub/infozip/Zip.html"
|
||
|
><application
|
||
|
>zip</application
|
||
|
></ulink
|
||
|
>. See muudatus on ette võetud põhjusel, et laialdaselt on tulnud kasutusele muid vaba tarkvara kontoritöö komplekte, samuti võimaldab see tõhusamalt töötada vähese arvutimälu tingimustes.</para>
|
||
|
<para
|
||
|
>Failid saab lahti pakkida järgmise käsuga:</para>
|
||
|
|
||
|
<screen width="40"
|
||
|
><prompt
|
||
|
>%</prompt
|
||
|
> <userinput
|
||
|
><command
|
||
|
>unzip </command
|
||
|
><replaceable
|
||
|
>failinimi</replaceable
|
||
|
></userinput
|
||
|
>
|
||
|
</screen>
|
||
|
|
||
|
<para
|
||
|
>*Selle käsuga pakitakse lahti kõik &kword;i dokumendifaili komponendid.</para
|
||
|
>
|
||
|
|
||
|
<para
|
||
|
>Kõigi &kword;i failide tekstiosa kujutab endast &XML; (laiendatud märkekeel) faile.</para
|
||
|
>
|
||
|
|
||
|
<note
|
||
|
><para
|
||
|
>Kui soovid lähemalt tundma õppida &XML;-dokumente ja tehnoloogiat, külasta palun <simplelist
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.w3.org/XML/"
|
||
|
>World Wide Web Consortiumi &XML;-lehekülgi</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.xml.org/xml/resources_cover.shtml"
|
||
|
>XML.org ressursside lehekülge</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink url="http://www.ucc.ie/xml/"
|
||
|
>&XML;-i KKK-d</ulink
|
||
|
></member
|
||
|
> </simplelist
|
||
|
></para
|
||
|
></note>
|
||
|
|
||
|
<para
|
||
|
>Iga &kword;i fail sisaldab vähemalt kolm faili:</para>
|
||
|
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>maindoc.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab infot &kword;i dokumendi teksti, tabelite ja valemite kohta. See on märgitud &XML;-siltidega vastavalt ametlikule DTD-le.</para
|
||
|
> <para
|
||
|
>&kword; 1.2 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/kword-1.2.dtd"
|
||
|
>http://www.koffice.org/DTD/kword-1.2.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>documentinfo.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab dokumendi infot. See on sama info, mille oled sisestanud dialoogi, mis avaneb menüükäsuga <menuchoice
|
||
|
> <guimenu
|
||
|
>Fail</guimenu
|
||
|
><guimenuitem
|
||
|
>Dokumendi info</guimenuitem
|
||
|
></menuchoice
|
||
|
>. Selle põhjal on mugav tuvastada autoreid, nende kontaktinfot jne.</para>
|
||
|
<para
|
||
|
> &koffice; 1.2 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/document-info-1.2.dtd"
|
||
|
>http://www.koffice.org/DTD/document-info-1.2.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>mimetype</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab &kword;i failide MIME tüüpi. Seda infot kasutab &kde; määramaks, et tegemist on &kword;i failiga.</para>
|
||
|
<para
|
||
|
>Selle faili sisu on alati <emphasis
|
||
|
>application/x-kword</emphasis
|
||
|
></para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
</variablelist>
|
||
|
|
||
|
<para
|
||
|
>Lisaks sellele võib &kword;i dokumendifaili olla kaasatud ka muid faile. Näiteks pildid, põimitud dokumendid ja muulaadne binaarinfo salvestatakse &kword;i dokumendis eraldi failidena.</para>
|
||
|
|
||
|
<para
|
||
|
>Täpsemat infot &kword;i failide salvestamise kohta, samuti muud sellega seonduvat infot leiab <ulink url="http://www.koffice.org/developer"
|
||
|
>KOffice'i API</ulink
|
||
|
> ja <ulink url="http://developer.kde.org"
|
||
|
>&kde; arendajate üldiselt infoleheküljelt</ulink
|
||
|
>.</para>
|
||
|
|
||
|
</sect2>
|
||
|
<sect2 id="kword-file-format-13">
|
||
|
<title
|
||
|
>&kword; 1.3 (praegune versioon)</title>
|
||
|
|
||
|
<para
|
||
|
>Tekstifailid on pakitud ühte faili, milles kasutatav algoritm on sama, mida kasutab <ulink url="http://www.info-zip.org/pub/infozip/Zip.html"
|
||
|
><application
|
||
|
>zip</application
|
||
|
></ulink
|
||
|
>. See muudatus on ette võetud põhjusel, et laialdaselt on tulnud kasutusele muid vaba tarkvara kontoritöö komplekte, samuti võimaldab see tõhusamalt töötada vähese arvutimälu tingimustes.</para>
|
||
|
<para
|
||
|
>Failid saab lahti pakkida järgmise käsuga:</para>
|
||
|
|
||
|
<screen width="40"
|
||
|
><prompt
|
||
|
>%</prompt
|
||
|
> <userinput
|
||
|
><command
|
||
|
>unzip </command
|
||
|
><replaceable
|
||
|
>failinimi</replaceable
|
||
|
></userinput
|
||
|
>
|
||
|
</screen>
|
||
|
|
||
|
<para
|
||
|
>*Selle käsuga pakitakse lahti kõik &kword;i dokumendifaili komponendid.</para
|
||
|
>
|
||
|
|
||
|
<para
|
||
|
>Kõigi &kword;i failide tekstiosa kujutab endast &XML; (laiendatud märkekeel) faile.</para
|
||
|
>
|
||
|
|
||
|
<note
|
||
|
><para
|
||
|
>Kui soovid lähemalt tundma õppida &XML;-dokumente ja tehnoloogiat, külasta palun <simplelist
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.w3.org/XML/"
|
||
|
>World Wide Web Consortiumi &XML;-lehekülgi</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink
|
||
|
url="http://www.xml.org/xml/resources_cover.shtml"
|
||
|
>XML.org ressursside lehekülge</ulink
|
||
|
></member
|
||
|
> <member
|
||
|
><ulink url="http://www.ucc.ie/xml/"
|
||
|
>&XML;-i KKK-d</ulink
|
||
|
></member
|
||
|
> </simplelist
|
||
|
></para
|
||
|
></note>
|
||
|
|
||
|
<para
|
||
|
>Iga &kword;i fail sisaldab vähemalt kolm faili:</para>
|
||
|
|
||
|
<variablelist>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>maindoc.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab infot &kword;i dokumendi teksti, tabelite ja valemite kohta. See on märgitud &XML;-siltidega vastavalt ametlikule DTD-le.</para
|
||
|
> <para
|
||
|
>&kword; 1.3 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/kword-1.3.dtd"
|
||
|
>http://www.koffice.org/DTD/kword-1.3.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>documentinfo.xml</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab dokumendi infot. See on sama info, mille oled sisestanud dialoogi, mis avaneb menüükäsuga <menuchoice
|
||
|
> <guimenu
|
||
|
>Fail</guimenu
|
||
|
><guimenuitem
|
||
|
>Dokumendi info</guimenuitem
|
||
|
></menuchoice
|
||
|
>. Selle põhjal on mugav tuvastada autoreid, nende kontaktinfot jne.</para>
|
||
|
<para
|
||
|
> &koffice; 1.3 DTD leidub aadressil <ulink url="http://www.koffice.org/DTD/document-info-1.3.dtd"
|
||
|
>http://koffice.kde.org/DTD/document-info-1.3.dtd</ulink
|
||
|
>.</para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
<varlistentry>
|
||
|
<term
|
||
|
><filename
|
||
|
>mimetype</filename
|
||
|
></term>
|
||
|
<listitem>
|
||
|
<para
|
||
|
>See fail sisaldab &kword;i failide MIME tüüpi. Seda infot kasutab &kde; määramaks, et tegemist on &kword;i failiga.</para>
|
||
|
<para
|
||
|
>Selle faili sisu on alati <emphasis
|
||
|
>application/x-kword</emphasis
|
||
|
></para>
|
||
|
</listitem>
|
||
|
</varlistentry>
|
||
|
|
||
|
</variablelist>
|
||
|
|
||
|
<para
|
||
|
>Lisaks sellele võib &kword;i dokumendifaili olla kaasatud ka muid faile. Näiteks pildid, põimitud dokumendid ja muulaadne binaarinfo salvestatakse &kword;i dokumendis eraldi failidena.</para>
|
||
|
|
||
|
<para
|
||
|
>Täpsemat infot &kword;i failide salvestamise kohta, samuti muud sellega seonduvat infot leiab <ulink url="http://www.koffice.org/developer"
|
||
|
>KOffice'i API</ulink
|
||
|
> ja <ulink url="http://developer.kde.org"
|
||
|
>&kde; arendajate üldiselt infoleheküljelt</ulink
|
||
|
>.</para>
|
||
|
|
||
|
</sect2>
|
||
|
</sect1>
|
||
|
|