/// <summary> /// AddCabecalho() - Adiciona ao código interpretável que será convertido para texto um cabeçalho /// </summary> public void AddCabecalho() { if (txtCabecalho == null) { txtCabecalho = new CodigosInterpretaveis2Txt(true); } }
/// <summary> /// FinalizaCabecalho() - Finaliza o cabeçalho e o adiciona ao codigo interpretável principal /// </summary> public void FinalizaCabecalho() { if (txtCabecalho != null) { if (txtCabecalho.Length > 0) { this.txtCabecalho.Insert(txtCabecalho.Length); this.txtCabecalho.Insert(CodigosInterpretaveis.CABECALHO_TAMANHO); txtInternalWithTypeCast = txtInternalWithTypeCast.Insert(this.posCabecalho2InternalWithTypeCast, txtCabecalho.ToStringInternalWithTypeCast() + ", "); txtInternal = txtInternal.Insert(this.posCabecalho2Internal, txtCabecalho.ToStringInternal()); txtCabecalho = null; } } }