31#include <rtl/ustring.hxx>
36using ::com::sun::star::uno::Sequence;
37using ::com::sun::star::uno::Reference;
38using ::com::sun::star::beans::PropertyValue;
47 bTabPositionOK(false),
48 bTabRightAligned(false),
60 const css::uno::Reference< css::xml::sax::XFastAttributeList >& xAttrList )
65 switch(aIter.getToken())
79 convertMeasureToCore(nTmp, aIter.toView()))
115 Sequence<PropertyValue> & rValues)
122 PropertyValue*
pValues = rValues.getArray();
125 pValues[nNextEntry].Name =
"TabStopRightAligned";
132 pValues[nNextEntry].Name =
"TabStopPosition";
140 pValues[nNextEntry].Name =
"TabStopFillCharacter";
146 pValues[nNextEntry].Name =
"WithTab";
151 SAL_WARN_IF( nNextEntry != rValues.getLength(),
"xmloff",
152 "length incorrectly precomputed!" );
const PropertyValue * pValues
SvXMLImport & GetImport()
Import index entry templates.
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
process parameters
virtual void FillPropertyValues(css::uno::Sequence< css::beans::PropertyValue > &rValues)
fill property values for this template entry
sal_Int32 nTabPosition
fill ("leader") character
virtual ~XMLIndexTabStopEntryContext() override
virtual void FillPropertyValues(css::uno::Sequence< css::beans::PropertyValue > &rValues) override
fill property values for this template entry
bool bTabRightAligned
is tab right aligned?
XMLIndexTabStopEntryContext(SvXMLImport &rImport, XMLIndexTemplateContext &rTemplate)
is tab char present? #i21237#
bool bLeaderCharOK
is nTabPosition valid?
bool bTabPositionOK
tab position
virtual void SAL_CALL startFastElement(sal_Int32 nElement, const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList) override
process parameters
bool bWithTab
is sLeaderChar valid?
Import index entry templates.
static bool convertBool(bool &rBool, std::u16string_view rString)
#define SAL_WARN_IF(condition, area, stream)
FastAttributeList & castToFastAttributeList(const css::uno::Reference< css::xml::sax::XFastAttributeList > &xAttrList)
Handling of tokens in XML:
bool IsXMLToken(std::u16string_view rString, enum XMLTokenEnum eToken)
compare eToken to the string
#define XMLOFF_WARN_UNKNOWN(area, rIter)
#define XML_ELEMENT(prefix, name)