#include "GuiDocumentEditor.h"
namespace
{
namespace
{
using
namespace
collections
;
namespace
document_operation_visitors
{
class
:
public
,
public
::
{
public
:
<
>&
;
(
<
>&
)
:styleNames(
)
{
}
void
(
*
)
{
FOREACH(Ptr<DocumentRun>, subRun, run->runs)
if
(
bool
=
true
)
for
(
const
::
vl
::
collections
::
<
<
>>&
= ::
vl
::
collections
::
(
->
);
__scope_variable_flag__
;
__scope_variable_flag__
=
false
)
for
(
<
>
;
__foreach_iterator__
.
(
subRun
);)
{
subRun
(
this
);
}
}
void
(
*
)
override
{
}
void
(
DocumentStylePropertiesRun
*
)
override
{
(
);
}
void
(
DocumentStyleApplicationRun
*
)
override
{
if
(!
.
(
->
))
{
.
(
->
);
}
(
);
}
void
(
*
)
override
{
if
(!
.
(
->
))
{
.
(
->
);
}
if
(!
.
(
->
))
{
.
(
->
);
}
(
);
}
void
(
*
)
override
{
}
void
(
DocumentEmbeddedObjectRun
*
)
override
{
}
void
(
*
)
override
{
(
);
}
};
}
using
namespace
document_operation_visitors
;
namespace
{
void
(
*
,
<
>&
)
{
(
);
->
(&
visitor
);
}
}
}
}