public getFormulaHide ( ) : |
||
Результат |
private void pCopyControl(cReportControl fromCtrl, cReportControl toCtrl) { toCtrl.setControlType(fromCtrl.getControlType()); cReportField field = toCtrl.getField(); field.setFieldType(fromCtrl.getField().getFieldType()); field.setIndex(fromCtrl.getField().getIndex()); field.setName(fromCtrl.getField().getName()); toCtrl.getFormulaHide().setName(fromCtrl.getFormulaHide().getName()); toCtrl.getFormulaHide().setText(fromCtrl.getFormulaHide().getText()); toCtrl.getFormulaValue().setName(fromCtrl.getFormulaValue().getName()); toCtrl.getFormulaValue().setText(fromCtrl.getFormulaValue().getText()); toCtrl.setHasFormulaHide(fromCtrl.getHasFormulaHide()); toCtrl.setHasFormulaValue(fromCtrl.getHasFormulaValue()); pCopyAspect(fromCtrl.getImage().getAspect(), toCtrl.getImage().getAspect()); cReportLabel label = toCtrl.getLabel(); pCopyAspect(fromCtrl.getLabel().getAspect(), label.getAspect()); label.setCanGrow(fromCtrl.getLabel().getCanGrow()); label.setText(fromCtrl.getLabel().getText()); pCopyAspect(fromCtrl.getLine().getAspect(), toCtrl.getLine().getAspect()); pCopyChart(fromCtrl.getChart(), toCtrl.getChart()); }