2 // this looks like it's normally the {rtf{ .... }}
3 Roo.rtf.Document = function()
5 // we dont want to acutally store parent - it will make debug a nightmare..
11 Roo.extend(Roo.rtf.Document, Roo.rtf.Group, {
12 addChild : function(cn)
16 case 'rtlch': // most content seems to be inside this??
27 getElementsByType : function(type)
30 this._getElementsByType(type, ret, this.cn, 'rtf');
33 _getElementsByType : function (type, ret, search_array, path)
35 search_array.forEach(function(n,i) {
37 n.path = path + '/' + n.type + ':' + i;
40 if (n.cn.length > 0) {
41 this._getElementsByType(type, ret, n.cn, path + '/' + n.type+':'+i);