@Override public IFooter getFooter() {//forward it to the body return this.getBody().getFooter(); } @Override
@Override public IFooter getFooter() {//forward it to the body return this.getBody().getFooter(); } @Override
/** * This is an alias to 'getBody().addEle' */ @Override public void addEle(String str) { this.getBody().addEle(str); }
/** * This is an alias to 'getBody().addEle' */ @Override public void addEle(IElement e) { this.getBody().addEle(e); }
/** * This is an alias to 'getBody().addEle' */ @Override public void addEle(String str) { this.getBody().addEle(str); }
@Override public IHeader getHeader() { return this.getBody().getHeader(); //forward it to the body }
/** * This is an alias to 'getBody().addEle' */ @Override public void addEle(IElement e) { this.getBody().addEle(e); }
@Override public IHeader getHeader() { return this.getBody().getHeader(); //forward it to the body }
@Override public String getContent() { if(hasBeenCalledBefore ){ return txt.toString(); }else{ hasBeenCalledBefore = true; } txt.append(this.getUri()); txt.append(getDocumentHead()); txt.append(this.getBody().getContent()); txt.append("\n</w:wordDocument>"); String finalString = setUpPageOrientation(txt.toString()); return finalString; }
@Override public String getContent() { if(hasBeenCalledBefore ){ return txt.toString(); }else{ hasBeenCalledBefore = true; } txt.append(this.getUri()); txt.append(getDocumentHead()); txt.append(this.getBody().getContent()); txt.append("\n</w:wordDocument>"); String finalString = setUpPageOrientation(txt.toString()); return finalString; }