library

OpenOffice PDF Export Library

I am looking for a library which will allow me to render text and graphics output onto a PDF document. (Cairo is certainly an option.) I would like to know how OpenOffice writes PDF files to see if I could use the same library. What library is being used by OpenOffice for PDF export? Edit: I am looking for a C or C++ library. ...

What does the leading semicolon in JavaScript libraries do?

In several JavaScript libraries I saw this notation at the very beginning: /** * Library XYZ */ ;(function () { // ... and so on While I'm perfectly comfortable with the "immediately executed function" syntax (function(){...})() I was wondering what the leading semicolon is for. All I could come up with is, that it is an insura...

Static (iPhone) libraries, distribution, and dependencies

(Presumably the following question is not iPhone specific, aside from the fact that we would likely use a Framework or dynamic library otherwise.) I am building a proprietary iPhone SDK for a client, to integrate with their web back-end. Since we don't want to distribute the source code to customers, we need to distribute the SDK as a s...

Static library symbols missing in linked executable

Hi, I am trying to link a statically created .a library with another piece of C code. Butin the final executable several symbols (function names) are are found missing when seen with the nm command. Is itdue to the fact that the linker (gcc being called) is stripping the symbols which are not referenced in the other pirce of C code that ...

Common and Utility Library Consolidation

Before I begin, similar questions but not exact: http://stackoverflow.com/questions/41405/working-with-common-utility-libraries, http://stackoverflow.com/questions/407739/what-to-include-in-a-utility-library. I have recently starting working with our company's internal C# libraries, which include Common.dll and Utilities.dll; pretty sta...

redistributing application with NAG math libraries- client must have license?

Has anyone dealt with re-distributing an application that uses the Numerical Algorithms Group (NAG) Libraries? It seems like when I build an executable, it won't run unless I have an environment variable set for the license file- i.e. if I gave someone the code they would need a license and associated daemon as well. Is there no way a...

How to deal with mutil-cross static library in one iPhone project

Hi folks, I got a prob that, I have a base static library "Base", then other 2 libs("A" & "B") depend on it. So then I have a project "P", I add the 3 libs to "P", I get an error: ld: duplicate symbol .objc_category_name_NSObject_IMIBase in /Users/Travis/Documents/Home/IMI/IMIKit/build/Debug-iphonesimulator/libIMIUI-iphonesimulator.a(...

How to use OpenSSL in GCC

I'm tring to use openssl in a gcc program but it isn't working. g++ server.cpp /usr/lib/libssl.a -o server gives error, anything with -l option gives error, what should I type on command line to use openssl. The file /usr/lib/libssl.a exists, but still linker error no such funtion MD5() exists occurs. ...

Is there any open source text analysis library for PHP?

I am looking for a PHP library which does more or less the same thing as this webpage: http://textalyser.net/ I know that there are popular libraries in python and java, but I am looking for a PHP version. Thanks for your help! ...

ORM library for automatically mapping foreign keys in Python or Ruby

A frequent task I run into at work is writing scripts against pre-existing databases. Sometimes I'm connecting to Oracle, other times it might be MySql or even sql server. What I would like is a tool which would reverse-engineer the database's tables and foreign keys and allow me to write OO-style scripts against the database. This coul...

JPGraph: Forcing Y-Axis values to display whole numbers

I have a bar graph that displays a maximum value of 4, an integer. But the Y-axis values displayed are from 0.0 to 4.0. I want the y-axis to display integer values, not in decimal form. Can I explicitly do this in the JPGraph library? Thanks in advance. :D ...

unable to use three20 iphone library

Hello, Well I am a newbie, developing an app. I want to use library 320 to display a set of thumbnails generated from a specific image directory . When user clicks on an image a particular action shold take place. Unable to understand how to implement this library due to poor documentation. Can any body suggest me a better tutorial or...

Is it possible to save received emails as msg format instead of eml in SharePoint

I have a document library that is enabled to receive emails. However, the email is saved as .eml format, which cannot be opened by Outlook 2003/2007 by default. Is it possible to save the incoming emails as .msg instead? ...

Flash AS3 - Objects of same base class in library - Type coercion failed

This happens to me a lot and I've yet to find a good solution. Say you have two classes, Tree (com.company.Tree) and Fruit (com.company.Fruit). On the stage in Flash, the Tree has an instance of Fruit (class=fruit1, base class=com.company.Fruit), and it's instance name is fruit. Everything is fine, until you duplicate the tree and fruit ...

Ruby url parsing - determine whether one url is under the same folder

I'm looking for a method that will allow me to take two URL's and decide if one is in the scope of the other, meaning that it is either in the same folder or in a subdirectory beneath it. I could write the method myself if I had to, just wondering if anyone knew of something already in the ruby libraries. Ex. of what I mean: url1 = 'htt...

Is there a standard sign function (signum, sgn) in C/C++?

I want a function that returns -1 for negative numbers and +1 for positive numbers. http://en.wikipedia.org/wiki/Sign%5Ffunction It's easy enough to write my own, but it seems like something that ought to be in a standard library somewhere. Edit: Specifically, I was looking for a function working on floats. ...

Tool to create wizards in C++

The MFC concept (using PropertySheet / PropertyPages) to build a wizard has let me down many times and for several reasons. I googled the subject somewhat but could not turn up with any library or tool that would help me create my wizards easier. Any recommendations would help a lot. ...

Class Library subclass

Hi everybody, I am required to find out if the following is a standard practice to create a subclass. Take for instance, I have to create a class library (ClLib) with 2 classes using Visual Studio: Class1.cs & Class2.cs. Next, I open up the .CSPROJ file of ClLib and modify the following line: Compile Include="Class2.cs" / to become ...

Useful iPhone Libraries

What are the most useful open source libraries you have used in your iPhone Objective-C development? Any libraries that help you be more productive and can be a great asset for writing a new app. ...

android dex library

I've an Android application which use a lot of librairies (in jar files). When I compile my application in dex file with the dex.bat tool, it's take a very long time because of the conversion of the jar libraries into dex format. So, my question is : how can I link librairies in dex format to my application instead of linking jar libra...