qGdAM‖Text Import

gtCCw‖Sets the import options for delimited data.

To access this command...

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

LCAQJ‖Choose Data - Text to Columns (Calc).

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


jGHnF‖Import

KDiMD‖Character Set

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

3UHtt‖Language

Y5cc8‖Determines how the number strings are imported.

TBAyq‖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.

zGQuN‖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.

7EbAk‖From Row

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

MHZFB‖Separator Options

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

88Gd4‖Fixed width

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

cZS9C‖Separated by

9jQbM‖Select the separator used in your data.

pZvut‖Tab

cDfnT‖Separates data delimited by tabs into columns.

4j2Fs‖Semicolon

GGBDQ‖Separates data delimited by semicolons into columns.

bSbST‖Comma

JVaYY‖Separates data delimited by commas into columns.

jDog8‖Space

UvRBf‖Separates data delimited by spaces into columns.

72ELv‖Other

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

dpCU9‖Merge delimiters

G6Vj9‖Combines consecutive delimiters and removes blank data fields.

kzXfC‖Trim spaces

GDJyG‖Removes starting and trailing spaces from data fields.

CzPeh‖String delimiter

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

UxBV7‖Other options

oLTVm‖Sets some other import options.

bGo58‖Format quoted field as text

g4Tav‖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.

EGDzB‖Detect special numbers

GcfEf‖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.

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

bdLpg‖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.

NTizB‖Detect scientific notation

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

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

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

ZDCJp‖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.

cB3Nd‖Skip empty cells

YVysE‖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.

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

8iYFC‖Evaluate formulas

vEoW6‖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.

vMAUg‖Fields

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

uyoo4‖Column type

PG5gx‖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:

tE4gu‖Type

H3pUb‖Function

ZBAQG‖Standard

ACMME‖LibreOfficeDev determines the type.

KrFCa‖Text

N56fF‖The imported data is treated as text.

hGZEW‖Date (DMY)

g9tFv‖The imported data is assumed as Day, Month and Year (in this order).

YmwRS‖Date (MDY)

D7PWy‖The imported data is assumed as Month, Day and Year (in this order).

iWHH7‖Date (YMD)

wJDAU‖The imported data is assumed as Year, Month and Day (in this order).

ArF9z‖US English

ZmkCp‖The imported numbers are interpreted using the US English locale, irrespective of the locale selected in the Locale combobox above.

hNPjo‖Hide

BEqYk‖The data in the column is not imported.


6zjCR‖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:

VgpdD‖Number of characters

zALGE‖Date format

6

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

8

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

L3452‖5 or 7

xHrcK‖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.


tip

SoVNs‖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.


3KGR8‖Preview

oh66C‖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.

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