OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Compare Revisions

Regard whitespace Rev 155 → Rev 156

/trunk/OpenConcerto/src/org/openconcerto/erp/core/finance/accounting/report/PdfGenerator_2033B.java
20,11 → 20,9
 
public class PdfGenerator_2033B extends PdfGenerator {
public PdfGenerator_2033B() {
super("2033B.pdf", "result_2033B.pdf", TemplateNXProps.getInstance().getStringProperty("Location2033BPDF"));
super("2033B.pdf", "2033B.pdf", TemplateNXProps.getInstance().getStringProperty("Location2033BPDF"));
setTemplateOffset(0, 0);
setOffset(0, 0);
setMargin(32, 32);
 
}
 
public void generate() {
35,12 → 33,10
setFontRoman(12);
 
addSplittedText("CLOS1", "08202006", 410, 790, 9.7);
// addSplittedText("CLOS2", "08202006", 502, 809, 9.7);
 
// Copyright
setFontRoman(9);
String cc = "Document généré par le logiciel Bloc, (c) Front Software 2006";
addText("", cc, getWidth() - 2, 460, 90);
addText("", "Document généré par le logiciel OpenConcerto", getWidth() - 2, 460, 90);
 
setFontRoman(10);
long t = 143785123456L;
49,7 → 45,6
int cellHeight = 18;
final int colN = 487;
for (; y > 720; y -= cellHeight) {
 
addTextRight("PRODUIT1." + yy, insertCurrencySpaces("" + t), 400, y);
addTextRight("PRODUIT2." + yy, insertCurrencySpaces("" + t), colN, y);
addTextRight("PRODUIT3." + yy, insertCurrencySpaces("" + t), 580, y);
57,7 → 52,6
}
y += 2;
for (; y > 630; y -= cellHeight) {
 
addTextRight("PRODUIT2." + yy, insertCurrencySpaces("" + t), colN, y);
addTextRight("PRODUIT3." + yy, insertCurrencySpaces("" + t), 580, y);
yy++;
176,7 → 170,6
//
addTextRight("T1." + yy, insertCurrencySpaces("" + t), 226, y);
addTextRight("T2." + yy, insertCurrencySpaces("" + t), 461, y);
 
}
 
}