20 #ifndef INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX
21 #define INCLUDED_XMLOFF_SOURCE_TEXT_XMLREDLINEEXPORT_HXX
23 #include <com/sun/star/uno/Reference.h>
24 #include <com/sun/star/uno/Sequence.h>
33 namespace beans {
struct PropertyValue; }
34 namespace text {
class XText; }
35 namespace text {
class XTextContent; }
36 namespace text {
class XTextSection; }
40 typedef ::std::vector<
45 css::uno::Reference< css::text::XText>,
84 const css::uno::Reference<css::beans::XPropertySet> & rPropSet,
92 const css::uno::Reference<css::text::XText> & rText,
98 const css::uno::Reference<css::text::XText> & rText);
107 const css::uno::Reference<
108 css::beans::XPropertySet> & rPropSet,
114 const css::uno::Reference<css::text::XTextContent> & rContent,
120 const css::uno::Reference<css::text::XTextSection> & rSection,
128 const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
133 const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
143 const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
147 const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
151 const css::uno::Sequence<css::beans::PropertyValue> & rValues);
158 const css::uno::Reference<css::beans::XPropertySet> & rPropSet);
ChangesMapType aChangeMap
void ExportStartOrEndRedline(const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bStart)
export redline marks which start or end at start nodes, i.e.
const OUString sFormatChange
void WriteComment(std::u16string_view rComment)
write a comment string as sequence of elements
OUString const & ConvertTypeName(std::u16string_view sApiName)
convert the change type from API to XML names
void ExportChangeInline(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
export the change mark contained in the text body
void ExportChangesList(bool bAutoStyles)
export the list of changes (complete list minus recorded changed)
ChangesVectorType * pCurrentChangesList
map of recorded changes
exports com.sun.star. text
void ExportChangesListAutoStyles()
export the auto styles needed by the changes list
void ExportChangesListElements()
export the changes list ()
class SAL_NO_VTABLE XPropertySet
static OUString GetRedlineID(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
Get ID string!
void ExportChange(const css::uno::Reference< css::beans::XPropertySet > &rPropSet, bool bAutoStyle)
export a change
::std::map< css::uno::Reference< css::text::XText >, std::unique_ptr< ChangesVectorType > > ChangesMapType
void ExportChangeAutoStyle(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
export the auto styles used in this change
exports com.sun.star. beans
::std::vector< css::uno::Reference< css::beans::XPropertySet > > ChangesVectorType
const OUString sInsertion
void SetCurrentXText()
Do not record changes.
void ExportChangedRegion(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
export the changed-region element
XMLRedlineExport(SvXMLExport &rExp)
void ExportChangeInfo(const css::uno::Reference< css::beans::XPropertySet > &rPropSet)
export a change-info element (from a PropertySet)
This class handles the export of redline portions.