title: setAttributes in Google Doc header failing - setAttibutes is not a function
body: <p>I want to set the font size in a google doc header, but I get the error  'setAttributes is not a function'. I can't really understand the structure of a header (it seems), as to where to set the attributes.</p>
  <pre><code>      var style = {};
        style[DocumentApp.Attribute.FONT_SIZE] = 16;
        style[DocumentApp.Attribute.BOLD] = true;
        var range = this.Doc.getHeader(
        range.setText(text)
        var m = range.getNumChildren();
        for (var i =0; i&lt;m;i++){
          var cld = range.getChild(i);
          var ct = cld.getText();
          var cat = cld.getAttributes();
          cld.setAttibutes(style);
        }
  </code></pre>
  <p>In the code above I can set the text in the header, and I can see the text in the 1st child element &quot;ct&quot;, but I can't set the attributes. cld.getAttributes() returns nulls, so I'm thinking the attributes are set on a higher element. I just don't know which.</p>