Hi Alex -
Ok, thanks for that information - I'll be sure to tell clients to use 'copy with formatting' to resolve the issue.
-Wayne
Search found 269 matches
- Mon Feb 11, 2019 1:39 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
- Mon Feb 04, 2019 3:16 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Alex - Our clients do not necessarily use your editor, so that option is not available to us or to them. They will most likely use Acrobat Reader to copy the text we add to the PDF. Either way, I really need a solution that creates actual spaces, and not just the appearance of spaces. This way, i...
- Mon Feb 04, 2019 1:34 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Alex -
We use the Core API, not the Editor.
What does this method do anyway?
By the description it looks like it's simply using Justification (which is not what we want).
Is there an equivalent Method in the API ?
-Wayne
We use the Core API, not the Editor.
What does this method do anyway?
By the description it looks like it's simply using Justification (which is not what we want).
Is there an equivalent Method in the API ?
-Wayne
- Fri Feb 01, 2019 3:33 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Alex - I can't provide a sample as our code is way too complex. However you can simply replicate this using the Richtext setting in Showtextblock, then using this text (you will need to put 5 spaces between Hello and gooodbye as the Forum removes them too): <body><p><span style="xfa-spacerun...
- Fri Feb 01, 2019 3:10 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Again - After delivering this fix to a customer, they pointed out to us that while the text added with ShowTextblock while using "xfa-spacerun:yes" looks ok on the PDF, when you actually copy/paste to a text file there is only a single space. In fact you don't need to copy/paste from th...
- Wed Jan 09, 2019 2:10 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
OK, thanks.
- Wed Jan 09, 2019 1:53 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Alex -
That fixes the issue - thanks!
One minor additional question though - your reply pointed me to the
XFA Doc v 2.4 - is that the correct version to reference?
I have a PDF with v3.3 from 2012....
Thanks Again,
Wayne
That fixes the issue - thanks!
One minor additional question though - your reply pointed me to the
XFA Doc v 2.4 - is that the correct version to reference?
I have a PDF with v3.3 from 2012....
Thanks Again,
Wayne
- Tue Jan 08, 2019 1:44 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
Re: ShowTextBlock strips out spaces in strings
Hi Alex -
I tried your sample, but you are only using plain text.
I am using RichText
(uint)PXC_DrawTextFlags.DTF_RichText;
(Sorry I didn't mention that in the first post)
I tried your sample, but you are only using plain text.
I am using RichText
(uint)PXC_DrawTextFlags.DTF_RichText;
(Sorry I didn't mention that in the first post)
- Mon Jan 07, 2019 5:30 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock strips out spaces in strings
- Replies: 17
- Views: 8819
ShowTextBlock strips out spaces in strings
Hi - We've got a big problem with ShowTextBlock stripping out spaces from within strings. For example, if I use the string "Hello Goodbye", (Hello separated with multiple spaces - doesn't even show up in this Forum!!!!) it shows up on my document as: "Hello Goodbye". This a real ...
- Wed Dec 05, 2018 3:03 pm
- Forum: PDF-XChange Core API SDK
- Topic: Adding a new Layer to an existing page
- Replies: 11
- Views: 6638
Re: Adding a new Layer to an existing page
Hi Alex -
When do you expect the Layer functionality to be available for CoreAPI ?
It's been a while now...
Thanks.
When do you expect the Layer functionality to be available for CoreAPI ?
It's been a while now...
Thanks.
- Wed Nov 14, 2018 3:34 pm
- Forum: PDF-XChange Core API SDK
- Topic: Problem with Tabs in ShowTextBlock
- Replies: 3
- Views: 2998
Re: Problem with Tabs in ShowTextBlock
Hi Alex -
Ok, thanks - your suggestions worked.
Ok, thanks - your suggestions worked.
- Tue Nov 13, 2018 2:25 pm
- Forum: PDF-XChange Core API SDK
- Topic: Problem with Tabs in ShowTextBlock
- Replies: 3
- Views: 2998
Problem with Tabs in ShowTextBlock
Hi - I'm using Core API v7.0.326.0 and having issues when trying to use Tabs within my text. I am successful with most XFA notation, but I keep getting errors when trying to use tabs. For example, this works fine: <body><p style="font-family:'Arial'; font-size:8pt; line-height:normal;">Lif...
- Wed Jul 25, 2018 1:43 pm
- Forum: PDF-XChange Core API SDK
- Topic: Can a textblock have a color background?
- Replies: 3
- Views: 2853
Re: Can a textblock have a color background?
OK, thanks - I'll dig around.
BTW I've downloaded and run the new Demo - nice!
Only one issue: While running, after I select any sample from the left side, the "Go To Source" button does nothing,
nor does the code show in the window below the button.
(I'm running VS 2017)
BTW I've downloaded and run the new Demo - nice!
Only one issue: While running, after I select any sample from the left side, the "Go To Source" button does nothing,
nor does the code show in the window below the button.
(I'm running VS 2017)
- Tue Jul 24, 2018 7:41 pm
- Forum: PDF-XChange Core API SDK
- Topic: Can a textblock have a color background?
- Replies: 3
- Views: 2853
Can a textblock have a color background?
I'm using ContentCreator, and ShowTextBlock. Is it possible to set the background of the textblock color ? For example, if I create a textblock with the intent of covering existing text, I would want the text to be black, and the background to be white... Or if want, white text on a black background...
- Tue Jul 17, 2018 12:25 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
Thanks Stefan -
My concern is not so much where the changes are listed,
as that ALL the changes are listed, particularly those that
affect functionality.
Thanks,
Wayne
My concern is not so much where the changes are listed,
as that ALL the changes are listed, particularly those that
affect functionality.
Thanks,
Wayne
- Tue Jul 17, 2018 12:22 pm
- Forum: PDF-XChange Core API SDK
- Topic: Image loaded for Annotation is too small
- Replies: 5
- Views: 3621
Re: Image loaded for Annotation is too small
Hi Alex -
So the basic answer is that a raster file when used for Annotation is actually converted to a PDF format,
which then implements the original image DPI - Correct?
So the basic answer is that a raster file when used for Annotation is actually converted to a PDF format,
which then implements the original image DPI - Correct?
- Fri Jul 13, 2018 4:07 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
Hi Stefan - I've looked at the pages and there is really no details - for example, Alex mentioned earlier in this post that the issue with CreateEmptyCollection has been fixed, but I see no mention of it anywhere. Also, for example there is this note: " Added the 'Merge Pages' tool/action."...
- Fri Jul 13, 2018 2:39 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
No problem - thanks for letting me know.
Where can I find a description of the changes/fixes for CoreAPI build 326 ?
Where can I find a description of the changes/fixes for CoreAPI build 326 ?
- Fri Jul 13, 2018 1:52 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
I'm using 7.0.325.0
That's weird - I could swear that yesterday only 7.0.325.1 was available.
It must have been changed today....
I'll download 326 today and test it - thanks.
One more thing - can I get a detailed list of the changes/fixes in 326?
That's weird - I could swear that yesterday only 7.0.325.1 was available.
It must have been changed today....
I'll download 326 today and test it - thanks.
One more thing - can I get a detailed list of the changes/fixes in 326?
- Fri Jul 13, 2018 1:50 pm
- Forum: PDF-XChange Core API SDK
- Topic: Image loaded for Annotation is too small
- Replies: 5
- Views: 3621
Re: Image loaded for Annotation is too small
Hi Alex - OK, I did some more testing and this is what I found: 1) I have two sample images - A.png and B.png A.png is 72x72 @ 72dpi B.png is 80x31 @ 150dpi 2) When I use A.png as an IPXC_Image (for general placement on a page) IPXC_Image AImage = pDoc.AddImageFromFile("A.png"); it is retu...
- Fri Jul 13, 2018 12:53 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
Hi Alex-
Do you expect an update during July ?
Thanks.
Do you expect an update during July ?
Thanks.
- Thu Jul 12, 2018 7:46 pm
- Forum: PDF-XChange Core API SDK
- Topic: Image loaded for Annotation is too small
- Replies: 5
- Views: 3621
Image loaded for Annotation is too small
Hi - I'm experiencing a problem where I load any raster image from file and the resulting size is too small. Specifically, I have a 100x100 pixel sample that is loaded as 72x72 and of course is too small when placed onto a page. This happens with every raster image I try - bmp, jpg, png. I'm using t...
- Thu Jul 12, 2018 5:31 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to use Stamp annotations in CoreAPI ?
- Replies: 34
- Views: 14964
Re: How to use Stamp annotations in CoreAPI ?
Has this issue been resolved in the current release of CoreAPI ?
viewtopic.php?f=67&t=30821&p=123784&hil ... on#p123784
(post #7)
CreateEmptyCollection does not work...
Thanks,
Wayne
viewtopic.php?f=67&t=30821&p=123784&hil ... on#p123784
(post #7)
CreateEmptyCollection does not work...
Thanks,
Wayne
- Tue Jul 03, 2018 1:33 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock returns unexpected values for pTextBounds
- Replies: 8
- Views: 4618
Re: ShowTextBlock returns unexpected values for pTextBounds
Ok, well that's embarrassing....
I'll keep testing but thanks for pointing that out.
I'll keep testing but thanks for pointing that out.
- Tue Jul 03, 2018 11:46 am
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock returns unexpected values for pTextBounds
- Replies: 8
- Views: 4618
Re: ShowTextBlock returns unexpected values for pTextBounds
I know it's only been a few days, but could you give me a status update?
Thanks.
Thanks.
- Tue Jul 03, 2018 11:45 am
- Forum: PDF-XChange Core API SDK
- Topic: Compilation Warnings
- Replies: 3
- Views: 3068
Re: Compilation Warnings
Great! Thanks for the info.
- Thu Jun 28, 2018 5:08 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock returns unexpected values for pTextBounds
- Replies: 8
- Views: 4618
Re: ShowTextBlock returns unexpected values for pTextBounds
OK, I've created and emailed a sample project and a sample PDF that illustrates the problem.
I've also added a bunch of notes in the code - look for lots of *****
Thanks.
I've also added a bunch of notes in the code - look for lots of *****
Thanks.
- Thu Jun 28, 2018 1:52 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock returns unexpected values for pTextBounds
- Replies: 8
- Views: 4618
Re: ShowTextBlock returns unexpected values for pTextBounds
Hi -
I'll see what I can do but I'd appreciate it if you'd look into the code samples I already posted.
Thanks.
I'll see what I can do but I'd appreciate it if you'd look into the code samples I already posted.
Thanks.
- Wed Jun 27, 2018 6:00 pm
- Forum: PDF-XChange Core API SDK
- Topic: ShowTextBlock returns unexpected values for pTextBounds
- Replies: 8
- Views: 4618
ShowTextBlock returns unexpected values for pTextBounds
I have some C# code which uses ShowTextBlock to first calculate the size of a TextBlock and then place it on a page. I am using the exact same properties, including the same text, except that I change the input pRect and pClip boundaries slightly. In one case the returned width is less than the inpu...
- Wed Jun 27, 2018 12:49 pm
- Forum: PDF-XChange Core API SDK
- Topic: Compilation Warnings
- Replies: 3
- Views: 3068
Compilation Warnings
I'm getting a lot of Warnings (16) when I compile in Visual Studio 2017 (all current). I get two basic kinds of warnings: Severity Code Description Project File Line Suppression State Warning Processing COM reference "PDFXCoreAPI" from path "C:\Program Files (x86)\Tracker Software\Cor...
- Mon Jun 18, 2018 3:56 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Me too!
It'll probably have to be something related to rect size and contents, although
I'm doing that now and have found issues (Alex pointed out the issue earlier...)
It'll probably have to be something related to rect size and contents, although
I'm doing that now and have found issues (Alex pointed out the issue earlier...)
- Mon Jun 18, 2018 3:47 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Hi Stefan -
Yeah, that's what I was afraid of...
I was hoping it was constructed as a 'regular' annotation and the rotation was part of it.
Oh, well - I'll keep thinking...
Thanks.
Yeah, that's what I was afraid of...
I was hoping it was constructed as a 'regular' annotation and the rotation was part of it.
Oh, well - I'll keep thinking...
Thanks.
- Mon Jun 18, 2018 1:52 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Yep - been down that road already....
- Mon Jun 18, 2018 1:25 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
HI Alex -
Yes, it's the output from AutoCAD when exporting to PDF.
So I guess there is no inherent way to determine the 'visual rotation'...damn.
Thanks.
Yes, it's the output from AutoCAD when exporting to PDF.
So I guess there is no inherent way to determine the 'visual rotation'...damn.
Thanks.
- Mon Jun 18, 2018 12:57 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Hi Alex -
I get the text from the Annotation.Data.Contents
and I get the rect from Annotation.Data.get_Rect()
But you're right, other than the Rect, I cannot determine if the annotation has been rotated.
That's what I'm trying to figure out....
I get the text from the Annotation.Data.Contents
and I get the rect from Annotation.Data.get_Rect()
But you're right, other than the Rect, I cannot determine if the annotation has been rotated.
That's what I'm trying to figure out....
- Mon Jun 18, 2018 12:39 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Hi Alex - Ok I see that, but the text itself is still part of the annotation - you can see a popup when you mouse-over. So, I am able to get the text from the Content property. My issue is trying to determine when the annotation is Vertical vs Horizontal, and since the rotation always shows 0, I'm t...
- Thu Jun 14, 2018 4:06 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Re: Determine if Text or Box is rotated for Annotation?
Hi Stefan - I've tried that and all Annotations return "0". I've previously sent a sample of this file for a different forum post - can you please check with Alex for "sample-Layout1_MONOComments.pdf" The Annotation in question is in the original post "NORTH", which is ...
- Thu Jun 14, 2018 2:32 pm
- Forum: PDF-XChange Core API SDK
- Topic: Determine if Text or Box is rotated for Annotation?
- Replies: 15
- Views: 7172
Determine if Text or Box is rotated for Annotation?
Hi - I have been given a PDF that includes several Comments of this kind : pxInst.StrToAtom("Square") Some of the comments are rotated (or their content is, I'm not certain which) For example, when opening the PDF, most comments are normal - that is, horizontal just like this text. Some ar...
- Wed Jun 13, 2018 2:31 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to permanently crop or cop cropped area?
- Replies: 3
- Views: 2819
Re: How to permanently crop or cop cropped area?
Whoops!
Sorry - you can delete this post....
Sorry - you can delete this post....
- Wed Jun 13, 2018 2:07 pm
- Forum: PDF-XChange Core API SDK
- Topic: How to permanently crop or cop cropped area?
- Replies: 3
- Views: 2819
How to permanently crop or cop cropped area?
Hi - I have some PDFs that use a CropBox that is smaller than the MediaBox. I'd like to either: 1) Copy the contents of the CropBox so that I can apply it to a new page or 2) Make the Crop permanent by removing everything outside, including the excess Media. (preferred) Should I just resize the Medi...
- Mon Jun 11, 2018 1:58 pm
- Forum: PDF-XChange Core API SDK
- Topic: Adding a new Layer to an existing page
- Replies: 11
- Views: 6638
Re: Adding a new Layer to an existing page
What are the chances of implementing Layers in CoreAPI first - meaning that all the Visual UI stuff for the Editor
could be eliminated from the API and thus be completed sooner?
could be eliminated from the API and thus be completed sooner?
- Mon Jun 11, 2018 1:35 pm
- Forum: PDF-XChange Core API SDK
- Topic: Adding a new Layer to an existing page
- Replies: 11
- Views: 6638
Re: Adding a new Layer to an existing page
Hi Alex -
I wanted to check again regarding Layers - will they be implemented soon?
I saw some documentation on Optional Content Groups - I believe that is the term in PDF for layers...is this the same?
Thanks.
I wanted to check again regarding Layers - will they be implemented soon?
I saw some documentation on Optional Content Groups - I believe that is the term in PDF for layers...is this the same?
Thanks.
- Wed Jun 06, 2018 2:23 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
Or, you could keep communicating with me several times a month!
- Wed Jun 06, 2018 2:18 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
True, but you could also document the usage (example?) ....you'd probably get a lot fewer questions!
- Wed Jun 06, 2018 2:01 pm
- Forum: PDF-XChange Core API SDK
- Topic: SetOperationRestriction of IPXC_Document
- Replies: 7
- Views: 4372
Re: SetOperationRestriction of IPXC_Document
Hi Alex -
Ok, thanks for checking.
We are facing several security-based issues with our clients so this would help as well.
-Wayne
Ok, thanks for checking.
We are facing several security-based issues with our clients so this would help as well.
-Wayne
- Wed Jun 06, 2018 1:58 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
HI Alex -
Ok, that seems to have resolved the issue and it is now running significantly faster (0.44 sec instead of 2.5 min)
Thanks again,
Wayne
P.S. It would be nice if things like SaveState() and RestoreState() were documented!
Ok, that seems to have resolved the issue and it is now running significantly faster (0.44 sec instead of 2.5 min)
Thanks again,
Wayne
P.S. It would be nice if things like SaveState() and RestoreState() were documented!
- Wed Jun 06, 2018 1:03 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
Hi Alex - The positioning is fine when using PlaceContent() for each time through the loop. So, is the positioning cumulative each time I use ShowTextBlock() ? Have you checked my emailed sample code? Thanks P.S. I've tried zooming out in Acrobat Pro and X-Change Editor and I see nothing beyond the ...
- Tue Jun 05, 2018 2:34 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
OK, I will send via email my test app and sample file.
- Tue Jun 05, 2018 2:03 pm
- Forum: PDF-XChange Core API SDK
- Topic: SetOperationRestriction of IPXC_Document
- Replies: 7
- Views: 4372
Re: SetOperationRestriction of IPXC_Document
Hi -
Has your developer been able to address this yet?
Thanks,
Wayne
Has your developer been able to address this yet?
Thanks,
Wayne
- Tue Jun 05, 2018 2:01 pm
- Forum: PDF-XChange Core API SDK
- Topic: PlaceContent() runs very slow
- Replies: 20
- Views: 9467
Re: PlaceContent() runs very slow
So the basic code I posted would be correct?