diff options
Diffstat (limited to 'src/lib/VSD5Parser.cpp')
-rw-r--r-- | src/lib/VSD5Parser.cpp | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/src/lib/VSD5Parser.cpp b/src/lib/VSD5Parser.cpp index 601313d..4a3393f 100644 --- a/src/lib/VSD5Parser.cpp +++ b/src/lib/VSD5Parser.cpp @@ -220,7 +220,6 @@ void libvisio::VSD5Parser::readLine(librevenge::RVNGInputStream *input) void libvisio::VSD5Parser::readParaIX(librevenge::RVNGInputStream *input) { - // long startPosition = input->tell(); unsigned charCount = readU16(input); input->seek(1, librevenge::RVNG_SEEK_CUR); double indFirst = readDouble(input); @@ -242,34 +241,7 @@ void libvisio::VSD5Parser::readParaIX(librevenge::RVNGInputStream *input) VSDName bulletStr; double textPosAfterTab(0.0); unsigned flags(0); - /* - long remainingData = m_header.dataLength - input->tell() + startPosition; - unsigned blockLength = 0; - while (remainingData >= 2 && (blockLength = readU16(input))) - { - long blockEnd = blockLength-2 + input->tell(); - unsigned char blockType = readU8(input); - unsigned char blockIdx = readU8(input); - if (blockType == 2 && blockIdx == 8) - { - input->seek(1, librevenge::RVNG_SEEK_CUR); - unsigned long numBytes = readU8(input); - unsigned long numBytesRead = 0; - const unsigned char *tmpBuffer = input->read(numBytes, numBytesRead); - if (tmpBuffer && numBytesRead) - { - librevenge::RVNGBinaryData tmpBulletString(tmpBuffer, numBytesRead); - bulletStr = VSDName(tmpBulletString, libvisio::VSD_TEXT_ANSI); - } - } - else if (blockType == 2 && blockIdx == 3) - { - }; - input->seek(blockEnd, librevenge::RVNG_SEEK_SET); - remainingData -= blockLength; - } - */ if (m_isInStyles) m_collector->collectParaIXStyle(m_header.id, m_header.level, charCount, indFirst, indLeft, indRight, spLine, spBefore, spAfter, align, bullet, bulletStr, textPosAfterTab, flags); |