Detecting fastsave documents

2002-05-03
2002-05-15
  • Paul Kippes

    Paul Kippes - 2002-05-03

    I've been having different results when converting fastsave documents vs. non-fastsave documents.

    Is there ANY way to detect fastsave documents ahead of time?  With wvVersion?  With wvStatus?

    Please?

     
    • Paul Kippes

      Paul Kippes - 2002-05-15

      After looking into this a bit, it was trivial.  BTW, HTML output does add a comment near the top of the converted document, but this is after conversion.

      This patch will produce something like this with wvVersion:
      Version: word8, Complex: Yes, Encrypted: No

      This is exactly what I was looking for.  Thanks me!

      *** wv-0.7.2/wvVersion.c    Fri Nov  9 14:36:08 2001
      --- wv-0.7.2.patched/wvVersion.c    Wed May 15 14:32:17 2002
      ***************
      *** 84,89 ****
      --- 84,95 ----
              break;
              }
       
      +     printf (", Complex: ");
      +     if (ps.fib.fComplex)
      +     printf ("Yes");
      +     else
      +     printf ("No");
      +
            printf (", Encrypted: ");
            if (ret & 0x8000)
            printf ("Yes\n");

       

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks