@ -30,7 +30,7 @@ public class AdjustWorkBookDefaultStyleUtils {
}
public static void adjustFloat(FloatElement floatElement) {
public static void adjustFloatElement(FloatElement floatElement) {
if (DesignModeContext.isDuchampMode()) {
Style style = floatElement.getStyle();
style = style.deriveBackground(ColorBackground.getInstance(TEMPLATE_BACKGROUND));
@ -99,7 +99,7 @@ public class FormulaFloatAction extends ElementCaseAction {
reportPane.stopEditing();
final FloatElement floatElement = new FloatElement();
AdjustWorkBookDefaultStyleUtils.adjustFloat(floatElement);
AdjustWorkBookDefaultStyleUtils.adjustFloatElement(floatElement);
final UIFormula formulaPane = FormulaFactory.createFormulaPane();
formulaPane.populate(BaseFormula.createFormulaBuilder().build());
@ -60,7 +60,7 @@ public class TextBoxFloatAction extends AbstractShapeAction {
return;
FloatElement floatElement = new FloatElement("Text");
this.startDraw(floatElement);
doWithDrawingFloatElement();