turbopack / powerpdf Goto Github PK
View Code? Open in Web Editor NEWPowerPdf is a VCL component to create PDF docment visually. Like Forms, you can design PDF document easily on Delphi or C++Builder IDE.
PowerPdf is a VCL component to create PDF docment visually. Like Forms, you can design PDF document easily on Delphi or C++Builder IDE.
After installing PowerPDF with GetIt under C++ Builder 10.3.1, no components are intalled.
I see that all the bpl files are in the C:\Users\Public\Documents\Embarcadero\Studio\20.0\BPL, the bpi files in C:\Users\Public\Documents\Embarcadero\Studio\20.0\DCP and the source files and header files in %USERPROFILE%\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.3cb directory.
Do I need to copy this file to the Embarcadero package directory? or do I need to set my Environment Variables under my Tools->Options menú to acces the components? or do I need to install the components with the Component->Install component... menu? or ...
After installation thru getit manager and also by manual compilation and installation there exists no visual components and even no palette named PowerPdf from design package PowerPDFCD260.bpl, what am I missing ? Any idea will be appreciated.
There is no support for UTF8 and Right to left texts and fonts.
If one fill texts with persian texts, it will be displayed wrong!
Hi,
if I use the €-sign (and certainly all other non-Ascii chars > 255) in my PDF form, with range settings enabled the library will crash.
This is because the FArray is only 256 big, but Ord of the €-sign is 8364.
I know it is not a perfect solution, but changing the function to this helps me as a workaround and prevents a crash.
{ TPdfType1Font }
function TPdfType1Font.GetCharWidth(AText: string; APos: integer): integer;
begin
if ord(AText[APos]) >= Length(FArray) then
result := 1000
else
result := FArray[ord(AText[APos])];
end;
Best regards
Simon
Either installed via GitHub or through GetIt, in both cases dropping a PrPage component on a VCL form fails.
Window 11 has the Arial class installed by default, thus is not suspected for causing the error. Neither is Delphi 12, which runs normally.
I compared the file PDFFonts.pas in Delphi12 and Delphi11 and found only one difference: "sysutils"was missing in the D12 version.
Can that be the reason why?
Please refer to #7
Please add description function, add description example.
I am using PowerPDF to generate PDF documents that contain text as well as many thumbnails of images. The size of Image control for PowerPDF is set to 100 width and height.
I am loading images programmatically using ImageEn VCL.
Here is the download link to a sample PDF generated using PowerPDF.
https://www.dropbox.com/s/9uv23kqql7qr3c7/projectdetails.pdf?dl=0
Code snippet that I am using to load Image in PowerPDF Image Control
ieTemp.Proc.Resample(150, -1, TResampleFilter(0));
pdfImageR1C2.Picture.Assign(ieTemp.Bitmap);
TIA
Yogi Yang
Hi,
Today I installed the PowerPDF from GetIt Packet Manager
to the C++ Builder 10.3 Rio. The installation finished correctly. But from that time I get these warning to the Message box during the compilation of my C++ project (which don't use any of the PowerPDF components):
[bcc32 Warning] W8123 Path 'C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\hpp\Win32\Release' not found - path ignored in option '-I'
I checked the folders in C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\
and there is no hpp
folder:
The corresponding folders are probably in:
C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\Packages\Rio\CBuilder\Win32\Release
C:\Users\JPA\Documents\Embarcadero\Studio\20.0\CatalogRepository\PowerPDF-1.4cb\Packages\Rio\CBuilder\Win32\Debug
I tried to modify values in file C:\Users\JPA\AppData\Roaming\Embarcadero\BDS\20.0\EnvOptions.proj
:
;$(BDSCatalogRepository)\PowerPDF-1.4cb\hpp\$(Platform)\$(Config)
to ;$(BDSCatalogRepository)\PowerPDF-1.4cb\Packages\Rio\CBuilder\$(Platform)\$(Config)
but that didn't help because the file is on every build overwrite with the previous setting.
incorrect russion caracter, for Delphi use next code:
function Rus(mes: string):string;
var i: integer;
begin
SetLength(Result,length(mes));
for i:=1 to length(mes) do
case mes[i] of
'А'..'п' :Result[i] := Chr(Ord(mes[i]) - 64);
'р'..'я' :Result[i] := Chr (Ord(mes [i] ) -16);
else Result[i]:=mes[i];
end;
end;
That use for c++ builder?
When installing PowerPDF through GetIt, (Delphi 10.4) and trying to import and create a TStringGrid and export as a PDF using TPRGridPanel. However, when adding powerpdf to uses and creating a TPRGridPanel variable and compiling, I encounter 78 errors from the PReport file. Including:
Undeclared Identifier: "TCustompanel"
Class type required at line 196
Undeclared Identifier: "TControl"
Etc.
Is there any way to extract text from a PDF using PowerPDF. If not do you know any other way to do so?
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.