AFAIK, "letter spacing" is not a font property; that is, the font designer
specifies character widths and any character-pair kerning.
I figured applications which allow you to adjust letterspacing are
repositioning each character rather than placing per the widths and kerns. So,
in the PDF, I e
Would it be possible to search for all text and set its color regardless of
what color it was before?
- Gary
-Original Message-
From: Tilman Hausherr
Sent: Thursday, August 27, 2020 2:42 PM
To: users@pdfbox.apache.org
Subject: Re: Change the font color of all text elements
Hi,
There w
If your need is short-term and modest in scope, there are programs that will
open HTML and save as PDF. E.g., Microsoft Word, as well as its free and
open-source counterparts, e.g., LibreOffice.
I mention this partly because I see you are writing from Texas Tech and imagine
you may be trying to
Hi Cody,
I might be interested if you want to send the requirements
(gary.gro...@oberontech.com).
For example, would this be a stand-alone Java application, or is it part of
something bigger?
Are you working with huge documents such that performance optimization is a
critical component?
Are yo
I haven't looked at this code in a few years, so I am not in a position to
expound on it. I offer it in the possibility it suggests something. Caveat: I
seem to recall they wanted their radio buttons optionally to do some things
that did not seem radio-button-like to me.
private static void ad
This is resurrecting a thread from last July, as a customer has now decided
they really want this.
> From: Tilman Hausherr
> Sent: Tuesday, July 24, 2018 2:35 PM
> To: users@pdfbox.apache.org
> Subject: Re: How to get square radio button
>
>
> Yes, it is a pain. Find these sequences in PDFDebugg
IMO the PDFBox forum archives are hard to search.
Have you already seen the examples at
https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/
?
I'll admit I didn't study your question in detail. It's 8pm here and I'm not
yet done for the day. But I saw y
nt to
the resource of the appearance stream element.
Tilman
Am 24.07.2018 um 20:20 schrieb Gary Grosso:
> Oh.
>
> I actually have to do stuff like this, then?
>
>
> String offNString = "0 G\n"
> + "q\n"
>
DE);
os.write(offNString.getBytes());
os.close();
Gack.
-Original Message-
From: Gary Grosso
Sent: Tuesday, July 24, 2018 2:13 PM
To: users@pdfbox.apache.org
Subject: RE: How to get square radio button
Hi Tilman,
Right, I stared at PDFDebugger for a half hour and all I coul
eds to look with PDFDebugger how Adobe does it and then
you copy that. Here's my attempt with round buttons.
https://stackoverflow.com/questions/41631119/radiobutton-display-problems-with-pdfbox/41632982
I looked how the square buttons are done... it is similar except that a font is
used. Not s
Users of a fillable form application have come back asking for the ability to
have a square radio button.
Acrobat gives a dialog, Radio Button Properties, with Options > Button Style,
which can be set to check, circle, cross, diamond, square, or star.
I have been trying to understand how this i
I think this is related to https://issues.apache.org/jira/browse/PDFBOX-3929
reported on my behalf.
That is, Adobe Reader only recognizes integer values, and their UI calls them
thin, medium, thick.
I forget what happens if you try 4 or more.
Gary
-Original Message-
From: Tilman Haush
Am 15.09.2017 um 17:16 schrieb Gary Grosso:
> I also had concerns about the scope of pdfDocOpened. But it seems to work. I
> would welcome input as to possible pitfalls or improvements.
>
> Also, using an OpenAction in the document catalog sounds like a good
> idea. I was alrea
dirty to false if it was false before.
If this really works, I'd like to make an example out of this so that people
who set needAppearances to true can avoid the dialogbox if they have changed
nothing. I wonder if this can be used as an OpenAction in the document catalog.
Tilma
tions.setPO(jsAction);
widget.setActions(annotationActions);
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Sunday, September 10, 2017 9:40 PM
To: users@pdfbox.apache.org
Subject: workaround for PDF being considered modified if using
setNeedAppreanc
When using PDAcroForm.setNeedAppearances(true) to set a signal in the PDF file
that Reader/Acrobat should provide missing appearances, if a user opens that
PDF file and goes to quit, even if they have made no changes (manually), they
are prompted to save the file, because of the appearance modif
gt;
> https://stackoverflow.com/questions/5502548/checking-if-a-number-is-an
> -integer-in-java
>
>
> Tilman
>
>
> Am 07.09.2017 um 16:16 schrieb Gary Grosso:
>> Very sorry, I see that was confusing as heck. I must have overstayed
>> my caffeine.
>>
>>
other problem (Q) has been solved in
a recent issue.
Tilman
Am 07.09.2017 um 16:16 schrieb Gary Grosso:
> Very sorry, I see that was confusing as heck. I must have overstayed my
> caffeine.
>
> I'm calling setQ with 0, 1, or 2 for now. End of subject.
>
>
> New subject: P
;d compile. I suppose non-Adobe PDF renderers might
> work with float data.
>
> Gary
>
> -Original Message-
> From: Tilman Hausherr [mailto:thaush...@t-online.de]
> Sent: Wednesday, September 6, 2017 12:48 PM
> To: users@pdfbox.apache.org
> Subject: Re: QUADDING consta
catch (NumberFormatException exc) {
wt = 1;
}
//borderStyle.setWidth(wt);
COSDictionary dict = borderStyle.getCOSObject();
dict.setInt("W", wt);
}
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Wednesday, September
ssage-
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Wednesday, September 6, 2017 12:48 PM
To: users@pdfbox.apache.org
Subject: Re: QUADDING constants
Am 06.09.2017 um 17:11 schrieb Gary Grosso:
> Thanks Tilman, I thought they were public but not visible, which was
> disturbin
Am 06.09.2017 um 16:54 schrieb Gary Grosso:
> Sigh. This must be something about Java I need to understand better. I get
> "The field PDVariableText.QUADDING_LEFT is not visible".
You're right... these are not public. That explains why google found it only
for an o
ubject: Re: QUADDING constants
Am 06.09.2017 um 02:42 schrieb Gary Grosso:
> PDVariableText.setQ (and various other methods) suggest seeing the "QUADDING
> constants".
>
> Can someone please post a link? Or tell me what class to look at? I've
> searched, googled, e
PDVariableText.setQ (and various other methods) suggest seeing the "QUADDING
constants".
Can someone please post a link? Or tell me what class to look at? I've
searched, googled, etc., for close to a half hour. I suspect this is something
that everyone "just knows" but I have to admit ignorance
Gary
-Original Message-
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Tuesday, August 8, 2017 3:34 PM
To: users@pdfbox.apache.org
Subject: Re: making my PDF not say it's changed when just viewed
Am 08.08.2017 um 21:18 schrieb Gary Grosso:
> Hi Tilma
2017 4:04 PM
To: users@pdfbox.apache.org
Subject: Re: making my PDF not say it's changed when just viewed
Hi,
> Am 08.08.2017 um 21:03 schrieb Gary Grosso :
>
> I’m modifying PDF files by adding AcroForm annotations to them.
>
> An example is at http://aapro.net/PDF/ImageButto
x.apache.org
Subject: Re: making my PDF not say it's changed when just viewed
Am 08.08.2017 um 21:03 schrieb Gary Grosso:
> When I open this PDF file in Acrobat XI or Reader DC (or my colleague opens
> in Acrobat DC) and do nothing, when I try to quit it prompts us to save
> changes.
Two mentions:
- my copy of this message when to my "junk" folder
- The filename ImageButton.pdf is a misnomer; the button has a simple caption.
Gary
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Tuesday, August 8, 2017 3:03 PM
|+<> Root: (9) [1 O R] /T:Catalog
| 84 Size: 46
| / Type: XRef
|+[ ]W: (3)
The difference in an ASCII diff is that the saved version has the following
lines added on at t
Yes, that was it alright.
Thanks again, Maruan.
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Monday, July 31, 2017 11:39 PM
To: users@pdfbox.apache.org
Subject: RE: calculating a field with a JavaScript action
(palm meet face)
Thanks, Maruan. I was
ld with a JavaScript action
Hi,
> Am 31.07.2017 um 14:10 schrieb Gary Grosso :
>
> Perhaps I should have mentioned that I can get the other events to trigger an
> alert. My problem is not being able to set a value with "event.value=".
I havn't looked at the code
Perhaps I should have mentioned that I can get the other events to trigger an
alert. My problem is not being able to set a value with "event.value=".
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Monday, July 31, 2017 12:33 AM
To: users@pdfbox.
I would greatly appreciate any help with this endeavor.
I have a document with 3 textboxes and I'm trying to set the value of the 3rd
with the sum of the first 2.
My resulting PDF is at http://aapro.net/PDF/actionTestOnChangeElsewhere.pdf.
A PDF created is at http://aapro.net/PDF/actionTestAcro
Hi Suraj,
Did you look at
https://svn.apache.org/viewvc/pdfbox/trunk/examples/src/main/java/org/apache/pdfbox/examples/interactive/form/CreateSimpleForm.java?view=markup
?
Gary
-Original Message-
From: Suraj Mundada [mailto:su...@cashcare.in]
Sent: Thursday, July 20, 2017 9:29 AM
To:
s. If you want appearance streams it's
even worse.
Tilman
Am 19.07.2017 um 00:25 schrieb Gary Grosso:
> Should I infer from the lack of any response whatsoever that
> https://www.mail-archive.com/users@pdfbox.apache.org/msg08490.html is the
> state of the art?
>
> Best regard
Should I infer from the lack of any response whatsoever that
https://www.mail-archive.com/users@pdfbox.apache.org/msg08490.html is the state
of the art?
Best regards,
Gary
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Monday, July 17, 2017 4:00 PM
To
I know this has been answered before, but when I look at the answers, I have to
wonder if there is now an easier way.
Below is my code which is all I need to display working radio buttons.
What is the minimum I need to do to set one of a group of buttons on by
default? I'm hoping it's easier th
I'll have to learn more about how this works, but at least things are firing
now. Thanks!
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Sunday, May 28, 2017 11:23 PM
To: users@pdfbox.apache.org
Subject: RE: PDFormFieldAdditionalActions.setC() not wo
ot working?
Hi,
> Am 28.05.2017 um 20:04 schrieb Gary Grosso :
>
> I'm hoping someone has done calculations or other actions as the result of a
> textfield changing and can share their experience with me.
you are missing to set the calculation order entry which is requiored
I'm hoping someone has done calculations or other actions as the result of a
textfield changing and can share their experience with me.
Thanks,
Gary
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Friday, May 26, 2017 6:12 AM
To: users@pdfbox.apach
the wrong way? I can't seem
to get anything at all to fire as the result of a text field changing.
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Friday, May 26, 2017 12:19 AM
To: users@pdfbox.apache.org
Subject: PDFormFieldAdditionalActions.setC() n
In my project, I could not get setC to do anything, so I modified the
CreateSimpleForm.java code to create 2 fields (just in case that mattered),
which resulted in http://aapro.net/PDF/SimpleForm.pdf.
Then I commented out a lot of distracting other event handling in
FieldTriggers.java, and dupl
Never mind, it's as simple as:
PDPushButton.setAlternateFieldName()
I guess I'll use both setAlternateFieldName and setRolloverCaption.
Gary
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Thursday, May 25, 2017 1:29 PM
To: users@pdfbox.
tions”).
Tilman
Am 25.05.2017 um 15:23 schrieb Gary Grosso:
> One more upload:
> http://aapro.net/PDF/DocBookTest3_modified_w-Acrobat-Tooltip-also-Text
> Field.pdf
>
> Contrary to what I inferred from "how to add tooltip" articles I read online,
> Acrobat allows me to add a
much nicer than foodling around with invisible buttons. It would be
great if this just worked in PDFBox.
Gary
-Original Message-----
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Thursday, May 25, 2017 9:04 AM
To: users@pdfbox.apache.org
Subject: RE: w
I also uploaded http://aapro.net/PDF/DocBookTest3_modified_captionsByPDFBox.pdf
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Thursday, May 25, 2017 8:54 AM
To: users@pdfbox.apache.org
Subject: RE: what should
s active area without pressing the mouse button."
The best would be to create such a file with Adobe Acrobat to see if it works
at all.
Tilman
Am 25.05.2017 um 03:45 schrieb Gary Grosso:
> I was expecting
> PDAppearanceCharacteristicsDictionary.setRolloverCaption(String
> captio
I was expecting
PDAppearanceCharacteristicsDictionary.setRolloverCaption(String
caption) to display the value of argument caption when the user's mouse rolled
over the widget.
I get the value passed to setNormalCaption() regardless. Is the problem with my
expectations, my usage, or the impleme
, May 18, 2017 2:20 AM
To: users@pdfbox.apache.org
Subject: RE: creating fillable forms, possibly in/from existing PDF file?
> Gary Grosso hat am 18. Mai 2017 um 05:09
> geschrieben:
>
>
> Thanks for your reply, Tilman.
>
> I see PDFBox allows for text field/area (single
@t-online.de]
Sent: Wednesday, May 17, 2017 1:15 PM
To: users@pdfbox.apache.org
Subject: Re: creating fillable forms, possibly in/from existing PDF file?
Am 17.05.2017 um 18:34 schrieb Gary Grosso:
> Hi,
>
> I am exploring a requirement to generate PDF fillable forms.
>
> A major de
Sorry if this is the wrong audience, but I just noticed a "copyitis" glitch in
the Javadoc, and hoping someone can forward to the right quarters.
(Method isRadioButton says it is true if type of button field is a push button.)
Method Detail
* isPushButton
public boolean isPushButton()
Deter
time with that approach and plan to create a new
document from scratch?
Thanks,
Gary Grosso
It's also the most recently written book I see at Amazon. Thanks.
Gary
-Original Message-
From: John Hewson [mailto:j...@jahewson.com]
Sent: Wednesday, September 21, 2016 3:53 PM
To: users@pdfbox.apache.org
Subject: Re: Embedding video in PDF
> On 21 Sep 2016, at 12:30, Gar
09.2016 um 19:15 schrieb Gary Grosso:
> Hi Tilman,
>
> Yes, that is correct. And the video has to be embedded, since some end-users
> may not have an Internet connection. The video files they are starting with
> are MP4s.
>
> I figure I have to reserve the correct amount of ve
resources.
Thanks,
Gary
-Original Message-
From: John Hewson [mailto:j...@jahewson.com]
Sent: Wednesday, September 21, 2016 3:11 PM
To: users@pdfbox.apache.org
Subject: Re: Embedding video in PDF
> On 21 Sep 2016, at 10:15, Gary Grosso wrote:
>
> Hi Tilman,
>
> Yes, that is c
21.09.2016 um 16:23 schrieb Gary Grosso:
>
> - Has anyone had any personal experience with this sort of thing? (We
> would be post-processing their PDF, which is created elsewhere, to
> insert the video at a point where we would leave some sort of
> local-filename marker and suffici
Hi PDFBoxers,
A customer wants to embed MP4 video in their PDF. (They want to be able to view
with an offline iPad.)
I see info in the cookbook for 1.8
(https://pdfbox.apache.org/1.8/cookbook/workingwithattachments.html) and the
example at
https://svn.apache.org/repos/asf/pdfbox/trunk/example
In case it helps, here's my Windows "shortcut"
C:\Windows\System32\cmd.exe /k java -jar
C:\Users\gary.grosso\Downloads\PDFBox\pdfbox-app-2.0.0-RC1.jar PDFDebugger &&
exit
It's possible you only need to add ".\ " in front of " PDFDebugger" (or would
that be "./"?) but the shortcut is much handi
Thank you, Tilman.
(And, yes, same exact question.)
Gary
-Original Message-
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Saturday, March 5, 2016 11:54 AM
To: users@pdfbox.apache.org
Subject: Re: PDFBox: Java Deserialization
Am 05.03.2016 um 17:46 schrieb Gary Grosso
Hi Tilman,
My interest in this is only casual at this point (wanting only to be
knowledgeable if someone asks), but I am unable to find that message.
Thanks,
Gary
-Original Message-
From: Tilman Hausherr [mailto:thaush...@t-online.de]
Sent: Saturday, March 5, 2016 2:28 AM
To: users@p
pen with the Navigation Pane open?
Am 29.10.2015 um 03:07 schrieb Gary Grosso:
> Hi everyone,
>
> I very much appreciate Maruan's reply (thanks Maruan), but our customer is
> suggesting there should be some other way to do this.
>
> The reasoning is as follows:
>
> U
2015 um 18:17 schrieb Gary Grosso :
>
> I am looking for a way to say in a PDF document that it should open with the
> Navigation Pane open. Not sure if this is even possible; it may strictly be a
> user prefe
I am looking for a way to say in a PDF document that it should open with the
Navigation Pane open. Not sure if this is even possible; it may strictly be a
user preference.
Thanks,
Gary Grosso
Grosso
Sent: Wednesday, October 21, 2015 11:52 AM
To: users@pdfbox.apache.org
Cc: Gary Grosso
Subject: RE: how to create an entire bookmark (outline) tree in an existing PDF
document?
(Before asking a new question, forthcoming) I wanted to report back that with
this help I was able to implement
+
exc.getCause());
problemLevel = Math.max(problemLevel, WARN);
return;
}
}
}
}
Gary
-Original Message-
From: Gary Grosso [mailto:gary.gro...@oberontech.com]
Sent: Friday, August 28, 2015 12:32 PM
To: user
12:20 PM
To: users@pdfbox.apache.org
Subject: Re: how to create an entire bookmark (outline) tree in an existing PDF
document?
Am 28.08.2015 um 18:11 schrieb Gary Grosso:
> Thanks, Gilad.
>
> Further extensive Googling also turned up “Source Code of
> org.apache.pdfbox.examples.pdmode
overview should get me started.
I’ll report back on my progress.
Gary
From: Gilad Denneboom [mailto:gilad.denneb...@gmail.com]
Sent: Friday, August 28, 2015 12:04 PM
To: users@pdfbox.apache.org
Cc: Gary Grosso
Subject: Re: how to create an entire bookmark (outline) tree in an existing PDF
document
Greetings knowledgeable ones,
I'm new to PDFbox, and am under some time pressure to get back to a customer
with confirmation we can do what they want and a rough estimate.
For background, they have a single PDF file that is a master TOC linking to
hundreds of subordinate topic PDFs. They would
68 matches
Mail list logo