10#include <ooo/vba/word/WdTextFormFieldType.hpp>
27 const uno::Reference<ooo::vba::XHelperInterface>& rParent,
28 const uno::Reference<uno::XComponentContext>& rContext, sw::mark::IFieldmark& rFormField)
30 , m_rTextInput(rFormField)
70 SAL_INFO(
"sw.vba",
"SwVbaFormFieldTextInput::getFormat stub");
77 return word::WdTextFormFieldType::wdRegularText;
79 SAL_INFO(
"sw.vba",
"SwVbaFormFieldTextInput::getType stub");
80 return word::WdTextFormFieldType::wdRegularText;
88 SAL_INFO(
"sw.vba",
"SwVbaFormFieldTextInput::getWidth stub");
97 SAL_INFO(
"sw.vba",
"SwVbaFormFieldTextInput::setWidth[" << nWidth <<
"] stub");
113 bool bEnabled =
true;
114 rDefault >>= sDefault;
116 rEnabled >>= bEnabled;
117 SAL_INFO(
"sw.vba",
"SwVbaFormFieldTextInput::EditType["
118 <<
nType <<
"] sDefault[" << sDefault <<
"] sFormat[" << sFormat
119 <<
"] bEnabled[" << bEnabled <<
"] stub");
126 static uno::Sequence<OUString>
const aServiceNames{
"ooo.vba.word.TextInput" };
static SW_DLLPUBLIC MarkType GetType(const ::sw::mark::IMark &rMark)
Returns the MarkType used to create the mark.
sw::mark::IFieldmark & m_rTextInput
void SAL_CALL Clear() override
OUString getServiceImplName() override
~SwVbaFormFieldTextInput() override
OUString SAL_CALL getDefault() override
OUString SAL_CALL getDefaultPropertyName() override
void SAL_CALL EditType(sal_Int32 nType, const css::uno::Any &rDefault, const css::uno::Any &rFormat, const css::uno::Any &rEnabled) override
void SAL_CALL setDefault(const OUString &bSet) override
css::uno::Sequence< OUString > getServiceNames() override
void SAL_CALL setWidth(sal_Int32 nSet) override
sal_Int32 SAL_CALL getType() override
SwVbaFormFieldTextInput(const css::uno::Reference< ooo::vba::XHelperInterface > &rParent, const css::uno::Reference< css::uno::XComponentContext > &rContext, sw::mark::IFieldmark &rFormField)
TextInput formfields are inline text objects that are only found in MS Word.
sal_Int32 SAL_CALL getWidth() override
OUString SAL_CALL getFormat() override
sal_Bool SAL_CALL getValid() override
Sequence< OUString > aServiceNames
#define SAL_INFO(area, stream)