summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-21 09:37:23 +0100
committerFridrich Štrba <fridrich.strba@bluewin.ch>2015-12-21 09:37:23 +0100
commitd75f197aec002592b3923550f90c25a1d1c6be20 (patch)
treef2890b6cf5d0dfd2c5b1e7be140a27f7a46c5952
parente1116a4cfb515b177e7b7203c0f8307431518c49 (diff)
At least Visio 1 and Visio 2 do not support bullets
Change-Id: Ic1206d889247f27d7b81e6815af7caeae258d5e7
-rw-r--r--src/lib/VSD5Parser.cpp28
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);