Contents

# Text Import

Sets the import options for delimited data.

To access this command...

Choose File - Open - File type, select Text CSV.

Choose Data - Text to Columns (Calc).

Copy data to clipboard, then choose Edit - Paste Special - Paste Special (Calc).

## Uvoz

### Znakovni skup

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

### Jezik

Determines how the number strings are imported.

If Language is set to Default (for CSV import) or Automatic (for HTML import), Calc will use the globally set language. If Language is set to a specific language, that language will be used when importing numbers.

When importing an HTML document, the Language selection can conflict with the global HTML option Use 'English (USA)' locale for numbers. The global HTML option is effective only when the Automatic language option is selected. If you select a specific language in the HTML Import Options dialog, the global HTML option is ignored.

### Iz retka

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

## Odrednice separatora

Određuje koriste li vaši podaci kao razdjelnike separatore ili nepromjenjivu širinu.

### Utvrđena širina

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.

### Točka-zarez

Separates data delimited by semicolons into columns.

### Zarez

Separates data delimited by commas into columns.

### Razmak

Separates data delimited by spaces into columns.

### Ostalo

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

### Razdjelnici za spajanje

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 also enter a character in the text box.

## Ostale odrednice.

Sets some other import options.

### Format quoted field as text

When this option is enabled, fields or cells whose values are quoted in their entirety (the first and last characters of the value equal the text delimiter) are imported as text.

### Pronađi izvanredne brojeve.

When this option is enabled, Calc will automatically detect all number formats, including special number formats such as dates and time. Scientific notation will also be detected as Detect scientific notation option must be enabled at the same time.

The selected language influences how such special numbers are detected, since different languages and regions may have different conventions for such special numbers.

When this option is disabled, Calc will detect and convert only numbers in decimal notation. Detection of numbers in scientific notation will depend on Detect scientific notation option. The rest will be imported as text. A decimal number string can have digits 0-9, thousands separators, and a decimal separator. Thousands separators and decimal separators may vary with the selected language and region.

### Detect scientific notation

When this option is enabled, Calc will automatically detect numbers with scientific notation, like 5E2 for 500.

The selected language influences how scientific notation is detected, since different languages and regions may have different decimal separator.

This option can be disabled only if Detect special numbers option is previously disabled.

When this option is disabled, Calc will detect and convert only numbers in decimal notation. The rest will be imported as text. A decimal number string can have digits 0-9, thousands separators, and a decimal separator. Thousands separators and decimal separators may vary with the selected language and region.

### Skip empty cells

Available when using Paste Special: 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.

### Evaluate formulas

Determines whether formula expressions starting with a = equal sign character are to be evaluated as formulas or imported as textual data. If checked evaluate formulas on input. Otherwise formulas are input as text.

## Polja

Prikazuje kako će vaši podaci izgledati kada budu podijeljeni u stupce.

### Vrsta stupca

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 | Funkcija
--- | ---
Standardno | LibreOffice determines the type.
Tekst | The imported data is treated as text.
Datum (DMG) | The imported data is assumed as Day, Month and Year (in this order).
Datum (MDG) | The imported data is assumed as Month, Day and Year (in this order).
Datum (GMD) | The imported data is assumed as Year, Month and Day (in this order).
Američki engleski | The imported numbers are interpreted using the US English locale, irrespective of the locale selected in the Locale combobox above.
Sakrij | The data in the column is not imported.

Ako odaberete jedan od oblika datuma (DMG), (MDG) ili (GMD) i upišete brojeve bez razdjelnika datuma, brojevi će bit protumačeni kako slijedi:

Broj znakova | Oblik datuma
--- | ---
6 | Po dva znaka se uzimaju za dan, mjesec i godinu odabranim redoslijedom.
8 | Četiri znaka se uzimaju za godinu, a po dva za mjesec i dan, odabranim redoslijedom.
5 ili 7 | Kao s 6 ili 8 znakova, ali prvi dio niza ima jedan znak manje. Ovako će se početna nula za mjesec i dan.

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.

### Pregled

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.

Ako želite koristiti nepromjenjivu širinu da biste razdijelili uvezene podatke u stupce, klikom na ravnalo odredite širinu stupca.

Related Topics

Navigating Without the Mouse

Information about Import and Export Filters.

Opening and Saving Text CSV Files

Importing and Exporting CSV Text Files with Formulas

CSV Filter Options