| commit | 09c282d2ee03a514839faf3bfb31df43bd3297bf | [log] [tgz] |
|---|---|---|
| author | Vincent Lorenzo <vincent.lorenzo@cea.fr> | Mon Nov 23 13:55:13 2020 +0100 |
| committer | Vincent Lorenzo <vincent.lorenzo@cea.fr> | Mon Nov 23 13:57:22 2020 +0100 |
| tree | c89fa3dee453515ceb3081ee70dfa0580590a789 | |
| parent | 30a76b6dfbc9ade5c4850c6382a038ed00642249 [diff] |
Bug 552033: [Model2Doc] The framework must provide a way to create a paragraph from an EAttribute (type by EString or others?\!) - fix name for icon EAttributeAsParagraph.gif Change-Id: I6c26c3abd89f5b07edb6ab4e074bf9e01bb79521 Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
diff --git a/plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/custom_icons/full/obj16/EAttributeAsPAragraph.gif b/plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/custom_icons/full/obj16/EAttributeAsParagraph.gif similarity index 100% rename from plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/custom_icons/full/obj16/EAttributeAsPAragraph.gif rename to plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/custom_icons/full/obj16/EAttributeAsParagraph.gif Binary files differ
diff --git a/plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/icons/full/obj16/EAttributeAsPAragraph.gif b/plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/icons/full/obj16/EAttributeAsParagraph.gif similarity index 100% rename from plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/icons/full/obj16/EAttributeAsPAragraph.gif rename to plugins/emf/org.eclipse.papyrus.model2doc.emf.documentstructuretemplate.edit/icons/full/obj16/EAttributeAsParagraph.gif Binary files differ
diff --git a/plugins/odt/org.eclipse.papyrus.model2doc.odt/src/org/eclipse/papyrus/model2doc/odt/internal/util/ParagraphImageWriter.java b/plugins/odt/org.eclipse.papyrus.model2doc.odt/src/org/eclipse/papyrus/model2doc/odt/internal/util/ParagraphImageWriter.java index 88167d0..66096d2 100755 --- a/plugins/odt/org.eclipse.papyrus.model2doc.odt/src/org/eclipse/papyrus/model2doc/odt/internal/util/ParagraphImageWriter.java +++ b/plugins/odt/org.eclipse.papyrus.model2doc.odt/src/org/eclipse/papyrus/model2doc/odt/internal/util/ParagraphImageWriter.java
@@ -154,7 +154,7 @@ } /** - * @param endPAragraph + * @param endParagraph * if <code>true</code> we will add an empty line after the image insertion */ public final void setEndParagraph(final boolean endParagraph) { @@ -240,7 +240,7 @@ XTextContent graphicContent = UnoRuntime.queryInterface(XTextContent.class, graphicObject); PropertySetUtil.setProperty(graphicContent, "AnchorType", this.imageAnchor); //$NON-NLS-1$ - + XNameContainer bitmapContainer = odtEditor.getBitmapTable(imageFilePath); if (bitmapContainer != null) { PropertySetUtil.setProperty(graphicContent, "GraphicURL", bitmapContainer.getByName(imageFilePath)); //$NON-NLS-1$