1
This commit is contained in:
@@ -596,7 +596,8 @@ public class TypesetController {
|
||||
// System.out.println(a.getString("author"));
|
||||
// String tttt = String.valueOf(tif).replace("<b>", "").replace("</b>", "").replace("<i>", "").replace("</i>", "").trim().toUpperCase();
|
||||
|
||||
if (!a.getString("title").isEmpty()) {
|
||||
// if (!a.getString("title").isEmpty()) {
|
||||
if (a.getString("refer_type").equals("journal")) {
|
||||
ParagraphRenderData chc_pdd = new ParagraphRenderData();
|
||||
Style chch = new Style();
|
||||
chch.setFontFamily("Charis SIL");
|
||||
@@ -621,7 +622,25 @@ public class TypesetController {
|
||||
chc_pdd.addText("\n");
|
||||
chc_pdd.addText(new TextRenderData(a.getString("doilink"), lstitle));
|
||||
refsl.add(chc_pdd);
|
||||
} else {
|
||||
}else if(a.getString("refer_type").equals("book")){
|
||||
ParagraphRenderData chc_pd = new ParagraphRenderData();
|
||||
Style chch = new Style();
|
||||
chch.setFontFamily("Charis SIL");
|
||||
chch.setFontSize(7.5);
|
||||
chch.setColor("f98f36");
|
||||
|
||||
Style cheche = new Style();
|
||||
cheche.setItalic(true);
|
||||
cheche.setFontFamily("Charis SIL");
|
||||
cheche.setFontSize(7.5);
|
||||
|
||||
chc_pd.addText(new TextRenderData(a.getString("author") + " ", chch));
|
||||
chc_pd.addText(new TextRenderData(a.getString("title") + ". ", chch));
|
||||
chc_pd.addText(new TextRenderData(a.getString("dateno") + ". ", chch));
|
||||
chc_pd.addText(new TextRenderData(a.getString("isbn"), chch));
|
||||
|
||||
refsl.add(chc_pd);
|
||||
}else {
|
||||
ParagraphRenderData chc_pd = new ParagraphRenderData();
|
||||
|
||||
// String tgh_title = String.valueOf(tif).replace("<b>", "").replace("</b>", "").replace("<i>", "").replace("</i>", "");
|
||||
|
||||
Reference in New Issue
Block a user