LibreOffice Module tools (master) 1
Enumerations | Functions
lineend.hxx File Reference
#include <rtl/string.hxx>
#include <rtl/ustring.hxx>
#include <tools/toolsdllapi.h>
Include dependency graph for lineend.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  LineEnd {
  LINEEND_CR ,
  LINEEND_LF ,
  LINEEND_CRLF
}
 

Functions

LineEnd GetSystemLineEnd ()
 
TOOLS_DLLPUBLIC OString convertLineEnd (const OString &rIn, LineEnd eLineEnd)
 
TOOLS_DLLPUBLIC OUString convertLineEnd (const OUString &rIn, LineEnd eLineEnd)
 

Enumeration Type Documentation

◆ LineEnd

enum LineEnd
Enumerator
LINEEND_CR 
LINEEND_LF 
LINEEND_CRLF 

Definition at line 17 of file lineend.hxx.

Function Documentation

◆ convertLineEnd() [1/2]

TOOLS_DLLPUBLIC OString convertLineEnd ( const OString &  rIn,
LineEnd  eLineEnd 
)

Definition at line 1940 of file stream.cxx.

◆ convertLineEnd() [2/2]

TOOLS_DLLPUBLIC OUString convertLineEnd ( const OUString &  rIn,
LineEnd  eLineEnd 
)

Definition at line 1945 of file stream.cxx.

◆ GetSystemLineEnd()

LineEnd GetSystemLineEnd ( )
inline

Definition at line 19 of file lineend.hxx.

References LINEEND_CRLF, and LINEEND_LF.