Public Member Functions

nsILineBreakSink Class Reference

A receiver of line break data. More...

#include <nsLineBreaker.h>

List of all members.

Public Member Functions

virtual void SetBreaks (PRUint32 aStart, PRUint32 aLength, PRPackedBool *aBreakBefore)=0
 Sets the break data for a substring of the associated text chunk.
virtual void SetCapitalization (PRUint32 aStart, PRUint32 aLength, PRPackedBool *aCapitalize)=0
 Indicates which characters should be capitalized.

Detailed Description

A receiver of line break data.


Member Function Documentation

virtual void nsILineBreakSink::SetBreaks ( PRUint32  aStart,
PRUint32  aLength,
PRPackedBool aBreakBefore 
) [pure virtual]

Sets the break data for a substring of the associated text chunk.

One or more of these calls will be performed; the union of all substrings will cover the entire text chunk. Substrings may overlap (i.e., we may set the break-before state of a character more than once).

Parameters:
aBreakBefore the break-before states for the characters in the substring.
virtual void nsILineBreakSink::SetCapitalization ( PRUint32  aStart,
PRUint32  aLength,
PRPackedBool aCapitalize 
) [pure virtual]

Indicates which characters should be capitalized.

Only called if BREAK_NEED_CAPITALIZATION was requested.


The documentation for this class was generated from the following file: