Text Import

Sets the import options for delimited data.

To access this command...

Choose File - Open - select under "File type": "Text CSV"

Choose Data - Text to Columns (Calc)


Import

Character Set

Specifies the character set to be used in the imported file.

Keel

MÀÀrab, kuidas numbrijÀrjendid imporditakse.

Kui keeleks on mÀÀratud "VaikevÀÀrtus" (CSV-impordi puhul) vÔi "Automaatne" (HTML-impordi puhul), kasutab Calc globaalselt mÀÀratud keelt. Kui keeleks on mÀÀratud teatud keel, kasutatakse arvude importimisel seda keelt.

HTML-dokumendi importimisel vĂ”ib keelevalik minna vastuollu globaalse HTML-ĂŒhilduvuse sĂ€ttega Arvude jaoks kasutatakse lokaati "Inglise (USA)". Globaalne sĂ€te kehtib vaid siis, kui keelesĂ€tteks on valitud "Automaatne". Kui valid HTML-i importimissĂ€tete dialoogis teatud keele, siis globaalset sĂ€tet eiratakse.

From Row

Specifies the row where you want to start the import. The rows are visible in the preview window at the bottom of the dialog.

Separator Options

Specifies whether your data uses separators or fixed widths as delimiters.

Fixed width

Separates fixed-width data (equal number of characters) into columns. Click on the ruler in the preview window to set the width.

Separated by

Select the separator used in your data.

Tab

Separates data delimited by tabs into columns.

Semicolon

Separates data delimited by semicolons into columns.

Comma

Separates data delimited by commas into columns.

Space

Separates data delimited by spaces into columns.

Other

Separates data into columns using the custom separator that you specify. Note: The custom separator must also be contained in your data.

Merge delimiters

Combines consecutive delimiters and removes blank data fields.

Trim spaces

Removes starting and trailing spaces from data fields.

String delimiter

Select a character to delimit text data. You can can also enter a character in the text box.

Muud sÀtted

MÀÀrab mÔned muud impordisÀtted.

Format quoted field as text

Kui see sÀte on lubatud, siis imporditakse tekstina vÀljad vÔi lahtrid, mille vÀÀrtused on kogu ulatuses (vÀÀrtuse esimene ja viimane mÀrk vÔrduvad tekstieraldajaga) jutumÀrkides.

Erinumbrite tuvastamine

Kui see sÀte on lubatud, tuvastab Calc automaatselt kÔik arvuvormingud, kaasa arvatud erinumbrivormingud nagu kuupÀevad, kellaajad ja teaduslikus kirjaviisis arvud.

Valitud keel mÔjutab selliste erinumbrite tuvastamisviisi, kuna erinevates keeltes ja piirkondades vÔivad nende jaoks olla erinevad reeglid.

Kui see sĂ€te on keelatud, tuvastab ja teisendab Calc vaid kĂŒmnendarvud. ÜlejÀÀnud arvud, kaasa arvatud teaduslikus kirjaviisis vormindatud arvud, imporditakse tekstina. KĂŒmnendarvu stringis vĂ”ivad olla numbrid 0-9, tuhandeliste eraldaja ja kĂŒmnendkohtade eraldaja. Tuhandeliste eraldajad ja kĂŒmnendkohtade eraldajad vĂ”ivad sĂ”ltuvalt valitud keelest ja piirkonnast varieeruda.

Skip empty cells

When this option is enabled, Calc preserves previous content of cells when pasting empty ones. Otherwise, Calc deletes content of previous cells.

In Text to Columns conversion, if cell content begins with a separator and this option is disabled, then first column will be emptied.

Fields

Shows how your data will look when it is separated into columns.

Column type

Choose a column in the preview window and select the data type to be applied the imported data. You can select one of the following options:

Type

Function

Standard

LibreOffice determines the type.

Text

Imported data are treated as text.

Date (DMY)

Applies a date format (Day, Month, Year) to the imported data in a column.

Date (MDY)

Applies a date format (Month, Day, Year) to the imported data in a column.

Date (YMD)

Applies a date format (Year, Month, Day) to the imported data in a column.

US English

Numbers formatted in US English are searched for and included regardless of the system language. A number format is not applied. If there are no US English entries, the Standard format is applied.

Hide

The data in the column are not imported.


If you selected one of the date formats (DMY), (MDY), or (YMD) and you enter numbers without date delimiters, the numbers are interpreted as follows:

Number of characters

Date format

6

Two characters each are taken for day, month, and year in the selected order.

8

Four characters are taken for the year, two each for month and day, in the selected order.

5 or 7

As with 6 or 8 characters, but the first part of the sequence has one character less. This will suppress a leading zero for month and day.


NÔuande ikoon

If you want to include the leading zero in the data you import, in telephone numbers for example, apply the "Text" format to the column.


Preview

Shows how the imported text will look after it is separated into columns. To apply a format to a column when it is imported, click a column and select a Column type. When you select a Column type, the column heading displays the applied format.

If you want to use a fixed width to separate the imported data into columns, click in the ruler to set the width boundaries.

Navigating Without the Mouse

For more information, see Information about Import and Export Filters.