summaryrefslogtreecommitdiffstats
path: root/src/dot.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-04-04 19:15:20 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-04-04 19:15:20 (GMT)
commit66353e2ea8318031a0dc02de3599861980e25a51 (patch)
tree7f7bcc4353ffd2147b592358b06865a518c14d7b /src/dot.cpp
parentcc52853c15833c9a18be11c140b99d94d9e06e9e (diff)
downloadDoxygen-66353e2ea8318031a0dc02de3599861980e25a51.zip
Doxygen-66353e2ea8318031a0dc02de3599861980e25a51.tar.gz
Doxygen-66353e2ea8318031a0dc02de3599861980e25a51.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)