Package | Description |
---|---|
org.languagetool.openoffice |
Modifier and Type | Field and Description |
---|---|
protected List<DocumentCache.TextParagraph> |
DocumentCache.toTextMapping |
Modifier and Type | Method and Description |
---|---|
DocumentCache.TextParagraph |
DocumentCache.createTextParagraph(int type,
int paragraph) |
DocumentCache.TextParagraph |
DocumentCache.getNumberOfTextParagraph(int numberOfFlatParagraph)
get Number of Text Paragraph from Number of Flat Paragraph
|
DocumentCache.TextParagraph |
ViewCursorTools.getViewCursorParagraph()
get the paragraph under the view cursor
|
Modifier and Type | Method and Description |
---|---|
void |
TextLevelCheckQueue.addQueueEntry(DocumentCache.TextParagraph nStart,
DocumentCache.TextParagraph nEnd,
int nCache,
int nCheck,
String docId,
boolean overrideRunning)
Add a new entry to queue
add it only if the new entry is not identical with the last entry or the running
|
org.languagetool.openoffice.TextLevelCheckQueue.QueueEntry |
TextLevelCheckQueue.createQueueEntry(DocumentCache.TextParagraph nStart,
DocumentCache.TextParagraph nEnd,
int cacheNum,
int nCheck,
String docId) |
org.languagetool.openoffice.TextLevelCheckQueue.QueueEntry |
TextLevelCheckQueue.createQueueEntry(DocumentCache.TextParagraph nStart,
DocumentCache.TextParagraph nEnd,
int nCache,
int nCheck,
String docId,
boolean overrideRunning)
Create and give back a new queue entry
|
String |
DocumentCache.getDocAsString(DocumentCache.TextParagraph textParagraph,
int parasToCheck,
boolean checkOnlyParagraph,
boolean useQueue,
boolean hasFootnotes)
Gives Back the full Text as String sorted by cursor types
|
int |
DocumentCache.getEndOfParaCheck(DocumentCache.TextParagraph textParagraph,
int parasToCheck,
boolean checkOnlyParagraph,
boolean useQueue,
boolean addParas)
Gives back the end paragraph for text level check
|
int |
DocumentCache.getFlatParagraphNumber(DocumentCache.TextParagraph textParagraph)
get Number of Flat Paragraph from Number of Text Paragraph
|
org.languagetool.openoffice.TextLevelCheckQueue.QueueEntry |
SingleDocument.getNextQueueEntry(DocumentCache.TextParagraph nPara)
get the next queue entry which is the next empty cache entry
|
int |
DocumentCache.getStartOfParaCheck(DocumentCache.TextParagraph textParagraph,
int parasToCheck,
boolean checkOnlyParagraph,
boolean useQueue,
boolean addParas)
Gives back the start paragraph for text level check
|
int |
DocumentCache.getStartOfParagraph(int nPara,
DocumentCache.TextParagraph textParagraph,
int parasToCheck,
boolean checkOnlyParagraph,
boolean useQueue,
boolean hasFootnotes)
Gives Back the StartPosition of Paragraph
|
String |
DocumentCache.getTextParagraph(DocumentCache.TextParagraph textParagraph)
get the Content of a Text Paragraph
|
List<Integer> |
DocumentCache.getTextParagraphDeletedCharacters(DocumentCache.TextParagraph textParagraph)
get deleted Characters of Text Paragraph
|
int[] |
DocumentCache.getTextParagraphFootnotes(DocumentCache.TextParagraph textParagraph)
get footnotes of Text Paragraph by Index
|
com.sun.star.lang.Locale |
DocumentCache.getTextParagraphLocale(DocumentCache.TextParagraph textParagraph)
get Locale of Text Paragraph by Index
|
void |
SingleDocument.runQueueEntry(DocumentCache.TextParagraph nStart,
DocumentCache.TextParagraph nEnd,
int cacheNum,
int nCheck,
boolean override,
SwJLanguageTool lt)
run a text level check from a queue entry (initiated by the queue)
|
void |
DocumentCache.setTextParagraphFootnotes(DocumentCache.TextParagraph textParagraph,
int[] footnotePos)
set footnotes of Text Paragraph
|
void |
ViewCursorTools.setTextViewCursor(int xChar,
DocumentCache.TextParagraph yPara)
Set view cursor to paragraph paraNum
|
static void |
SpellAndGrammarCheckDialog.setTextViewCursor(int x,
DocumentCache.TextParagraph y,
ViewCursorTools viewCursor)
Set the view cursor to text position x, y
y = Paragraph of pure text (no footnotes, tables, etc.)
|
int |
DocumentCache.textSize(DocumentCache.TextParagraph textParagraph)
size of text cache for a type of text
|