static void |
JsonOperationConsumer.addAnnotation(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
String id,
String author,
String date) |
|
static void |
JsonOperationConsumer.addCells(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
int count,
Component parentComponent,
OdfElement newCellElement,
boolean isTextTable) |
|
void |
Component.addChild(int index,
Component c) |
Adds the given component as new child component.
|
void |
Row.addChild(int index,
Component c) |
Adds the given component to the root element
|
void |
Table.addChild(int index,
Component c) |
Adds the given component to the root element
|
void |
TextContainer.addChild(int index,
Component c) |
Adds the given component to the root element
|
static void |
JsonOperationConsumer.addColumns(Component rootComponent,
org.json.JSONArray start,
org.json.JSONArray tableGrid,
Integer referenceColumnGridPosition,
String insertMode) |
Inserts cells for a new column into a tableElement.
|
static void |
JsonOperationConsumer.addDrawing(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
String type,
CollabTextDocument opsDoc) |
|
static Component |
JsonOperationConsumer.addElementAsComponent(Component parentComponent,
OdfElement newElement,
int newPosition) |
Adds the newElement to the parentComponent.
|
static void |
JsonOperationConsumer.addField(Component rootComponent,
OdfContentDom contentDom,
org.json.JSONArray start,
String type,
String representation,
org.json.JSONObject attrs) |
Currently all fields are being mapped to a common text field, i.e.
|
static void |
JsonOperationConsumer.addLineBreak(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs) |
|
static void |
JsonOperationConsumer.addNoteSelection(Component rootComponent,
org.json.JSONArray start,
String type,
String position,
org.json.JSONObject attrs,
String id) |
|
static TextParagraphElementBase |
JsonOperationConsumer.addParagraph(Component parentComponent,
int newPosition,
org.json.JSONObject attrs) |
For the demo document "FruitDepot-SeasonalFruits.odt" the tableElement looks like
|
static void |
JsonOperationConsumer.addParagraph(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs) |
For the demo document "FruitDepot-SeasonalFruits.odt" the tableElement looks like
|
static void |
JsonOperationConsumer.addRows(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
int count,
boolean addDefaultCells,
int referenceRow,
boolean isTextTable) |
addRows Inserts one or more new rows into a tableElement.
|
static void |
JsonOperationConsumer.addTab(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs) |
|
static void |
JsonOperationConsumer.addTable(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
org.json.JSONObject sizeExceeded,
String tableName) |
|
static void |
JsonOperationConsumer.addText(Component rootComponent,
org.json.JSONArray start,
org.json.JSONObject attrs,
String newText) |
|
static void |
JsonOperationConsumer.changeField(Component rootComponent,
OdfContentDom contentDom,
org.json.JSONArray start,
String type,
String representation,
org.json.JSONObject attrs) |
Modify field at the given position
|
static Component |
Component.createChildComponent(int position,
Component parentComponent,
OdfElement newChildElement) |
Inserts a component at the given position as child
|
static Component |
Component.createComponent(Component parentComponent,
OdfElement newChildElement) |
|
static void |
JsonOperationConsumer.delete(Component rootComponent,
org.json.JSONArray start,
org.json.JSONArray end) |
|
static void |
JsonOperationConsumer.deleteColumns(Component rootComponent,
org.json.JSONArray start,
Integer startGrid,
Integer endGrid) |
Deletes the cells of a single column or multiple columns from a tableElement.
|
static void |
JsonOperationConsumer.format(Component rootComponent,
org.json.JSONArray start,
org.json.JSONArray end,
org.json.JSONObject attrs) |
Setting attributes on text, require the text container, otherwise the character itself (as
paragraph is not child of paragraph
|
protected String |
Component.getPosition(Component c) |
|
protected static String |
Component.getPositionString(Component c) |
|
static void |
JsonOperationConsumer.move(Component rootComponent,
org.json.JSONArray start,
org.json.JSONArray to) |
Move the pointed component to its new destination.
|
static void |
JsonOperationConsumer.setColumnsWidth(Component tableComponent,
org.json.JSONArray start,
org.json.JSONArray tableGrid,
boolean isTextTable) |
|
static void |
JsonOperationConsumer.splitParagraph(Component rootComponent,
org.json.JSONArray start) |
Splits a paragraph into two splitting the text among the two.
|