sec.getRange().select();
content.append(getSelection(mWordApplication) + "\n");
}
// iterate through the shapes
Shapes shapes = doc.getShapes();
for (int i = 1; i <= shapes.getCount(); i++) {
Shape shape = shapes.item(new Variant(i));
appendShape(shape, content);
}
// iterate through the paragraphs and extract the headlines
StringBuffer headlines = null;