sephiroth74 / purepdf Goto Github PK
View Code? Open in Web Editor NEWA complete actionscript PDF library
A complete actionscript PDF library
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.
Hi, I'm new to this great project. Would like to know if it's possible to generate chart in pdf with this library.
Thanks
I need to draw a shape inside a cell.
Should I use a template? could you show me some sample code? I've not found anything in the examples
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
I couldn't find any html/pdf doc of how to import/create pdf.
anyone?
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!
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]
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.