mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 13:31:49 +00:00
implement linuxdoc and docbook export for insetHFill, validate insetspace export for both
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@7132 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2a102671d9
commit
6653ca2c31
@ -1,3 +1,9 @@
|
|||||||
|
2003-06-07 José Matos <jamatos@fep.up.pt>
|
||||||
|
|
||||||
|
* insethfill.[Ch] (linuxdoc, docbook): implement output
|
||||||
|
* insetspace.C (linuxdoc, docbook): remove coments as the code
|
||||||
|
is correct.
|
||||||
|
|
||||||
2003-06-06 José Matos <jamatos@fep.up.pt>
|
2003-06-06 José Matos <jamatos@fep.up.pt>
|
||||||
|
|
||||||
* insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
|
* insetnewline.C (linuxdoc,docbook): return newline, fix bug 1148.
|
||||||
|
@ -36,6 +36,19 @@ int InsetHFill::ascii(Buffer const *, ostream & os, int) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int InsetHFill::linuxdoc(Buffer const *, std::ostream & os) const
|
||||||
|
{
|
||||||
|
os << '\n';
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
int InsetHFill::docbook(Buffer const *, std::ostream & os, bool) const
|
||||||
|
{
|
||||||
|
os << '\n';
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
void InsetHFill::write(Buffer const *, ostream & os) const
|
void InsetHFill::write(Buffer const *, ostream & os) const
|
||||||
{
|
{
|
||||||
os << "\n\\hfill \n";
|
os << "\n\\hfill \n";
|
||||||
|
@ -33,6 +33,10 @@ public:
|
|||||||
///
|
///
|
||||||
int ascii(Buffer const *, std::ostream &, int linelen) const;
|
int ascii(Buffer const *, std::ostream &, int linelen) const;
|
||||||
///
|
///
|
||||||
|
int linuxdoc(Buffer const *, std::ostream &) const;
|
||||||
|
///
|
||||||
|
int docbook(Buffer const *, std::ostream &, bool) const;
|
||||||
|
///
|
||||||
void write(Buffer const * buf, std::ostream & os) const;
|
void write(Buffer const * buf, std::ostream & os) const;
|
||||||
/// We don't need \begin_inset and \end_inset
|
/// We don't need \begin_inset and \end_inset
|
||||||
bool directWrite() const { return true; }
|
bool directWrite() const { return true; }
|
||||||
|
@ -213,7 +213,6 @@ int InsetSpace::ascii(Buffer const *, ostream & os, int) const
|
|||||||
int InsetSpace::linuxdoc(Buffer const *, ostream & os) const
|
int InsetSpace::linuxdoc(Buffer const *, ostream & os) const
|
||||||
{
|
{
|
||||||
switch (kind_) {
|
switch (kind_) {
|
||||||
// fixme: correct?
|
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
case QUAD:
|
case QUAD:
|
||||||
case QQUAD:
|
case QQUAD:
|
||||||
@ -234,7 +233,6 @@ int InsetSpace::linuxdoc(Buffer const *, ostream & os) const
|
|||||||
int InsetSpace::docbook(Buffer const *, ostream & os, bool) const
|
int InsetSpace::docbook(Buffer const *, ostream & os, bool) const
|
||||||
{
|
{
|
||||||
switch (kind_) {
|
switch (kind_) {
|
||||||
// fixme: correct?
|
|
||||||
case NORMAL:
|
case NORMAL:
|
||||||
case QUAD:
|
case QUAD:
|
||||||
case QQUAD:
|
case QQUAD:
|
||||||
|
Loading…
Reference in New Issue
Block a user