XFootnote xFootnote = (XFootnote)
UnoRuntime.queryInterface(XFootnote.class, xNote);
String label = xFootnote.getLabel();
node = new FootnoteNode(label);
} else if (type.equals("Frame")) {
XContentEnumerationAccess xCEA = (XContentEnumerationAccess)
UnoRuntime.queryInterface(XContentEnumerationAccess.class,
xPortion);
XEnumeration xContentEnum = xCEA.createContentEnumeration("");
while (xContentEnum.hasMoreElements()) {
Object xFrame = xContentEnum.nextElement();
XPropertySet xFramePropSet = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xFrame);
TextContentAnchorType anchor = (TextContentAnchorType)