Start of Content Area

Function documentationSET_WORDWRAP_BEHAVIOR  Locate the document in its SAP Library structure

Use

Use this method to set the behavior of the line break.

Windows

HTML

Java

ü

X

ü

Features

call method textedit->set_wordwrap_behavior

  exporting
    wordwrap_mode = wordwrap_mode
    wordwrap_position = wordwrap_position
    wordwrap_to_linebreak_mode = wordwrap_to_linebreak_mode

  exceptions
    error_cntl_call_method = 1.

Parameter

Description

Possible Values

wordwrap_mode

Line break behavior

wordwrap_off
No line break

wordwrap_at_windowborder
Line break at the edge of the window (default value)

wordwrap_at_fixed_position
Line break at a fixed position

For further information, refer to Class Constants and the CONSTRUCTOR method.

wordwrap_position

If wordwrap_mode = textedit->wordwrap_at_fixed_position: Position for the automatic line break in a line

Default value: -1

wordwrap_to_linebreak_mode

Converts soft line breaks to hard ones when you save in the SAP System

false
Soft line breaks are ignored when you save

true
Soft line breaks are converted to hard breaks when you save

 

 

End of Content Area