A substitute for Visio for E-R modelling - sql

I need to submit a college project proposal for a dbms on airline reservation systems along with the E-R diagram. Microsoft Visio is unaffordable so I tried using Dia v0.97.2.
Its easy to use but I can't figure out a way to get the diagram on a word document. I used the Copy diagram option but that doesn't get the complete diagram for me.
I tried including snapshots but since my reputation is less than 10 I couldn't.
Also what entities can be included for this system?

Did you try to export your Dia diagram in EMF or WMF format? This usually works quite well. You'll have to insert the EMF as an image in Word. If that still doesn't help you may have found a bug in Dia and should report it in Dia's Bugzilla in order to get it fixed (Most probably a sample diagram will be required to illustrate your problem) https://bugzilla.gnome.org/enter_bug.cgi

like steffen said, export is a good option! i would suggest exporting as png though, and then you can just drag'n'drop that image into your word document. personally, this is what i usually do :)

Related

Manipulate visio chart using VBA/C# Automation

We have quite a complex Visio diagram with custom styled shapes and relations between them. Unfortunately the data of the shapes changes very often. So we have to edit the diagram manually. Furthermore we're searching for a way to automate this step. We don't want to edit the styles, only the data. I read on MSDN that the model behind Visio is stored in XML and there's also a VBA reference, which looks good.
My concern is that our approach is to time consuming and we end up with the old approach of doing it manually. Has someone done something similar and can give me a tip?
The Apache (N)Poi Library provides features I was looking for.
http://poi.apache.org/diagram/

Building a map/flowchart to better understand a database

I am interested in creating a map of my database, so that I may understand it better. I am having difficulties understanding which tables relate to other tables, and I think a map, or flowchart would help me greatly. Has anyone done this? If so, how did you accomplish it?
You can try SQL Server Management Studio Express. Just right click on Database Diagrams and create a new diagram. You can select existing tables that you desire.
You can follow an excellent guide step by step here.
If you have Microsoft visio, that's a good software in creating a flowchart.
I use Lucid Chart (www.lucidchart.com) occasionally because we don't have Visio either. They offer a free account, which works pretty well, apart from the limit on the number of items you can put in one document (I want to say it's a limit of 60 entities).

Is there a way to automatically import data into a form field in Adobe Acrobat Pro?

I'm open to other solutions as well.
My issue is this. We have about 500+ and growing different PDFs that need to have certain information (company info, phone numbers, etc.) added to form fields dynamically. The reason this needs to be dynamic is that this information changes regularly and we do not want to have to update all 500 PDFs each time it changes. So I am looking for some way to set up the PDFs so that they all read from a single external source (could be something as simple as a text file) dynamically upon opening the PDF in Acrobat Pro.
I have done some on-the-fly PDF creation in the past through PHP, however this does not seem like the best solution here as the PDFs need to be edited a lot by non-programmers and such. I'd prefer not to go that route and just stick to finding a way to get a few lines of data into the PDFs they create.
I've researched this a bit and it seems... possible, but confusing? This is the best thing I could find so far:
http://www.pdfscripting.com/public/department48.cfm
But the three solutions that it offers near the bottom all sound convoluted. Just wondering if there is something simpler that I am missing. All I really need to do is have the PDF import a few small chunks of text. Seems like it should be easy...
I think you can give http://www.codeproject.com/Tips/679606/Filling-PDF-Form-using-iText-PDF-Library a try. Hopefully it fulfills your needs.

itextsharp: solution on how to display a report

i have a report which looks like this. it will be in PDF format:
alt text http://img52.imageshack.us/img52/3324/fullscreencapture121420.png
the user will input all the different foods, thus every section like NONE, MODERATE, SEVERE will be a different size and thus i need to be able to expand the sections during run time. in order to do that i should probably slice up the image and add different sections during run time. i dont know the proper way to do it.
please help me with a suggestion on how to go about fitting the text in the appropriate sections (but also keep in mind i have no control over how many foods are in each section, the user will decide this during run time)
I would create an iTextSharp table for each of your results (None, Moderate, Severe) and write out the table sequentially, in the order you want them to appear on your PDF. Each row in your tables would have four columns.
I found these articles useful for creating tables in iTextSharp:
iTextSharp - Introducing Tables
SourceForge Table Tutorial
Edit
Sorry, I didn't see the vb.net tag on your question. The pages I linked are in C# - I hope you can translate. I found that most of the iTextSharp samples you'll find are in C#.
It might be worth using a reporting tool rather than iTextSharp for formatted/tabular data?
We use Active Reports from http://www.datadynamics.com/ but I am sure there are others.
EDIT:
It looks like iTextSharp supports html-to-pdf conversion? Maybe thats easier to render?
Just did a search and found this: http://somewebguy.wordpress.com/2009/05/08/itextsharp-simplify-your-html-to-pdf-creation/

Sql Server Reporting Services 2005 report import from PDF

Is there a tool or programming method available to take the layout defined in a PDF and import it into Sql Server Reporting Services 2005?
Quite a few layouts are created as PDFs by third parties. It would make development a lot easier if I could use some of the layout already defined.
I do not know of anything that will do this.
The only way I could think of is to convert the PDF file into a RDLC file. The RDLC file is a XML file, and follows a specific schema. To do this, would take a lot of time. Your probably better of creating the reports in report services manually.
I will definitely keep an eye out on this thread, however, I am quite certain that this solution does not yet exist.
Jon's answer concerning turning the PDF into XML and using that as a base sounds like a possible solution, but as he said the time and effort behind it probably wouldn't make it worth it at all.
As far as I know, I don't recall any sort of true layout-importing feature to SSRS, nor have I heard of any third party tools which would make it easier. If I had, I would have already purchased it, because a major sink of my own time is replicating forms and reports generated on a client's legacy system to work on SSRS.
I currently have the same problem, but if I have to, I will take the pdf and save them as images -- allowing me to insert them into the report -- as a last resort.