@@ -400,7 +400,7 @@ DB_VIS_C
400
400
case DocVerbatim::PlantUML:
401
401
{
402
402
static QCString docbookOutput = Config_getString (DOCBOOK_OUTPUT);
403
- QCString baseName = PlantumlManager::instance ().writePlantUMLSource (docbookOutput,s->exampleFile (),s->text (),PlantumlManager::PUML_BITMAP,s->engine ());
403
+ QCString baseName = PlantumlManager::instance ().writePlantUMLSource (docbookOutput,s->exampleFile (),s->text (),PlantumlManager::PUML_BITMAP,s->engine (),s-> srcFile (),s-> srcLine () );
404
404
QCString shortName = baseName;
405
405
int i;
406
406
if ((i=shortName.findRev (' /' ))!=-1 )
@@ -1269,7 +1269,7 @@ void DocbookDocVisitor::visitPre(DocDotFile *df)
1269
1269
{
1270
1270
DB_VIS_C
1271
1271
if (m_hide) return ;
1272
- startDotFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children ());
1272
+ startDotFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children (),df-> srcFile (),df-> srcLine () );
1273
1273
}
1274
1274
1275
1275
void DocbookDocVisitor::visitPost (DocDotFile *df)
@@ -1283,7 +1283,7 @@ void DocbookDocVisitor::visitPre(DocMscFile *df)
1283
1283
{
1284
1284
DB_VIS_C
1285
1285
if (m_hide) return ;
1286
- startMscFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children ());
1286
+ startMscFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children (),df-> srcFile (),df-> srcLine () );
1287
1287
}
1288
1288
1289
1289
void DocbookDocVisitor::visitPost (DocMscFile *df)
@@ -1296,7 +1296,7 @@ void DocbookDocVisitor::visitPre(DocDiaFile *df)
1296
1296
{
1297
1297
DB_VIS_C
1298
1298
if (m_hide) return ;
1299
- startDiaFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children ());
1299
+ startDiaFile (df->file (),df->width (),df->height (),df->hasCaption (),df->children (),df-> srcFile (),df-> srcLine () );
1300
1300
}
1301
1301
1302
1302
void DocbookDocVisitor::visitPost (DocDiaFile *df)
@@ -1634,7 +1634,7 @@ DB_VIS_C
1634
1634
shortName=shortName.right ((int )shortName.length ()-i-1 );
1635
1635
}
1636
1636
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1637
- writeMscGraphFromFile (baseName+" .msc" ,outDir,shortName,MSC_BITMAP);
1637
+ writeMscGraphFromFile (baseName+" .msc" ,outDir,shortName,MSC_BITMAP,s-> srcFile (),s-> srcLine () );
1638
1638
visitPreStart (m_t , s->children (), s->hasCaption (), s->relPath () + shortName + " .png" , s->width (), s->height ());
1639
1639
visitCaption (s->children ());
1640
1640
visitPostEnd (m_t , s->hasCaption ());
@@ -1660,7 +1660,9 @@ void DocbookDocVisitor::startMscFile(const QCString &fileName,
1660
1660
const QCString &width,
1661
1661
const QCString &height,
1662
1662
bool hasCaption,
1663
- const DocNodeList &children
1663
+ const DocNodeList &children,
1664
+ const QCString &srcFile,
1665
+ int srcLine
1664
1666
)
1665
1667
{
1666
1668
DB_VIS_C
@@ -1676,7 +1678,7 @@ DB_VIS_C
1676
1678
}
1677
1679
baseName.prepend (" msc_" );
1678
1680
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1679
- writeMscGraphFromFile (fileName,outDir,baseName,MSC_BITMAP);
1681
+ writeMscGraphFromFile (fileName,outDir,baseName,MSC_BITMAP,srcFile,srcLine );
1680
1682
m_t << " <para>\n " ;
1681
1683
visitPreStart (m_t , children, hasCaption, baseName + " .png" , width, height);
1682
1684
}
@@ -1699,7 +1701,7 @@ DB_VIS_C
1699
1701
shortName=shortName.right ((int )shortName.length ()-i-1 );
1700
1702
}
1701
1703
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1702
- writeDiaGraphFromFile (baseName+" .dia" ,outDir,shortName,DIA_BITMAP);
1704
+ writeDiaGraphFromFile (baseName+" .dia" ,outDir,shortName,DIA_BITMAP,s-> srcFile (),s-> srcLine () );
1703
1705
visitPreStart (m_t , s->children (), s->hasCaption (), shortName, s->width (),s->height ());
1704
1706
visitCaption (s->children ());
1705
1707
visitPostEnd (m_t , s->hasCaption ());
@@ -1709,7 +1711,9 @@ void DocbookDocVisitor::startDiaFile(const QCString &fileName,
1709
1711
const QCString &width,
1710
1712
const QCString &height,
1711
1713
bool hasCaption,
1712
- const DocNodeList &children
1714
+ const DocNodeList &children,
1715
+ const QCString &srcFile,
1716
+ int srcLine
1713
1717
)
1714
1718
{
1715
1719
DB_VIS_C
@@ -1725,7 +1729,7 @@ DB_VIS_C
1725
1729
}
1726
1730
baseName.prepend (" dia_" );
1727
1731
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1728
- writeDiaGraphFromFile (fileName,outDir,baseName,DIA_BITMAP);
1732
+ writeDiaGraphFromFile (fileName,outDir,baseName,DIA_BITMAP,srcFile,srcLine );
1729
1733
m_t << " <para>\n " ;
1730
1734
visitPreStart (m_t , children, hasCaption, baseName + " .png" , width, height);
1731
1735
}
@@ -1748,7 +1752,7 @@ DB_VIS_C
1748
1752
shortName=shortName.right ((int )shortName.length ()-i-1 );
1749
1753
}
1750
1754
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1751
- writeDotGraphFromFile (baseName+" .dot" ,outDir,shortName,GOF_BITMAP);
1755
+ writeDotGraphFromFile (baseName+" .dot" ,outDir,shortName,GOF_BITMAP,s-> srcFile (),s-> srcLine () );
1752
1756
visitPreStart (m_t , s->children (), s->hasCaption (), s->relPath () + shortName + " ." + getDotImageExtension (), s->width (),s->height ());
1753
1757
visitCaption (s->children ());
1754
1758
visitPostEnd (m_t , s->hasCaption ());
@@ -1758,7 +1762,9 @@ void DocbookDocVisitor::startDotFile(const QCString &fileName,
1758
1762
const QCString &width,
1759
1763
const QCString &height,
1760
1764
bool hasCaption,
1761
- const DocNodeList &children
1765
+ const DocNodeList &children,
1766
+ const QCString &srcFile,
1767
+ int srcLine
1762
1768
)
1763
1769
{
1764
1770
DB_VIS_C
@@ -1775,7 +1781,7 @@ DB_VIS_C
1775
1781
baseName.prepend (" dot_" );
1776
1782
QCString outDir = Config_getString (DOCBOOK_OUTPUT);
1777
1783
QCString imgExt = getDotImageExtension ();
1778
- writeDotGraphFromFile (fileName,outDir,baseName,GOF_BITMAP);
1784
+ writeDotGraphFromFile (fileName,outDir,baseName,GOF_BITMAP,srcFile,srcLine );
1779
1785
m_t << " <para>\n " ;
1780
1786
visitPreStart (m_t , children, hasCaption, baseName + " ." + imgExt, width, height);
1781
1787
}
0 commit comments