diff options
author | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-12 00:08:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@suse.com> | 2011-08-16 21:22:41 -0400 |
commit | 39b2de7545780d8897c9f28cbedfefd672cd53d7 (patch) | |
tree | 14a4dd58f4e9c8fc0b8f01560032bfaa79b023bc /offapi | |
parent | bc01bc636d104b435ea5ad1dcc7cab85d6dc4b9a (diff) |
Code page should be the same for the same drawing page.
This removes O(n^2) from the process of querying the code pages for
form elements.
Diffstat (limited to 'offapi')
-rw-r--r-- | offapi/com/sun/star/document/XCodeNameQuery.idl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/offapi/com/sun/star/document/XCodeNameQuery.idl b/offapi/com/sun/star/document/XCodeNameQuery.idl index 6c3c992e32e8..4cddafee9da8 100644 --- a/offapi/com/sun/star/document/XCodeNameQuery.idl +++ b/offapi/com/sun/star/document/XCodeNameQuery.idl @@ -39,6 +39,10 @@ interface XCodeNameQuery { //------------------------------------------------------------------------- string getCodeNameForObject( [in] com::sun::star::uno::XInterface aObj ); + + string getCodeNameByIndex( [in] long nIndex ); + + long getPageIndexForObject( [in] com::sun::star::uno::XInterface aObj ); }; //============================================================================= |