// TODO: this function shouldn't be needed // private void pCopyAspectToPaint(cReportAspect fromAspect, cReportAspect toAspect) { toAspect.setAlign(fromAspect.getAlign()); toAspect.setBackColor(fromAspect.getBackColor()); toAspect.setBorderColor(fromAspect.getBorderColor()); toAspect.setBorderColor3d(fromAspect.getBorderColor3d()); toAspect.setBorderColor3dShadow(fromAspect.getBorderColor3dShadow()); toAspect.setBorderType(fromAspect.getBorderType()); toAspect.setBorderWidth(fromAspect.getBorderWidth()); toAspect.setCanGrow(fromAspect.getCanGrow()); toAspect.setFormat(fromAspect.getFormat()); toAspect.setHeight(fromAspect.getHeight()); toAspect.setIsAccounting(fromAspect.getIsAccounting()); toAspect.setLeft(fromAspect.getLeft()); toAspect.setNZOrder(fromAspect.getNZOrder()); toAspect.setSelectColor(fromAspect.getSelectColor()); toAspect.setSymbol(fromAspect.getSymbol()); toAspect.setTop(fromAspect.getTop()); toAspect.setTransparent(fromAspect.getTransparent()); toAspect.setWidth(fromAspect.getWidth()); toAspect.setWordWrap(fromAspect.getWordWrap()); pCopyFontPaint(fromAspect.getFont(), toAspect.getFont()); }