Top Description Constructors Methods
com.openhtmltopdf.bidi

public Class SimpleBidiReorderer

extends Object
implements BidiReorderer
Class Inheritance
All Implemented Interfaces
com.openhtmltopdf.bidi.BidiReorderer

Returns text unchanged.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public String
deshapeText(String text)

Implements com.openhtmltopdf.bidi.BidiReorderer.deshapeText.

Deshape text, for use if the shaped character is not in a font.

public boolean
public String
public String
shapeText(String text)

Implements com.openhtmltopdf.bidi.BidiReorderer.shapeText.

Arabic character shapes depends on whether a character is at the start, end or middle of a word.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SimpleBidiReordererback to summary
public SimpleBidiReorderer()

Method Detail

deshapeTextback to summary
public String deshapeText(String text)

Implements com.openhtmltopdf.bidi.BidiReorderer.deshapeText.

Doc from com.openhtmltopdf.bidi.BidiReorderer.deshapeText.

Deshape text, for use if the shaped character is not in a font.

Annotations
@Override
isLiveImplementationback to summary
public boolean isLiveImplementation()

Implements com.openhtmltopdf.bidi.BidiReorderer.isLiveImplementation.

Doc from com.openhtmltopdf.bidi.BidiReorderer.isLiveImplementation.

Useful for optimization.

Annotations
@Override
reorderRTLTextToLTRback to summary
public String reorderRTLTextToLTR(String text)

Implements com.openhtmltopdf.bidi.BidiReorderer.reorderRTLTextToLTR.

Annotations
@Override
shapeTextback to summary
public String shapeText(String text)

Implements com.openhtmltopdf.bidi.BidiReorderer.shapeText.

Doc from com.openhtmltopdf.bidi.BidiReorderer.shapeText.

Arabic character shapes depends on whether a character is at the start, end or middle of a word. This algorithm aims to change the characters depending on their context.

Annotations
@Override