diff options
author | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-25 11:41:26 -0400 |
---|---|---|
committer | Kohei Yoshida <kohei.yoshida@gmail.com> | 2012-04-26 09:58:03 -0400 |
commit | d7c4d44671b0aa6c01974df474fd28e23367c69e (patch) | |
tree | a62ee5d0d99b8500ad8ad1285549007cabaf7ebc /sc/inc/fielduno.hxx | |
parent | e80dd6ace8162e31616df723ecb32c027b3c8449 (diff) |
Switch to using ScEditFieldObj for the header/footer field items.
Luckily this works just fine for the very simple field items. More
work ahead to fully support all types we currently allow in headers
and footers.
Diffstat (limited to 'sc/inc/fielduno.hxx')
-rw-r--r-- | sc/inc/fielduno.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sc/inc/fielduno.hxx b/sc/inc/fielduno.hxx index 7c1929d6a4a3..bbd7405a43e6 100644 --- a/sc/inc/fielduno.hxx +++ b/sc/inc/fielduno.hxx @@ -55,7 +55,6 @@ class SvxEditSource; class SvxFieldItem; class SvxFieldData; class ScEditFieldObj; -class ScHeaderFieldObj; class ScHeaderFooterContentObj; class ScDocShell; class EditTextObject; @@ -148,7 +147,7 @@ private: /// mutex to lock the InterfaceContainerHelper osl::Mutex aMutex; - ScHeaderFieldObj* GetObjectByIndex_Impl(sal_Int32 Index) const; + ScEditFieldObj* GetObjectByIndex_Impl(sal_Int32 Index) const; public: ScHeaderFieldsObj(ScHeaderFooterTextData& rData); @@ -355,6 +354,7 @@ private: SvxFieldData* getData(); void setPropertyValueURL(const rtl::OUString& rName, const com::sun::star::uno::Any& rVal); + com::sun::star::uno::Any getPropertyValueURL(const rtl::OUString& rName); public: static const com::sun::star::uno::Sequence<sal_Int8>& getUnoTunnelId(); @@ -370,7 +370,7 @@ public: SvxFieldItem CreateFieldItem(); void InitDoc( const com::sun::star::uno::Reference<com::sun::star::text::XTextRange>& rContent, - SvxEditSource* pEditSrc, FieldType eType, const ESelection& rSel); + SvxEditSource* pEditSrc, const ESelection& rSel); // XTextField virtual ::rtl::OUString SAL_CALL getPresentation( sal_Bool bShowCommand ) |