| 1 | /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: t; c-basic-offset: 4 -*- */ |
| 2 | /* librevenge |
| 3 | * Version: MPL 2.0 / LGPLv2.1+ |
| 4 | * |
| 5 | * This Source Code Form is subject to the terms of the Mozilla Public |
| 6 | * License, v. 2.0. If a copy of the MPL was not distributed with this |
| 7 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. |
| 8 | * |
| 9 | * Alternatively, the contents of this file may be used under the terms |
| 10 | * of the GNU Lesser General Public License Version 2.1 or later |
| 11 | * (LGPLv2.1+), in which case the provisions of the LGPLv2.1+ are |
| 12 | * applicable instead of those above. |
| 13 | */ |
| 14 | |
| 15 | #include <librevenge-generators/librevenge-generators.h> |
| 16 | |
| 17 | #include <stdio.h> |
| 18 | |
| 19 | #include "RVNGRawGeneratorBase.h" |
| 20 | |
| 21 | namespace librevenge |
| 22 | { |
| 23 | |
| 24 | struct RVNGRawPresentationGeneratorImpl : RVNGRawGeneratorBase |
| 25 | { |
| 26 | explicit RVNGRawPresentationGeneratorImpl(bool printCallgraphScore); |
| 27 | }; |
| 28 | |
| 29 | RVNGRawPresentationGeneratorImpl::RVNGRawPresentationGeneratorImpl(bool printCallgraphScore) |
| 30 | : RVNGRawGeneratorBase(printCallgraphScore) |
| 31 | { |
| 32 | } |
| 33 | |
| 34 | RVNGRawPresentationGenerator::RVNGRawPresentationGenerator(const bool printCallgraphScore) |
| 35 | : m_impl(new RVNGRawPresentationGeneratorImpl(printCallgraphScore)) |
| 36 | { |
| 37 | } |
| 38 | |
| 39 | RVNGRawPresentationGenerator::~RVNGRawPresentationGenerator() |
| 40 | { |
| 41 | if (m_impl->m_printCallgraphScore) |
| 42 | printf("%d\n", m_impl->m_atLeastOneCallback ? (int)m_impl->m_callStack.size() + m_impl->m_callbackMisses : -1); |
| 43 | |
| 44 | delete m_impl; |
| 45 | } |
| 46 | |
| 47 | void RVNGRawPresentationGenerator::startDocument(const RVNGPropertyList &propList) |
| 48 | { |
| 49 | RVNG_CALLGRAPH_ENTER(("startDocument(%s)\n", propList.getPropString().cstr()), |
| 50 | CALLBACK_START_DOCUMENT); |
| 51 | } |
| 52 | |
| 53 | void RVNGRawPresentationGenerator::endDocument() |
| 54 | { |
| 55 | RVNG_CALLGRAPH_LEAVE(("endDocument()\n"), CALLBACK_START_DOCUMENT); |
| 56 | } |
| 57 | |
| 58 | void RVNGRawPresentationGenerator::setDocumentMetaData(const RVNGPropertyList &propList) |
| 59 | { |
| 60 | if (m_impl->m_printCallgraphScore) |
| 61 | return; |
| 62 | |
| 63 | m_impl->iprintf("setDocumentMetaData(%s)\n", propList.getPropString().cstr()); |
| 64 | } |
| 65 | |
| 66 | void RVNGRawPresentationGenerator::defineEmbeddedFont(const RVNGPropertyList &propList) |
| 67 | { |
| 68 | if (m_impl->m_printCallgraphScore) |
| 69 | return; |
| 70 | |
| 71 | m_impl->iprintf("defineEmbeddedFont(%s)\n", propList.getPropString().cstr()); |
| 72 | } |
| 73 | |
| 74 | void RVNGRawPresentationGenerator::startSlide(const RVNGPropertyList &propList) |
| 75 | { |
| 76 | RVNG_CALLGRAPH_ENTER(("startSlide(%s)\n", propList.getPropString().cstr()), |
| 77 | CALLBACK_START_SLIDE); |
| 78 | } |
| 79 | |
| 80 | void RVNGRawPresentationGenerator::endSlide() |
| 81 | { |
| 82 | RVNG_CALLGRAPH_LEAVE(("endSlide()\n"), CALLBACK_START_SLIDE); |
| 83 | } |
| 84 | |
| 85 | void RVNGRawPresentationGenerator::startMasterSlide(const RVNGPropertyList &propList) |
| 86 | { |
| 87 | RVNG_CALLGRAPH_ENTER(("startMasterSlide(%s)\n", propList.getPropString().cstr()), |
| 88 | CALLBACK_START_MASTER_SLIDE); |
| 89 | } |
| 90 | |
| 91 | void RVNGRawPresentationGenerator::endMasterSlide() |
| 92 | { |
| 93 | RVNG_CALLGRAPH_LEAVE(("endMasterSlide()\n"), CALLBACK_START_MASTER_SLIDE); |
| 94 | } |
| 95 | |
| 96 | void RVNGRawPresentationGenerator::setSlideTransition(const RVNGPropertyList &propList) |
| 97 | { |
| 98 | if (m_impl->m_printCallgraphScore) |
| 99 | return; |
| 100 | |
| 101 | m_impl->iprintf("setSlideTransition(%s)\n", propList.getPropString().cstr()); |
| 102 | } |
| 103 | |
| 104 | void RVNGRawPresentationGenerator::startLayer(const RVNGPropertyList &propList) |
| 105 | { |
| 106 | RVNG_CALLGRAPH_ENTER(("startLayer(%s)\n", propList.getPropString().cstr()), |
| 107 | CALLBACK_START_LAYER); |
| 108 | } |
| 109 | |
| 110 | void RVNGRawPresentationGenerator::endLayer() |
| 111 | { |
| 112 | RVNG_CALLGRAPH_LEAVE(("endLayer()\n"), CALLBACK_START_LAYER); |
| 113 | } |
| 114 | |
| 115 | void RVNGRawPresentationGenerator::startEmbeddedGraphics(const RVNGPropertyList &propList) |
| 116 | { |
| 117 | RVNG_CALLGRAPH_ENTER(("startEmbeddedGraphics(%s)\n", propList.getPropString().cstr()), |
| 118 | CALLBACK_START_EMBEDDED_GRAPHICS); |
| 119 | } |
| 120 | |
| 121 | void RVNGRawPresentationGenerator::endEmbeddedGraphics() |
| 122 | { |
| 123 | RVNG_CALLGRAPH_LEAVE(("endEmbeddedGraphics \n"), CALLBACK_START_EMBEDDED_GRAPHICS); |
| 124 | } |
| 125 | |
| 126 | void RVNGRawPresentationGenerator::openGroup(const RVNGPropertyList &propList) |
| 127 | { |
| 128 | RVNG_CALLGRAPH_ENTER(("openGroup(%s)\n", propList.getPropString().cstr()), |
| 129 | CALLBACK_OPEN_GROUP); |
| 130 | } |
| 131 | |
| 132 | void RVNGRawPresentationGenerator::closeGroup() |
| 133 | { |
| 134 | RVNG_CALLGRAPH_LEAVE(("closeGroup()\n"), CALLBACK_OPEN_GROUP); |
| 135 | } |
| 136 | |
| 137 | void RVNGRawPresentationGenerator::setStyle(const RVNGPropertyList &propList) |
| 138 | { |
| 139 | if (m_impl->m_printCallgraphScore) |
| 140 | return; |
| 141 | |
| 142 | m_impl->iprintf("setStyle(%s)\n", propList.getPropString().cstr()); |
| 143 | } |
| 144 | |
| 145 | void RVNGRawPresentationGenerator::drawRectangle(const RVNGPropertyList &propList) |
| 146 | { |
| 147 | if (m_impl->m_printCallgraphScore) |
| 148 | return; |
| 149 | |
| 150 | m_impl->iprintf("drawRectangle(%s)\n", propList.getPropString().cstr()); |
| 151 | } |
| 152 | |
| 153 | void RVNGRawPresentationGenerator::drawEllipse(const RVNGPropertyList &propList) |
| 154 | { |
| 155 | if (m_impl->m_printCallgraphScore) |
| 156 | return; |
| 157 | |
| 158 | m_impl->iprintf("drawEllipse(%s)\n", propList.getPropString().cstr()); |
| 159 | } |
| 160 | |
| 161 | void RVNGRawPresentationGenerator::drawPolyline(const RVNGPropertyList &propList) |
| 162 | { |
| 163 | if (m_impl->m_printCallgraphScore) |
| 164 | return; |
| 165 | |
| 166 | m_impl->iprintf("drawPolyline(%s)\n", propList.getPropString().cstr()); |
| 167 | } |
| 168 | |
| 169 | void RVNGRawPresentationGenerator::drawPolygon(const RVNGPropertyList &propList) |
| 170 | { |
| 171 | if (m_impl->m_printCallgraphScore) |
| 172 | return; |
| 173 | |
| 174 | m_impl->iprintf("drawPolygon(%s)\n", propList.getPropString().cstr()); |
| 175 | } |
| 176 | |
| 177 | void RVNGRawPresentationGenerator::drawPath(const RVNGPropertyList &propList) |
| 178 | { |
| 179 | if (m_impl->m_printCallgraphScore) |
| 180 | return; |
| 181 | |
| 182 | m_impl->iprintf("drawPath(%s)\n", propList.getPropString().cstr()); |
| 183 | } |
| 184 | |
| 185 | void RVNGRawPresentationGenerator::drawGraphicObject(const RVNGPropertyList &propList) |
| 186 | { |
| 187 | if (m_impl->m_printCallgraphScore) |
| 188 | return; |
| 189 | |
| 190 | m_impl->iprintf("drawGraphicObject(%s)\n", propList.getPropString().cstr()); |
| 191 | } |
| 192 | |
| 193 | void RVNGRawPresentationGenerator::drawConnector(const RVNGPropertyList &propList) |
| 194 | { |
| 195 | if (m_impl->m_printCallgraphScore) |
| 196 | return; |
| 197 | |
| 198 | m_impl->iprintf("drawConnector(%s)\n", propList.getPropString().cstr()); |
| 199 | } |
| 200 | |
| 201 | void RVNGRawPresentationGenerator::startTextObject(const RVNGPropertyList &propList) |
| 202 | { |
| 203 | RVNG_CALLGRAPH_ENTER(("startTextObject(%s)\n", propList.getPropString().cstr()), CALLBACK_START_TEXT_OBJECT); |
| 204 | } |
| 205 | |
| 206 | void RVNGRawPresentationGenerator::endTextObject() |
| 207 | { |
| 208 | RVNG_CALLGRAPH_LEAVE(("endTextObject()\n"), CALLBACK_START_TEXT_OBJECT); |
| 209 | } |
| 210 | |
| 211 | void RVNGRawPresentationGenerator::defineParagraphStyle(const RVNGPropertyList &propList) |
| 212 | { |
| 213 | m_impl->iprintf("defineParagraphStyle(%s)\n", propList.getPropString().cstr()); |
| 214 | } |
| 215 | |
| 216 | void RVNGRawPresentationGenerator::openParagraph(const RVNGPropertyList &propList) |
| 217 | { |
| 218 | RVNG_CALLGRAPH_ENTER(("openParagraph(%s)\n", propList.getPropString().cstr()), CALLBACK_OPEN_PARAGRAPH); |
| 219 | } |
| 220 | |
| 221 | void RVNGRawPresentationGenerator::closeParagraph() |
| 222 | { |
| 223 | RVNG_CALLGRAPH_LEAVE(("closeParagraph()\n"), CALLBACK_OPEN_PARAGRAPH); |
| 224 | } |
| 225 | |
| 226 | void RVNGRawPresentationGenerator::defineCharacterStyle(const RVNGPropertyList &propList) |
| 227 | { |
| 228 | m_impl->iprintf("defineCharacterStyle(%s)\n", propList.getPropString().cstr()); |
| 229 | } |
| 230 | |
| 231 | void RVNGRawPresentationGenerator::openSpan(const RVNGPropertyList &propList) |
| 232 | { |
| 233 | RVNG_CALLGRAPH_ENTER(("openSpan(%s)\n", propList.getPropString().cstr()), |
| 234 | CALLBACK_OPEN_SPAN); |
| 235 | } |
| 236 | |
| 237 | void RVNGRawPresentationGenerator::closeSpan() |
| 238 | { |
| 239 | RVNG_CALLGRAPH_LEAVE(("closeSpan()\n"), CALLBACK_OPEN_SPAN); |
| 240 | } |
| 241 | |
| 242 | void RVNGRawPresentationGenerator::openLink(const RVNGPropertyList &propList) |
| 243 | { |
| 244 | RVNG_CALLGRAPH_ENTER(("openLink(%s)\n", propList.getPropString().cstr()), |
| 245 | CALLBACK_OPEN_LINK); |
| 246 | } |
| 247 | |
| 248 | void RVNGRawPresentationGenerator::closeLink() |
| 249 | { |
| 250 | RVNG_CALLGRAPH_LEAVE(("closeLink()\n"), CALLBACK_OPEN_LINK); |
| 251 | } |
| 252 | |
| 253 | void RVNGRawPresentationGenerator::insertText(const RVNGString &str) |
| 254 | { |
| 255 | if (m_impl->m_printCallgraphScore) |
| 256 | return; |
| 257 | |
| 258 | m_impl->iprintf("insertText(%s)\n", str.cstr()); |
| 259 | } |
| 260 | |
| 261 | void RVNGRawPresentationGenerator::insertTab() |
| 262 | { |
| 263 | if (m_impl->m_printCallgraphScore) |
| 264 | return; |
| 265 | |
| 266 | m_impl->iprintf("insertTab()\n"); |
| 267 | } |
| 268 | |
| 269 | void RVNGRawPresentationGenerator::insertSpace() |
| 270 | { |
| 271 | if (m_impl->m_printCallgraphScore) |
| 272 | return; |
| 273 | |
| 274 | m_impl->iprintf("insertSpace()\n"); |
| 275 | } |
| 276 | |
| 277 | void RVNGRawPresentationGenerator::insertLineBreak() |
| 278 | { |
| 279 | if (m_impl->m_printCallgraphScore) |
| 280 | return; |
| 281 | |
| 282 | m_impl->iprintf("insertLineBreak()\n"); |
| 283 | } |
| 284 | |
| 285 | void RVNGRawPresentationGenerator::insertField(const RVNGPropertyList &propList) |
| 286 | { |
| 287 | if (m_impl->m_printCallgraphScore) |
| 288 | return; |
| 289 | |
| 290 | m_impl->iprintf("insertField(%s)\n", propList.getPropString().cstr()); |
| 291 | } |
| 292 | |
| 293 | void RVNGRawPresentationGenerator::openOrderedListLevel(const RVNGPropertyList &propList) |
| 294 | { |
| 295 | RVNG_CALLGRAPH_ENTER(("openOrderedListLevel(%s)\n", propList.getPropString().cstr()), |
| 296 | CALLBACK_OPEN_ORDERED_LIST_LEVEL); |
| 297 | } |
| 298 | |
| 299 | void RVNGRawPresentationGenerator::openUnorderedListLevel(const RVNGPropertyList &propList) |
| 300 | { |
| 301 | RVNG_CALLGRAPH_ENTER(("openUnorderedListLevel(%s)\n", propList.getPropString().cstr()), |
| 302 | CALLBACK_OPEN_UNORDERED_LIST_LEVEL); |
| 303 | } |
| 304 | |
| 305 | void RVNGRawPresentationGenerator::closeOrderedListLevel() |
| 306 | { |
| 307 | RVNG_CALLGRAPH_LEAVE(("closeOrderedListLevel()\n"), |
| 308 | CALLBACK_OPEN_ORDERED_LIST_LEVEL); |
| 309 | } |
| 310 | |
| 311 | void RVNGRawPresentationGenerator::closeUnorderedListLevel() |
| 312 | { |
| 313 | RVNG_CALLGRAPH_LEAVE(("closeUnorderedListLevel()\n"), |
| 314 | CALLBACK_OPEN_UNORDERED_LIST_LEVEL); |
| 315 | } |
| 316 | |
| 317 | void RVNGRawPresentationGenerator::openListElement(const RVNGPropertyList &propList) |
| 318 | { |
| 319 | RVNG_CALLGRAPH_ENTER(("openListElement(%s)\n", propList.getPropString().cstr()), CALLBACK_OPEN_LIST_ELEMENT); |
| 320 | } |
| 321 | |
| 322 | void RVNGRawPresentationGenerator::closeListElement() |
| 323 | { |
| 324 | RVNG_CALLGRAPH_LEAVE(("closeListElement()\n"), CALLBACK_OPEN_LIST_ELEMENT); |
| 325 | } |
| 326 | |
| 327 | void RVNGRawPresentationGenerator::startTableObject(const RVNGPropertyList &propList) |
| 328 | { |
| 329 | RVNG_CALLGRAPH_ENTER(("startTableObject(%s)\n", propList.getPropString().cstr()), CALLBACK_OPEN_TABLE); |
| 330 | } |
| 331 | |
| 332 | void RVNGRawPresentationGenerator::openTableRow(const RVNGPropertyList &propList) |
| 333 | { |
| 334 | RVNG_CALLGRAPH_ENTER(("openTableRow(%s)\n", propList.getPropString().cstr()), |
| 335 | CALLBACK_OPEN_TABLE_ROW); |
| 336 | } |
| 337 | |
| 338 | void RVNGRawPresentationGenerator::closeTableRow() |
| 339 | { |
| 340 | RVNG_CALLGRAPH_LEAVE(("closeTableRow()\n"), CALLBACK_OPEN_TABLE_ROW); |
| 341 | } |
| 342 | |
| 343 | void RVNGRawPresentationGenerator::openTableCell(const RVNGPropertyList &propList) |
| 344 | { |
| 345 | RVNG_CALLGRAPH_ENTER(("openTableCell(%s)\n", propList.getPropString().cstr()), |
| 346 | CALLBACK_OPEN_TABLE_CELL); |
| 347 | } |
| 348 | |
| 349 | void RVNGRawPresentationGenerator::closeTableCell() |
| 350 | { |
| 351 | RVNG_CALLGRAPH_LEAVE(("closeTableCell()\n"), CALLBACK_OPEN_TABLE_CELL); |
| 352 | } |
| 353 | |
| 354 | void RVNGRawPresentationGenerator::insertCoveredTableCell(const RVNGPropertyList &propList) |
| 355 | { |
| 356 | if (m_impl->m_printCallgraphScore) |
| 357 | return; |
| 358 | |
| 359 | m_impl->iprintf("insertCoveredTableCell(%s)\n", propList.getPropString().cstr()); |
| 360 | } |
| 361 | |
| 362 | void RVNGRawPresentationGenerator::endTableObject() |
| 363 | { |
| 364 | RVNG_CALLGRAPH_LEAVE(("endTableObject()\n"), CALLBACK_OPEN_TABLE); |
| 365 | } |
| 366 | |
| 367 | void RVNGRawPresentationGenerator::startComment(const RVNGPropertyList &propList) |
| 368 | { |
| 369 | RVNG_CALLGRAPH_ENTER(("startComment(%s)\n", propList.getPropString().cstr()), |
| 370 | CALLBACK_START_COMMENT); |
| 371 | } |
| 372 | |
| 373 | void RVNGRawPresentationGenerator::endComment() |
| 374 | { |
| 375 | RVNG_CALLGRAPH_LEAVE(("endComment()\n"), CALLBACK_START_COMMENT); |
| 376 | } |
| 377 | |
| 378 | void RVNGRawPresentationGenerator::startNotes(const RVNGPropertyList &propList) |
| 379 | { |
| 380 | RVNG_CALLGRAPH_ENTER(("startNotes(%s)\n", propList.getPropString().cstr()), |
| 381 | CALLBACK_START_NOTES); |
| 382 | } |
| 383 | |
| 384 | void RVNGRawPresentationGenerator::endNotes() |
| 385 | { |
| 386 | RVNG_CALLGRAPH_LEAVE(("endNotes()\n"), CALLBACK_START_NOTES); |
| 387 | } |
| 388 | |
| 389 | void RVNGRawPresentationGenerator::defineChartStyle(const RVNGPropertyList &propList) |
| 390 | { |
| 391 | if (m_impl->m_printCallgraphScore) |
| 392 | return; |
| 393 | |
| 394 | m_impl->iprintf("defineChartStyle(%s)\n", propList.getPropString().cstr()); |
| 395 | } |
| 396 | |
| 397 | void RVNGRawPresentationGenerator::openChart(const RVNGPropertyList &propList) |
| 398 | { |
| 399 | RVNG_CALLGRAPH_ENTER(("openChart(%s)\n", propList.getPropString().cstr()), |
| 400 | CALLBACK_OPEN_CHART); |
| 401 | } |
| 402 | |
| 403 | void RVNGRawPresentationGenerator::closeChart() |
| 404 | { |
| 405 | RVNG_CALLGRAPH_LEAVE(("closeChart()\n"), CALLBACK_OPEN_CHART); |
| 406 | } |
| 407 | |
| 408 | void RVNGRawPresentationGenerator::openChartTextObject(const RVNGPropertyList &propList) |
| 409 | { |
| 410 | RVNG_CALLGRAPH_ENTER(("openChartTextObject(%s)\n", propList.getPropString().cstr()), |
| 411 | CALLBACK_OPEN_CHART_TEXTOBJECT); |
| 412 | } |
| 413 | |
| 414 | void RVNGRawPresentationGenerator::closeChartTextObject() |
| 415 | { |
| 416 | RVNG_CALLGRAPH_LEAVE(("closeChartTextObject()\n"), CALLBACK_OPEN_CHART_TEXTOBJECT); |
| 417 | } |
| 418 | |
| 419 | void RVNGRawPresentationGenerator::openChartPlotArea(const RVNGPropertyList &propList) |
| 420 | { |
| 421 | RVNG_CALLGRAPH_ENTER(("openChartPlotArea(%s)\n", propList.getPropString().cstr()), |
| 422 | CALLBACK_OPEN_CHART_PLOTAREA); |
| 423 | } |
| 424 | |
| 425 | void RVNGRawPresentationGenerator::closeChartPlotArea() |
| 426 | { |
| 427 | RVNG_CALLGRAPH_LEAVE(("closeChartPlotArea()\n"), CALLBACK_OPEN_CHART_PLOTAREA); |
| 428 | } |
| 429 | |
| 430 | void RVNGRawPresentationGenerator::insertChartAxis(const RVNGPropertyList &propList) |
| 431 | { |
| 432 | if (m_impl->m_printCallgraphScore) |
| 433 | return; |
| 434 | |
| 435 | m_impl->iprintf("insertChartAxis(%s)\n", propList.getPropString().cstr()); |
| 436 | } |
| 437 | |
| 438 | void RVNGRawPresentationGenerator::openChartSeries(const librevenge::RVNGPropertyList &propList) |
| 439 | { |
| 440 | RVNG_CALLGRAPH_ENTER(("openChartSeries(%s)\n", propList.getPropString().cstr()), |
| 441 | CALLBACK_OPEN_CHART_SERIE); |
| 442 | } |
| 443 | |
| 444 | void RVNGRawPresentationGenerator::closeChartSeries() |
| 445 | { |
| 446 | RVNG_CALLGRAPH_LEAVE(("closeChartSeries()\n"), CALLBACK_OPEN_CHART_SERIE); |
| 447 | } |
| 448 | |
| 449 | void RVNGRawPresentationGenerator::openAnimationSequence(const RVNGPropertyList &propList) |
| 450 | { |
| 451 | RVNG_CALLGRAPH_ENTER(("openAnimationSequence(%s)\n", propList.getPropString().cstr()), |
| 452 | CALLBACK_OPEN_ANIMATION_SEQUENCE); |
| 453 | } |
| 454 | |
| 455 | void RVNGRawPresentationGenerator::closeAnimationSequence() |
| 456 | { |
| 457 | RVNG_CALLGRAPH_LEAVE(("closeAnimationSequence()\n"), CALLBACK_OPEN_ANIMATION_SEQUENCE); |
| 458 | } |
| 459 | |
| 460 | void RVNGRawPresentationGenerator::openAnimationGroup(const RVNGPropertyList &propList) |
| 461 | { |
| 462 | RVNG_CALLGRAPH_ENTER(("openAnimationGroup(%s)\n", propList.getPropString().cstr()), |
| 463 | CALLBACK_OPEN_ANIMATION_GROUP); |
| 464 | } |
| 465 | |
| 466 | void RVNGRawPresentationGenerator::closeAnimationGroup() |
| 467 | { |
| 468 | RVNG_CALLGRAPH_LEAVE(("closeAnimationGroup()\n"), CALLBACK_OPEN_ANIMATION_GROUP); |
| 469 | } |
| 470 | |
| 471 | void RVNGRawPresentationGenerator::openAnimationIteration(const RVNGPropertyList &propList) |
| 472 | { |
| 473 | RVNG_CALLGRAPH_ENTER(("openAnimationIteration(%s)\n", propList.getPropString().cstr()), |
| 474 | CALLBACK_OPEN_ANIMATION_ITERATION); |
| 475 | } |
| 476 | |
| 477 | void RVNGRawPresentationGenerator::closeAnimationIteration() |
| 478 | { |
| 479 | RVNG_CALLGRAPH_LEAVE(("closeAnimationIteration()\n"), CALLBACK_OPEN_ANIMATION_ITERATION); |
| 480 | } |
| 481 | |
| 482 | void RVNGRawPresentationGenerator::insertMotionAnimation(const RVNGPropertyList &propList) |
| 483 | { |
| 484 | if (m_impl->m_printCallgraphScore) |
| 485 | return; |
| 486 | |
| 487 | m_impl->iprintf("insertMotionAnimation(%s)\n", propList.getPropString().cstr()); |
| 488 | } |
| 489 | |
| 490 | void RVNGRawPresentationGenerator::insertColorAnimation(const RVNGPropertyList &propList) |
| 491 | { |
| 492 | if (m_impl->m_printCallgraphScore) |
| 493 | return; |
| 494 | |
| 495 | m_impl->iprintf("insertColorAnimation(%s)\n", propList.getPropString().cstr()); |
| 496 | } |
| 497 | |
| 498 | void RVNGRawPresentationGenerator::insertAnimation(const RVNGPropertyList &propList) |
| 499 | { |
| 500 | if (m_impl->m_printCallgraphScore) |
| 501 | return; |
| 502 | |
| 503 | m_impl->iprintf("insertAnimation(%s)\n", propList.getPropString().cstr()); |
| 504 | } |
| 505 | |
| 506 | void RVNGRawPresentationGenerator::insertEffect(const RVNGPropertyList &propList) |
| 507 | { |
| 508 | if (m_impl->m_printCallgraphScore) |
| 509 | return; |
| 510 | |
| 511 | m_impl->iprintf("insertEffect(%s)\n", propList.getPropString().cstr()); |
| 512 | } |
| 513 | |
| 514 | |
| 515 | } |
| 516 | |
| 517 | /* vim:set shiftwidth=4 softtabstop=4 noexpandtab: */ |