private void printReport() { cEditor editor = cMainEditor.getDocActive(); if (editor != null) { editor.printReport(); } }