summaryrefslogtreecommitdiff
path: root/sw/inc/unocrsrhelper.hxx
diff options
context:
space:
mode:
authorMichael Stahl <mst@openoffice.org>2010-03-09 13:27:18 +0100
committerMichael Stahl <mst@openoffice.org>2010-03-09 13:27:18 +0100
commit472bb4e289943b9c83b52a82a99fcbe52c8a6963 (patch)
tree10613fedaeba016f2a18dcd69698f9727a7f673c /sw/inc/unocrsrhelper.hxx
parent310be1160a7205e11967b8cc5a0ad1669343538d (diff)
odfmetadata4: #i109601#: add cursor property "NestedTextContent":
cmdid.h: add FN_UNO_NESTED_TEXT_CONTENT. SwUnoCursorHelper: add GetNestedTextContent(). enum SwPropNameIds: add UNO_NAME_NESTED_TEXT_CONTENT. SwUnoCursorHelper::getCrsrPropertyValue(): handle "NestedTextContent".
Diffstat (limited to 'sw/inc/unocrsrhelper.hxx')
-rw-r--r--sw/inc/unocrsrhelper.hxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/sw/inc/unocrsrhelper.hxx b/sw/inc/unocrsrhelper.hxx
index e3ced236d10c..ae3b278c77b9 100644
--- a/sw/inc/unocrsrhelper.hxx
+++ b/sw/inc/unocrsrhelper.hxx
@@ -55,6 +55,9 @@ namespace com{ namespace sun{ namespace star{
namespace beans{
struct PropertyValue;
}
+ namespace text {
+ class XTextContent;
+ }
}}}
/* -----------------03.12.98 12:16-------------------
@@ -84,6 +87,9 @@ namespace SwUnoCursorHelper
bool FillValue( USHORT nWhichId, USHORT nMemberId, const com::sun::star::uno::Any*& pAny );
};
+ ::com::sun::star::uno::Reference< ::com::sun::star::text::XTextContent >
+ GetNestedTextContent(SwTxtNode & rTextNode, xub_StrLen const nIndex);
+
sal_Bool getCrsrPropertyValue(const SfxItemPropertySimpleEntry& rEntry
, SwPaM& rPam
, com::sun::star::uno::Any *pAny