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