summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-04-04 19:15:20 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2007-04-04 19:15:20 (GMT)
commitbd691d38fe61aed85189a6675668a67deefd8002 (patch)
tree7f7bcc4353ffd2147b592358b06865a518c14d7b /src/dot.cpp
parent97a3911e2682bfebeebbb8999c9e3844c414c3e0 (diff)
downloadDoxygen-bd691d38fe61aed85189a6675668a67deefd8002.zip
Doxygen-bd691d38fe61aed85189a6675668a67deefd8002.tar.gz
Doxygen-bd691d38fe61aed85189a6675668a67deefd8002.tar.bz2
Release-1.5.2
Diffstat (limited to 'src/dot.cpp')
-rw-r--r--src/dot.cpp15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/dot.cpp b/src/dot.cpp
index dae373c..651b6c9 100644
--- a/src/dot.cpp
+++ b/src/dot.cpp
@@ -2116,7 +2116,8 @@ QCString DotClassGraph::writeGraph(QTextStream &out,
return baseName;
}
int maxWidth = 420; /* approx. page width in points */
- out << "\\begin{figure}[H]\n"
+ out << "\\nopagebreak\n"
+ "\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n"
"\\includegraphics[width=" << QMIN(width/2,maxWidth)
@@ -2410,7 +2411,8 @@ QCString DotInclDepGraph::writeGraph(QTextStream &out,
}
int maxWidth = 420; /* approx. page width in points */
- out << "\\begin{figure}[H]\n"
+ out << "\\nopagebreak\n"
+ "\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n"
"\\includegraphics[width=" << QMIN(width/2,maxWidth)
@@ -2689,7 +2691,8 @@ QCString DotCallGraph::writeGraph(QTextStream &out, GraphOutputFormat format,
}
int maxWidth = 420; /* approx. page width in points */
- out << "\\begin{figure}[H]\n"
+ out << "\\nopagebreak\n"
+ "\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n"
"\\includegraphics[width=" << QMIN(width/2,maxWidth)
@@ -2825,7 +2828,8 @@ QCString DotDirDeps::writeGraph(QTextStream &out,
}
int maxWidth = 420; /* approx. page width in points */
- out << "\\begin{figure}[H]\n"
+ out << "\\nopagebreak\n"
+ "\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n"
"\\includegraphics[width=" << QMIN(width/2,maxWidth)
@@ -3317,7 +3321,8 @@ QCString DotGroupCollaboration::writeGraph( QTextStream &t, GraphOutputFormat fo
return baseName;
}
int maxWidth = 420; /* approx. page width in points */
- t << "\\begin{figure}[H]\n"
+ t << "\\nopagebreak\n"
+ "\\begin{figure}[H]\n"
"\\begin{center}\n"
"\\leavevmode\n"
"\\includegraphics[width=" << QMIN(width/2,maxWidth)