Document Toolkit for LightSwitch

VSIP Partner Paid

A document viewer for LightSwitch

(4) Review
Visual Studio
2012, 2010
Download (14,562)
6/26/2012
1.7
View
E-mail Twitter del.icio.us Digg Facebook
Add To Favorites
Description
Reviews (4)
Q and A (10)
Sign in to Write a Review
Sort By:

by Steve Carr at Titanium | March 08 2013

Can't properly render about 50% of PDF documents due to unsupported font files.

This makes an otherwise fantastic product - unusable. A real shame.

by Marden LR | July 23 2012

Very good!
Is missing only have full compatibility with .pdf files

by Ubo Omar | May 31 2012

Very useful tool

by ADefwebserver | May 24 2011

Sign in to Start a Discussion


  • License key
    3 Posts | Last Post November 27, 2012
    • Hi there,
      I have tried your tool and decided to buy a Document Toolkit LightSwitch license. I've received the licence key but somehow it doesn't fit. I followed the documentation on how to register but it still shows Evaluation version. Could you tell me what to do next? I'm using v 1.4  
    • Hi Sjef, can you send your license key to kozw[at]firstfloorsoftware.com?
      
    • Very nice developement, i just tried it in trial, but in a very sorry way the PDF files absollutely not oppening, even if i upload them to the Sample site also not vissible, easy to use, jpg,png.. (image files) are visible instantly, no effort to implemnt, would be perfect, just a "small" issue with PDF, which are absolutely not working :(
  • Store Encrypted binary file then display it
    2 Posts | Last Post August 22, 2012
    • how to Store Encrypted binary file in the database then display it at run time?
    • That shouldn't be too hard. Assuming you have a Documents table with binary EncryptedFile column. Add a computed property DecryptedFile and enter the following in the compute method;
      
      partial void DecryptedFile_Compute(ref byte[] result)
      {
        // TODO: decrypt this.File
      }
      
      Add a document like this and make sure the Encrypt method is invoked when assigning the File property.
      
      private void AddDocumentFromDisk()
      {
        Dispatchers.Main.Invoke(() => {
          var dlg = new OpenFileDialog();
          if (dlg.ShowDialog() == true) {
            using (var reader = DocumentReader.Create(file)) {
              var document = this.Documents.AddNew();
              document.File = Encrypt(reader.ToBinary());
            }
          }
        });
      }
      
      private byte[] Encrypt(byte[] file)
      {
        // TODO: encrypt file
      }
      
  • When will we have full support for .PDF files?
    3 Posts | Last Post July 24, 2012
    • Archives .PDF occupy less space and is more common among users
      when we will have full compatibility with this type of file?
      Thank you.
    • Improvements to the PDF renderer are implemented one bug at a time. Fixing the PDF stack doesn't have a high priority. Also, the changes that Document Toolkit fully implements the PDF specification are rather slim.
    • Improvements to the PDF renderer are implemented one bug at a time. Fixing the PDF stack doesn't have a high priority. Also, the changes that Document Toolkit fully implements the PDF specification are rather slim.
  • Some .XPS files failed to load in document toolkit in lightswitch web application
    4 Posts | Last Post July 18, 2012
    • See this post as a image with error...
      http://social.msdn.microsoft.com/Forums/en-US/lightswitch/thread/c5e7d5f7-16fd-4aad-8732-d613a76ae6e3
    • Hi Marden,
      
      Can you send a copy of this XPS document to info[at]firstfloorsoftware.com?
      
      Thanks,
      Koen
    • Sorry but the file was on the client computer and it no longer exists
    • Okay. Should you ever run into this issue again, I would love to receive a copy of the XPS.
      
      Thanks
  • Problem to save as xps
    3 Posts | Last Post July 17, 2012
    • I have some doubts 
      
      1. have the option to save as? 
      2. I have a file with 1MB saved in the database when I click the print button and print in the xps printer the file is saved with 80MB of size but in the database the file is only 1MB why this happen?
    • Hi Marden,
      
      1) You can implement a save-as yourself. See also the tutorial 'How To Download and Update Documents' at http://documenttoolkit.codeplex.com/wikipage?title=How%20To%20Download%20and%20Update%20Documents
      
      2) The XPS printer creates bitmaps for each page. Bitmaps are much larger than the vector graphics of the original XPS document.
      
      Kind regards
      Koen
    • Thanks Koen :)
  • Version for Metro/Cosmopolitan Themes
    3 Posts | Last Post July 01, 2012
    • It doesn't work in VS2012 RC Lightswitch with Lightswitch Cosmopolitan Them, and in didn't work with Metro Theme in LightSwitch 2011. It just stops and nothing happens.
      
      Can you release version for Metro/Cosmopolitan Themes?
      
    • There's an issue with these themes. Working on it.
      
      Koen
    • FYI: the theme issue has been fixed in version 1.7
  • How Do I PAY?
    2 Posts | Last Post February 11, 2012
    • I have a trial version of the Document Toolkit and it's great.  It does exactly what I need.  I would like to buy the full version now.  However, I can't figure out how to purchase it.  I'm sure I will eventually figure it out, but you should really not make it so difficult for people to pay you.  Anyway, it's a great product.  Thanks!
    • Added the purchase link (http://firstfloorsoftware.com/documenttoolkit/purchase/) to the home page. Thanks for your feedback
  • When?
    2 Posts | Last Post October 25, 2011
    • Good work Koen. But when will LS version be ready for prime time (i.e. PDF viewer out of experimental)?
    • Adding improvements to the PDF render engine is a continous process. There's still a number of updates required before the experimental notification bar will be removed. I can't provide you with a release date.
  • Document Toolkit and Lightswitch as Web Applikation
    2 Posts | Last Post August 31, 2011
    • Hi,
      
      i see the Demo and the Toolkit seems perfect. Is it possible to deploy the lightswitch application with Document Toolkit functionality as a Web Application?
      
      Tx kiri
    • Hi kiri,
      
      Document Toolkit works fine in a web application but Office document support is disabled. Office support requires elevated permissions which are only available to desktop apps. If you need to display Office documents in a web app, you'll need to convert them to XPS before you can display them.
      
      Koen
  • Document Toolkit and Lightswitch as Web Applikation
    1 Posts | Last Post August 30, 2011
    • Hi,
      
      i see the Demo and the Toolkit seems perfect. Is it possible to deploy the lightswitch application with Document Toolkit functionality as a Web Application?
      
      Tx kiri