https://bugs.freedesktop.org/show_bug.cgi?id=78620
--- Comment #2 from AngelBlueSky <[email protected]> --- (In reply to comment #1) > Hello AngelBlueSky, > > Importing your aaa.doc in LO 4.2.4.1 & Windows 7 Home Premium, I get a text > field, not as a simple text. > > Jacques Ok but are you able to get the bookmark of that field, I don't think so!!! With openoffice I can get all text field like this, opening a file like the one I sent: Object OOTextFields = OODoc.GetType().InvokeMember("getTextFields", BindingFlags.InvokeMethod, null, OODoc, new object[0]); Object x = OOTextFields.GetType().InvokeMember("createEnumeration", BindingFlags.InvokeMethod, null, OOTextFields, new object[0]); //MessageBox.Show(x.GetType().InvokeMember("hasMoreElements", BindingFlags.InvokeMethod, null, x, null).ToString()); while ((bool)x.GetType().InvokeMember("hasMoreElements", BindingFlags.InvokeMethod, null, x, null)) { //do anything } with LO I can't enumerate any field! Trust me if I say it's a Bug! Thanks anyway. -- You are receiving this mail because: You are the assignee for the bug.
_______________________________________________ Libreoffice-bugs mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs
