Show/Hide Toolbars

EmEditor Help

Navigation: EmEditor Help > Plug-in Reference > Structures

EmEditor Plug-in Reference: CONVERT_CSV_INFO

Scroll Prev Top Next More
EmEditor Home - EmEditor Help - Plug-in Reference - Structures

CONVERT_CSV_INFO

Used by EE_CONVERT_CSV message.

typedef struct _CONVERT_CSV_INFO {

   UINT cbSize;

   int iDestMode;

   UINT nFlags;

   int nSepCount;

   const int* pcxSepWidths;

} CONVERT_CSV_INFO;

Fields

cbSize

Specifies sizeof( CONVERT_CSV_INFO ).

iDestMode

Specifies the index of the CSV format you want to convert the current document to. 0 means fixed-width columns format (non-CSV). 1 means the first defined format in the CSV tab of the Customize dialog box (Comma separeted by default).

nFlags

You can specify a combination of the following values.

Value

Meaning

CSV_HALF_WIDTH

Assumes all half-width characters to improve the speed.

CSV_DISCARD_UNDO

Discards undo information to improve the speed.

nSepCount

If the current document is a non-CSV document, and if you want to convert the current document of fixed-width columns to a CSV document, this parameter specifies the number of separators, and it must be equal to the size of the array specified in the pcxSepWidths parameter. This parameter is ignored if the current document is a CSV document.

pcxSepWidths

Specifies the array of integers representing the widths between separators if the nSepCount parameter is non-zero.

Version

Supported on Version 19.8 or later.

Copyright © 2003-2021 by Emurasoft, Inc.