[sw-issues] [Issue 83096] No Dialog insert Table a fter changing the viewCursor via API
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83096 --- Additional comments from [EMAIL PROTECTED] Wed Oct 31 12:45:13 + 2007 --- just for the sake of completeness: thanks, mru, for the hint that the viewCursor spans a selection. This helped us get the following solution for our problem: use ... view.getViewCursor().gotoRange(cursor.getStart(), false) ... instead of ... view.getViewCursor().gotoRange(cursor, false) ... - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[sw-issues] [Issue 83096] No Dialog insert Table a fter changing the viewCursor via API
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83096 --- Additional comments from [EMAIL PROTECTED] Wed Oct 31 13:35:51 + 2007 --- Good to hear that this feature does not keep you from handling your document automation ;-) - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[sw-issues] [Issue 83096] No Dialog insert Table a fter changing the viewCursor via API
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83096 User mru changed the following: What|Old value |New value Status|UNCONFIRMED |RESOLVED Resolution| |WONTFIX --- Additional comments from [EMAIL PROTECTED] Tue Oct 30 10:52:24 + 2007 --- That is a desired behavior / designed feature and not a problem of the macro... When having a text selection, a table will be generated by this when calling Insert.Table. The structure of the table is depending of the containing tab characters and paragraph breaks inside the selected text. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[sw-issues] [Issue 83096] No Dialog insert Table a fter changing the viewCursor via API
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83096 User mru changed the following: What|Old value |New value Status|RESOLVED |CLOSED --- Additional comments from [EMAIL PROTECTED] Tue Oct 30 10:56:16 + 2007 --- Closed. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[sw-issues] [Issue 83096] No Dialog insert Table a fter changing the viewCursor via API
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=83096 Issue #|83096 Summary|No Dialog insert Table after changing the viewCursor | via API Component|Word processor Version|OOo 2.3 Platform|All URL| OS/Version|All Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|programming Assigned to|mru Reported by|baumux --- Additional comments from [EMAIL PROTECTED] Mon Oct 29 16:38:06 + 2007 --- 1. Create a new Text Document File--New--Text Document 2. Insert a Bookmark named MARKE1 Insert--Bookmark--write MARKE1--Button OK 3. Create a new Macro Tools--Macros--Organize Macros--OpenOffice.org Basic--Macro from Untitled1--Standard-- Macro name Main--Button New--Window New Module --Button OK 4. Write a Macro Sub Main doc = ThisComponent view = doc.CurrentController marke1 = doc.Bookmarks.getByName(MARKE1) cursor = marke1.getAnchor().getText().createTextCursorByRange(marke1.getAnchor()) view.getViewCursor().gotoRange(cursor, false) End Sub 5. Run Macro Tools--Macros--Run Macro...--Library Untitled1--Standard--Module1--Macro name Main--Button OK 6. Goto Document Untitled1 without clicking into the Document 7. Insert a table Table--Insert--Table... Current State: A table with one row and one column is inserted into the document without further inquiry to the user. Desired target state: there is a window Insert Table. - Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]