https://issues.apache.org/ooo/show_bug.cgi?id=121391

--- Comment #1 from Ariel Constenla-Haile <[email protected]> ---
Concerning the new IDL methods, it may make more sense to rename them:

XSmartTagRecognizer

void recognizeString( [in] string aText,
                      [in] long nStart,
                      [in] long nLength,
                      [in] SmartTagRecognizerMode eDataType,
                      [in] com::sun::star::lang::Locale aLocale,
                      [in] com::sun::star::text::XTextMarkup xTextMarkup,
                      [in] string aApplicationName,
                      [in] com::sun::star::frame::XController xController,
                      [in] com::sun::star::i18n::XBreakIterator xTokenizer );


void recognizeTextRange( [in] com::sun::star::text::XTextRange xRange,
                         [in] SmartTagRecognizerMode eDataType,
                         [in] com::sun::star::text::XTextMarkup xTextMarkup,
                         [in] string aApplicationName,
                         [in] com::sun::star::frame::XController xController);

XTextMarkup

void commitStringMarkup( [in] long nType,
                         [in] string aIdentifier,
                         [in] long nStart,
                         [in] long nLength,
                         [in] com::sun::star::container::XStringKeyMap
xMarkupInfoContainer );

void commitTextRangeMarkupRange( [in] long nType,
                                 [in] string aIdentifier,
                                 [in] com::sun::star::text::XTextRange xRange,
                                 [in] com::sun::star::container::XStringKeyMap
xMarkupInfoContainer );

And it may make sense to specify both start and end as text ranges withing the
original text range.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to