10 #ifndef SW_TOXLINKPROCESSOR_HXX_
11 #define SW_TOXLINKPROCESSOR_HXX_
14 #include <rtl/ustring.hxx>
21 class ToxLinkProcessorTest;
34 StartNewLink(sal_Int32 startPosition,
const OUString& characterStyle);
44 CloseLink(sal_Int32 endPosition,
const OUString& url,
bool bRelative);
61 StartedLink(sal_Int32 startPosition,
const OUString& characterStyle) :
72 ClosedLink(
const OUString& url, sal_Int32 startPosition, sal_Int32 endPosition)
87 friend class ::ToxLinkProcessorTest;
Dialog to specify the properties of date form field.
ClosedLink(const OUString &url, sal_Int32 startPosition, sal_Int32 endPosition)
SwFormatINetFormat mINetFormat
virtual sal_uInt16 ObtainPoolId(const OUString &characterStyle) const
Obtain the pool id which belongs to a character style.
Information about a started link.
std::vector< std::unique_ptr< ClosedLink > > m_ClosedLinks
std::unique_ptr< StartedLink > m_pStartedLink
StartedLink(sal_Int32 startPosition, const OUString &characterStyle)
void InsertLinkAttributes(SwTextNode &node)
Insert the found links as attributes to a text node.
SwTextNode is a paragraph in the document model.
A link that has been encountered while parsing a tox.
void StartNewLink(sal_Int32 startPosition, const OUString &characterStyle)
virtual ~ToxLinkProcessor()
void CloseLink(sal_Int32 endPosition, const OUString &url, bool bRelative)
Close a link which has been found during processing.
A helper class for ToxTextGenerator.