#include "GuiDocumentEditor.h"
namespace
{
namespace
{
using
namespace
collections
;
namespace
document_operation_visitors
{
class
:
public
,
public
::
{
public
:
&
;
;
;
<
<
>>
;
(
&
,
,
)
:runRanges(
)
, start(
)
, end(
)
{
}
void
(
*
)
{
for
(
=
->
.
() -
1
;
i
>=
0
;
i
--)
{
<
>
=
->
i
];
=
subRun
.
()];
if
(
range
.
<
&&
<
range
.
)
{
.
();
subRun
(
this
);
if
(
.
() !=
1
||
0
] !=
subRun
)
{
->
.
(
i
);
for
(
=
0
;
j
<
.
();
j
++)
{
->
.
(
i
+
j
,
j
]);
}
i
+=
.
();
}
}
}
.
();
.
(
);
}
void
(
*
)
{
.
(
);
}
void
(
*
)
{
(
,
->
);
}
void
(
*
)
override
{
(
);
}
void
(
DocumentStylePropertiesRun
*
)
override
{
(
);
}
void
(
DocumentStyleApplicationRun
*
)
override
{
(
);
}
void
(
*
)
override
{
(
);
}
void
(
*
)
override
{
(
);
}
void
(
DocumentEmbeddedObjectRun
*
)
override
{
(
);
}
void
(
*
)
override
{
(
);
}
};
class
:
public
{
public
:
(
&
,
,
)
:
(
,
,
)
{
}
void
(
*
)
override
{
(
);
}
};
class
:
public
{
public
:
(
&
,
,
)
:
(
,
,
)
{
}
void
(
DocumentStyleApplicationRun
*
)
override
{
(
);
}
};
class
:
public
{
public
:
(
&
,
,
)
:
(
,
,
)
{
}
void
(
DocumentStylePropertiesRun
*
)
override
{
(
);
}
void
(
DocumentStyleApplicationRun
*
)
override
{
(
);
}
};
}
using
namespace
document_operation_visitors
;
namespace
{
void
(
*
,
&
,
,
)
{
(
,
,
);
->
(&
visitor
);
}
void
(
*
,
&
,
,
)
{
(
,
,
);
->
(&
visitor
);
}
void
(
*
,
&
,
,
)
{
(
,
,
);
->
(&
visitor
);
}
}
}
}