OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

Rev 174 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 174 Rev 177
Line 64... Line 64...
64
 
64
 
65
        final Point start = resolve(parts.get(0));
65
        final Point start = resolve(parts.get(0));
66
        this.startX = start.x;
66
        this.startX = start.x;
67
        this.startY = start.y;
67
        this.startY = start.y;
68
 
68
 
-
 
69
        // Feuille vierge dimension = A1
69
        final Point end = resolve(parts.get(1));
70
        final Point end = resolve(parts.size() == 1 ? parts.get(0) : parts.get(1));
70
        this.endX = end.x;
71
        this.endX = end.x;
71
        this.endY = end.y;
72
        this.endY = end.y;
72
        this.rows = new ArrayList<>(end.y - start.y);
73
        this.rows = new ArrayList<>(end.y - start.y);
73
        this.columnCount = this.endX - this.startX + 1;
74
        this.columnCount = this.endX - this.startX + 1;
74
 
75