[framework-issues] [Issue 114039] getEmbeddedObject() call takes too long on formula
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114039 --- Additional comments from jrheinlaen...@openoffice.org Mon Aug 23 05:06:31 + 2010 --- Increasing Tools > Options > OOo > Memory > Cache for inserted objects to more than the number of formulas in the document resolves the issue. So now I dynamically change this setting from inside my component. The first iteration still takes >30 seconds (which is probably unavoidable), but subsequent iterations are sufficiently fast. 1. Should I mark the issue as resolved? 2. Would it be more elegant to set the property of all the formulas in my document to MS_EMBED_ALWAYSRUN and achieve the same result without messing with the (global) cache settings? If yes, how do I do this? I couldn't find an API method for it - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 114039] getEmbeddedObject() call takes too long on formula
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114039 User regina changed the following: What|Old value |New value CC|''|'regina' Keywords| |oooqa --- Additional comments from reg...@openoffice.org Sun Aug 22 15:45:41 + 2010 --- Increasing the cache should help. - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 114039] getEmbeddedObject() call takes too long on formula
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114039 --- Additional comments from jrheinlaen...@openoffice.org Sun Aug 22 07:02:59 + 2010 --- This issue might be connected to #108571 - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org
[framework-issues] [Issue 114039] getEmbeddedObject() call takes too long on formula
To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=114039 Issue #|114039 Summary|getEmbeddedObject() call takes too long on formula Component|framework Version|OOo 3.2 Platform|PC URL| OS/Version|Linux Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P4 Subcomponent|code Assigned to|tm Reported by|jrheinlaender --- Additional comments from jrheinlaen...@openoffice.org Sun Aug 22 06:58:28 + 2010 --- Iterating through all formulas in a text document takes too long. For example, I have a document with >150 formulas and it takes 30 seconds to read the formula text of every formula, without even modifying it. The time is spent in uno::Reference< lang::XComponent > SwXTextEmbeddedObject::getEmbeddedObject(void) (see file sw/source/core/unocore/unoframe.cxx) and specifically while switching the embeddedObject from state LOADED to state RUNNING: if ( svt::EmbeddedObjectRef::TryRunningState( xIP ) ) 1. Why does it take so long to switch to state RUNNING? 2. If this cannot be avoided, why does the embeddedObject need to be switched to state RUNNING every time I iterate through the document? In other words, why does it fall back to LOADED automatically after I read the formula text and went on to the next formula? 3. com/sun/star/embed/EmbedMisc.hdl has MS_EMBED_ALWAYSRUN. Coudl this be set by default for formula embeddedObjects and maybe resolve the problem? - 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: issues-unsubscr...@framework.openoffice.org For additional commands, e-mail: issues-h...@framework.openoffice.org - To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org