public final void addRawTextElement(final float character_spacing,final int writingMode,final String font_as_string,final float current_space,final int fontSize,final float x1,final float y1,final float x2,final float y2,final StringBuffer processed_line,final int current_text_length,final String currentColorTag,final boolean isXMLExtraction){
  if (processed_line.length() > 0) {
    if (isXMLExtraction) {
      processed_line.insert(0,font_as_string);
      processed_line.append(Fonts.fe);
    }
    if (isColorExtracted) {
      processed_line.insert(0,currentColorTag);
      processed_line.append(GenericColorSpace.ce);
    }
    f_writingMode[pointer]=writingMode;
    text_length[pointer]=current_text_length;
    f_character_spacing[pointer]=character_spacing;
    f_x1[pointer]=x1;
    colorTag[pointer]=currentColorTag;
    f_x2[pointer]=x2;
    f_y1[pointer]=y1;
    f_y2[pointer]=y2;
    contents[pointer]=processed_line.toString();
    f_end_font_size[pointer]=fontSize;
    space_width[pointer]=current_space * 1000;
    pointer++;
    if (pointer == max) {
      resizeArrays();
    }
  }
}

public final void addRawTextElement ( final float character_spacing , final int writingMode , final String font_as_string , final float current_space , final int fontSize , final float x1 , final float y1 , final float x2 , final float y2 , final StringBuffer processed_line , final int current_text_length , final String currentColorTag , final boolean isXMLExtraction ) { if ( processed_line . length ( ) > 0 ) { if ( isXMLExtraction ) { processed_line . insert ( 0 , font_as_string ) ; processed_line . append ( Fonts . fe ) ; } if ( isColorExtracted ) { processed_line . insert ( 0 , currentColorTag ) ; processed_line . append ( GenericColorSpace . ce ) ; } f_writingMode [ pointer ] = writingMode ; text_length [ pointer ] = current_text_length ; f_character_spacing [ pointer ] = character_spacing ; f_x1 [ pointer ] = x1 ; colorTag [ pointer ] = currentColorTag ; f_x2 [ pointer ] = x2 ; f_y1 [ pointer ] = y1 ; f_y2 [ pointer ] = y2 ; contents [ pointer ] = processed_line . toString ( ) ; f_end_font_size [ pointer ] = fontSize ; space_width [ pointer ] = current_space * 1000 ; pointer ++ ; if ( pointer == max ) { resizeArrays ( ) ; } } }
store line of raw text for later processing
