Click here to Skip to main content
12,239,997 members (66,412 online)
Click here to Skip to main content

Stats

57.8K views
867 downloads
17 bookmarked
Posted

Reporting Services 2008 – Embedding a PDF Document

, 29 Mar 2009 CPOL
Embedding the content of a PDF document is not supported, but we can add this feature with a SQL CLR function to parse the PDF into a list of images.
CodeCamp2009
bin
Debug
ConvertToImage_cs.vshost.exe.manifest
PDFParser.dll
GetPDF
GetPDF.csproj.user
bin
Debug
SqlClassLibrary.dll
Properties
Test Scripts
PDFParser
bin
Debug
PDFParser.dll
Properties
Report
DataSource1.rds
PDF - Backup.rdl
PDF.rdl
Report.rptproj
Report.rptproj.user
-- Examples for queries that exercise different SQL objects implemented by this assembly

-----------------------------------------------------------------------------------------
-- Stored procedure
-----------------------------------------------------------------------------------------
-- exec StoredProcedureName


-----------------------------------------------------------------------------------------
-- User defined function
-----------------------------------------------------------------------------------------
-- select dbo.FunctionName()


-----------------------------------------------------------------------------------------
-- User defined type
-----------------------------------------------------------------------------------------
-- CREATE TABLE test_table (col1 UserType)
-- go
--
-- INSERT INTO test_table VALUES (convert(uri, 'Instantiation String 1'))
-- INSERT INTO test_table VALUES (convert(uri, 'Instantiation String 2'))
-- INSERT INTO test_table VALUES (convert(uri, 'Instantiation String 3'))
--
-- select col1::method1() from test_table



-----------------------------------------------------------------------------------------
-- User defined type
-----------------------------------------------------------------------------------------
-- select dbo.AggregateName(Column1) from Table1


select 'To run your project, please edit the Test.sql file in your project. This file is located in the Test Scripts folder in the Solution Explorer.'

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Steve MunLeeuw
Software Developer SI&A Corp
United States United States
No Biography provided

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160426.1 | Last Updated 29 Mar 2009
Article Copyright 2009 by Steve MunLeeuw
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid