#define _SXSI_TextCollectionBuilder_h_
#include "TextCollection.h"
+#include "TextStorage.h"
#include "Tools.h" // Defines ulong and uchar.
#include <vector>
#include <utility> // Defines std::pair.
/**
* Make static
*
- * Convert to a static collection; reduces space and time complexities.
+ * Convert to a static collection.
* New texts can not be inserted after this operation.
+ *
+ * TextStorage type defaults to TYPE_PLAIN_TEXT, another
+ * possible type is TYPE_LZ_INDEX.
*/
- TextCollection * InitTextCollection();
+ TextCollection * InitTextCollection(char type = TextStorage::TYPE_PLAIN_TEXT);
private:
struct TCBuilderRep * p_;