Coder Social home page Coder Social logo

purepdf's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

purepdf's Issues

PdfPTable skipFirstHeader getting ignored

If a table is the first item on a new page (either because keepTogether determined it wouldn't fit, or because a new page was added manually) skipFirstHeader=true gets ignored.

Find:
var skipHeader: Boolean = ( !firstPass && table.skipFirstHeader && listIdx <= headerRows );
Line 1154 ColumnText.as
Not sure why !firstPass is there. Issue resolved when that condition is removed.

If that is there for a reason, Find:
if (currentHeight > 0) {
var p: Paragraph = new Paragraph(null);
p.leading = 0;
ct.addElement( p );
}
Line 2120 PdfDocument.as
Adds an empty paragraph element before any table that is NOT started at the top of the page. Removing the if and allowing the element to be added every time also resolves the issue.

command error

mxmlc -source-path=/Users/yuichiishiyama/Downloads/purePDF/purepdf/src org/purepdf/JapaneseEmbedSample.as
設定ファイル "/Applications/Apache_Flex_4_13/frameworks/flex-config.xml" をロードしています
/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/pdf/fonts/BaseFont.as(62): col: 32 エラー: 基本クラス ObjectHash の定義が見つかりませんでした。

public class BaseFont extends ObjectHash
                              ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/pdf/PdfWriter.as(75): col: 33 エラー: 基本クラス ObjectHash の定義が見つかりませんでした。

public class PdfWriter extends ObjectHash
                               ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/colors/RGBColor.as(51): col: 32 エラー: 基本クラス ObjectHash の定義が見つかりませんでした。

public class RGBColor extends ObjectHash
                              ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/colors/RGBColor.as(89): col: 28 エラー: override としてマークされたメソッドは、別のメソッドをオーバーライドする必要があります。

    override public function hashCode(): int
                             ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/colors/RGBColor.as(104): col: 28 エラー: override としてマークされたメソッドは、別のメソッドをオーバーライドする必要があります。

    override public function equals( obj: Object ): Boolean
                             ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/pdf/PageSize.as(55): col: 32 エラー: 基本クラス ObjectHash の定義が見つかりませんでした。

public class PageSize extends ObjectHash
                              ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/pdf/PdfDocument.as(115): col: 62 エラー: インターフェイス IObject が見つかりませんでした。

public class PdfDocument extends EventDispatcher implements IObject, IElementListener
                                                            ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/IIterable.as(51): col: 24 エラー: 型が見つからないか、コンパイル時定数ではありません : Iterator。

    function iterator(): Iterator;
                         ^

/Users/yuichiishiyama/Downloads/purePDF/purepdf/src/org/purepdf/html/Markup.as(52): col: 30 エラー: 基本クラス ObjectHash の定義が見つかりませんでした。

public class Markup extends ObjectHash

Doc of purePDF?

I couldn't find any html/pdf doc of how to import/create pdf.
anyone?

No Way to Navigate Through Pages

AlivePDF has a gotoPage(int) method. Is there one in the plans for Pure? This would be really handy to have in order to add content in a non-linear fashion...

Either that or implement PdfStamper!

PDF Reader throws errors

Hello, I tried to test the pdf reader using the SimpleReader.as class in the examples. But it throws errors with all pdfs I tested:

"Error: pdf header not found"

Then I changed the readInt() to readByte() in PRTokeniser readString function and now it throws this error:

RangeError: Error #1125: The index 1954050662 is out of range 257.
at org.purepdf.pdf::PRTokeniser/nextToken()[D:\home\Flash\classes3\org\purepdf\pdf\PRTokeniser.as:400]

texts/images bounds

Hello! Is it possible to know bounds of elements on a PDF page?
I'm working on PDF import for my AdobeAIR application, I've found out only how to get texts/images content only.
Thanx.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.