mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
- paper.h: fix comment
- BufferParams.cpp: fix the default case git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34428 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
700447301c
commit
10dc64bd18
@ -1497,15 +1497,6 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
|
|||||||
case PAPER_USEXECUTIVE:
|
case PAPER_USEXECUTIVE:
|
||||||
ods << ",executivepaper";
|
ods << ",executivepaper";
|
||||||
break;
|
break;
|
||||||
case PAPER_A0:
|
|
||||||
ods << ",a0paper";
|
|
||||||
break;
|
|
||||||
case PAPER_A1:
|
|
||||||
ods << ",a1paper";
|
|
||||||
break;
|
|
||||||
case PAPER_A2:
|
|
||||||
ods << ",a2paper";
|
|
||||||
break;
|
|
||||||
case PAPER_A3:
|
case PAPER_A3:
|
||||||
ods << ",a3paper";
|
ods << ",a3paper";
|
||||||
break;
|
break;
|
||||||
@ -1515,51 +1506,26 @@ bool BufferParams::writeLaTeX(odocstream & os, LaTeXFeatures & features,
|
|||||||
case PAPER_A5:
|
case PAPER_A5:
|
||||||
ods << ",a5paper";
|
ods << ",a5paper";
|
||||||
break;
|
break;
|
||||||
case PAPER_A6:
|
|
||||||
ods << ",a6paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B0:
|
|
||||||
ods << ",b0paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B1:
|
|
||||||
ods << ",b1paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B2:
|
|
||||||
ods << ",b2paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B3:
|
|
||||||
ods << ",b3paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B4:
|
|
||||||
ods << ",b4paper";
|
|
||||||
break;
|
|
||||||
case PAPER_B5:
|
case PAPER_B5:
|
||||||
ods << ",b5paper";
|
ods << ",b5paper";
|
||||||
break;
|
break;
|
||||||
|
case PAPER_A0:
|
||||||
|
case PAPER_A1:
|
||||||
|
case PAPER_A2:
|
||||||
|
case PAPER_A6:
|
||||||
|
case PAPER_B0:
|
||||||
|
case PAPER_B1:
|
||||||
|
case PAPER_B2:
|
||||||
|
case PAPER_B3:
|
||||||
|
case PAPER_B4:
|
||||||
case PAPER_B6:
|
case PAPER_B6:
|
||||||
ods << ",b6paper";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB0:
|
case PAPER_JISB0:
|
||||||
ods << ",b0j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB1:
|
case PAPER_JISB1:
|
||||||
ods << ",b1j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB2:
|
case PAPER_JISB2:
|
||||||
ods << ",b2j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB3:
|
case PAPER_JISB3:
|
||||||
ods << ",b3j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB4:
|
case PAPER_JISB4:
|
||||||
ods << ",b4j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB5:
|
case PAPER_JISB5:
|
||||||
ods << ",b5j";
|
|
||||||
break;
|
|
||||||
case PAPER_JISB6:
|
case PAPER_JISB6:
|
||||||
ods << ",b6j";
|
|
||||||
break;
|
|
||||||
case PAPER_CUSTOM:
|
case PAPER_CUSTOM:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -13,8 +13,7 @@
|
|||||||
* expand to contain many paper-related horrors access.
|
* expand to contain many paper-related horrors access.
|
||||||
*
|
*
|
||||||
* The supported paper sizes are those that are supported by the
|
* The supported paper sizes are those that are supported by the
|
||||||
* LaTeX-package geometry. However, the Japanese JIS B-series paper
|
* LaTeX-package geometry.
|
||||||
* sizes are not yet supported by LyX.
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef PAPER_H
|
#ifndef PAPER_H
|
||||||
|
Loading…
Reference in New Issue
Block a user