75 lines
2.3 KiB
Diff
75 lines
2.3 KiB
Diff
|
--- jade/TeXFOTBuilder.cxx 2011-05-10 21:01:33.769789341 +0200
|
||
|
+++ jade/TeXFOTBuilder.cxx 2011-05-10 21:05:04.142897135 +0200
|
||
|
@@ -75,6 +75,8 @@
|
||
|
virtual void end(TeXFOTBuilder &) const = 0;
|
||
|
};
|
||
|
class PageFloatFlowObj : public TeXCompoundExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ PageFloatFlowObj() {}
|
||
|
void start(TeXFOTBuilder &fotb, const NodePtr &) const {
|
||
|
fotb.startPageFloat(nic_);
|
||
|
}
|
||
|
@@ -94,6 +96,8 @@
|
||
|
StringC placement;
|
||
|
};
|
||
|
class PageFootnoteFlowObj : public TeXCompoundExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ PageFootnoteFlowObj() {}
|
||
|
void start(TeXFOTBuilder &fotb, const NodePtr &) const {
|
||
|
fotb.startPageFootnote();
|
||
|
}
|
||
|
--- jade/TransformFOTBuilder.cxx.orig 2011-05-10 21:18:33.554680483 +0200
|
||
|
+++ jade/TransformFOTBuilder.cxx 2011-05-10 21:24:23.456887213 +0200
|
||
|
@@ -41,6 +41,7 @@
|
||
|
};
|
||
|
class EntityRefFlowObj : public TransformExtensionFlowObj {
|
||
|
public:
|
||
|
+ EntityRefFlowObj() {}
|
||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||
|
fotb.entityRef(name_);
|
||
|
}
|
||
|
@@ -56,6 +57,7 @@
|
||
|
};
|
||
|
class ProcessingInstructionFlowObj : public TransformExtensionFlowObj {
|
||
|
public:
|
||
|
+ ProcessingInstructionFlowObj() {}
|
||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||
|
fotb.processingInstruction(data_);
|
||
|
}
|
||
|
@@ -70,6 +72,8 @@
|
||
|
StringC data_;
|
||
|
};
|
||
|
class EmptyElementFlowObj : public TransformExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ EmptyElementFlowObj() {}
|
||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||
|
if (nic_.gi.size() > 0)
|
||
|
fotb.emptyElement(nic_);
|
||
|
@@ -102,6 +106,8 @@
|
||
|
ElementNIC nic_;
|
||
|
};
|
||
|
class ElementFlowObj : public TransformCompoundExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ ElementFlowObj() {}
|
||
|
void start(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||
|
if (nic_.gi.size() > 0)
|
||
|
fotb.startElement(nic_);
|
||
|
@@ -137,6 +143,8 @@
|
||
|
ElementNIC nic_;
|
||
|
};
|
||
|
class EntityFlowObj : public TransformCompoundExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ EntityFlowObj() {}
|
||
|
void start(TransformFOTBuilder &fotb, const NodePtr &) const {
|
||
|
fotb.startEntity(systemId_);
|
||
|
}
|
||
|
@@ -154,6 +162,8 @@
|
||
|
StringC systemId_;
|
||
|
};
|
||
|
class DocumentTypeFlowObj : public TransformExtensionFlowObj {
|
||
|
+ public:
|
||
|
+ DocumentTypeFlowObj() {}
|
||
|
void atomic(TransformFOTBuilder &fotb, const NodePtr &nd) const {
|
||
|
fotb.documentType(nic_);
|
||
|
}
|