private void addZarfLine() { AdverbLine zarfLine = sarfSagheer.getAdverbLine(); if (zarfLine != null) { tableAdapter .startRow() .addColumn(0, 4, null, getArabicTextP(ZARF_PREFIX, getMultiWord(zarfLine.getAdverbs()))) .endRow(); } }
private void addCommandLine() { ImperativeAndForbiddingLine commandLine = sarfSagheer.getImperativeAndForbiddingLine(); if (commandLine != null) { tableAdapter .startRow() .addColumn(0, 2, null, getArabicTextP(FORBIDDING_PREFIX, commandLine.getForbidding())) .addColumn(2, 2, null, getArabicTextP(COMMAND_PREFIX, commandLine.getImperative())) .endRow(); } }
private void addActiveLineRow() { ActiveLine activeLine = sarfSagheer.getActiveLine(); if (activeLine != null) { tableAdapter .startRow() .addColumn(0, null, null, getArabicTextP(null, activeLine.getActiveParticipleMasculine())) .addColumn(1, null, null, getArabicTextP(null, getMultiWord(activeLine.getVerbalNouns()))) .addColumn(2, null, null, getArabicTextP(null, activeLine.getPresentTense())) .addColumn(3, null, null, getArabicTextP(null, activeLine.getPastTense())) .endRow(); } }
private void addHeaderRow() { String rsidR = nextId(); String rsidP = nextId(); // Root Word P rootWordsPara = getRootWordsPara(rsidR, rsidP); // translation P translationPara = getTranslationPara(rsidR, rsidP); // second column paras String rsidRpr = nextId(); P labelP1 = getHeaderLabelPara(rsidR, rsidRpr, rsidP, conjugationHeader.getTypeLabel1()); P labelP2 = getHeaderLabelPara(rsidR, rsidRpr, rsidP, conjugationHeader.getTypeLabel2()); P labelP3 = getHeaderLabelPara(rsidR, rsidRpr, rsidP, conjugationHeader.getTypeLabel3()); tableAdapter .startRow() .addColumn(0, 2, null, rootWordsPara, translationPara) .addColumn(2, 2, null, labelP1, labelP2, labelP3) .endRow(); }
private void addTitleRow() { tableAdapter.startRow().addColumn(0, 4, NIL_BORDERS, createTitlePara()).endRow(); }