XSLF: Is Reveal Animation Possible?

2013-08-08 Thread Eliot Kimber
I'm generating PPTX from XML content and making good progress. One question I'm not seeing an answer to in the docs is animation: is there a way in the current code to set up animation for slide content? Thanks, Eliot -- Eliot Kimber, Owner Contrext, LLC, http://contrext.com DITA

How to Set Up XPath/XQuery With Latest POI and XMLBeans Using Maven?

2018-07-17 Thread Eliot Kimber
te back to the project. It would be nice, for example, to be able to use XPath/XQuery 3 in this context. Thanks, Eliot -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org

Re: How to Set Up XPath/XQuery With Latest POI and XMLBeans Using Maven?

2018-07-17 Thread Eliot Kimber
Thanks--I'll take a look. Should be easy enough to update the Saxon API usage (he said without actually looking at the code...) Cheers, E. -- Eliot Kimber http://contrext.com On 7/17/18, 1:17 PM, "pj.fanning" wrote: When we release xmlbeans 3.0.0, we didn't rele

Any Active Work to Improve XWFPFootnote Methods?

2018-07-19 Thread Eliot Kimber
API to do what I want if nobody's already working on it. I've successfully created footnotes using the current API but it's not a good fit with the rest of my code, which is generating XWPF* objects from incoming XML source (a generic simplified word processing document rep

Re: Any Active Work to Improve XWFPFootnote Methods?

2018-07-19 Thread Eliot Kimber
I will pursue it. Cheers, E. -- Eliot Kimber http://contrext.com On 7/19/18, 11:41 AM, "pj.fanning" wrote: If you could add the missing methods to the XWFPFootnote and submit a pull request, that would be great. We'd like to avoid exposing the underlying XML

Re: Any Active Work to Improve XWFPFootnote Methods?

2018-07-19 Thread Eliot Kimber
Ah--for some reason I though 3.0.0 was the latest or maybe I just wasn't paying attention to the version. I'll be sure to work against the latest code. Cheers, E. -- Eliot Kimber http://contrext.com On 7/19/18, 1:52 PM, "Greg Woolsey" wrote: Also, please note t

Re: Any Active Work to Improve XWFPFootnote Methods?

2018-07-19 Thread Eliot Kimber
going with minimum fuss. Cheers, E. -- Eliot Kimber http://contrext.com On 7/19/18, 2:13 PM, "Eliot Kimber" wrote: Ah--for some reason I though 3.0.0 was the latest or maybe I just wasn't paying attention to the version. I'll be sure to work against th

General Mechanism in WXPF Code for Managing CT IDs?

2018-07-20 Thread Eliot Kimber
either this is something the current API just doesn't need to do (because it doesn’t automatically create objects that require IDs) or I'm missing where ID setting happens. Thanks, Eliot -- Eliot Kimber http://contrext.com

Re: General Mechanism in WXPF Code for Managing CT IDs?

2018-07-20 Thread Eliot Kimber
otnoteReference().setId(note.getId()); } Notice the "isFirst" Boolean--in the abstract it would be nice not to have to do that. I will certainly defer to the direction from the project team on this aspect of the design. Cheers, Eliot -- Eliot Kimber http://contrext.com On 7

Re: General Mechanism in WXPF Code for Managing CT IDs?

2018-07-20 Thread Eliot Kimber
On IDs, since the ID space is just footnotes, I'm just using the number of footnotes in the Footnotes' footnote list to generate the next available ID. There didn't seem to be a need for more sophistication than that. Cheers, E. -- Eliot Kimber http://contrext.com On 7/

Contributor Question: How Best to Create Pull Request Using a git-svn Clone?

2018-07-20 Thread Eliot Kimber
I've done my work in a git-svn clone of the project, but reviewing the contributor guidance it's not clear to me how best to create a pull request or patch submission in this case. Maybe I should have used the read-only git repo on GitHub? Thanks, E. -- Eliot Kimber http://co

Re: General Mechanism in WXPF Code for Managing CT IDs?

2018-07-21 Thread Eliot Kimber
e end notes are properly handled. I wanted to get a pull request in before I spent to much time just to make sure I wasn’t going off the rails somewhere. Cheers, Eliot -- Eliot Kimber http://contrext.com On 7/20/18, 9:13 PM, "Mark Murphy" wrote: Have you looked through XWPFF

Re: General Mechanism in WXPF Code for Managing CT IDs?

2018-07-21 Thread Eliot Kimber
context the end note/footnote distinction is not interesting (because they all become inline footnote markup in the generated XML). Cheers, Eliot -- Eliot Kimber http://contrext.com On 7/21/18, 5:51 AM, "Eliot Kimber" wrote: I'll double check all the relevant methods i

4.0.0 Contribution: Javadoc Cleanup

2018-07-21 Thread Eliot Kimber
t ongoing development activity. Cheers, Eliot -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org

Re: General Mechanism in WXPF Code for Managing CT IDs?

2018-07-22 Thread Eliot Kimber
That was basically my plan as far as I had thought it through--an end note class is probably functionally identical to existing footnote--it's really only the containing part that's different as far as I can tell from my initial (brief) reading of the OOXML spec. Cheers, E. -- El

XWPFFieldRun Doesn't Work for Creating DOCX

2018-07-31 Thread Eliot Kimber
for creating complex fields, but that's more involved due to the amorphous nature of complex fields, so I'm really not sure what design should be. Thanks, Eliot -- Eliot Kimber http://contrext.com - To unsubscribe,

How to Resolve "Indirectly referenced from required .class files" Issue?

2018-07-31 Thread Eliot Kimber
ave these two POI-related dependencies in my POM: org.apache.poi poi 4.0.0-SNAPSHOT org.apache.poi poi-ooxml 4.0.0-SNAPSHOT Are there more dependencies I need or some other setting in Eclipse? Thanks, Eliot -- Eliot K

Re: How to Resolve "Indirectly referenced from required .class files" Issue?

2018-08-01 Thread Eliot Kimber
new method?). Cheers, E. -- Eliot Kimber http://contrext.com On 7/31/18, 10:59 PM, "Mark Murphy" wrote: CT Classes are added to the poi-ooxml-schemas jar based on unit tests. If the class is used by a unit test, it is included in the jar. I generally use the full schema

How to Set Underline Color?

2018-08-01 Thread Eliot Kimber
e.getColor() returns Object, not something more specialized. In my tests, color is null (not a surprise). So my question is: how do I set the color? Should I simply be constructing the XML or is there a better way? Thanks, Eliot -- Eliot Kimber

Re: How to Set Underline Color?

2018-08-02 Thread Eliot Kimber
I have submitted a pull request with the name changes. Cheers, E. -- Eliot Kimber http://contrext.com On 8/1/18, 9:35 PM, "Mark Murphy" wrote: One more thing, I want to keep naming consistent. For Abstract classes it should be XWPFAbstract vs. AbstractXWPF. If you co

Re: How to Set Underline Color?

2018-08-02 Thread Eliot Kimber
I have implemented Mark's requests as well as set/get for underline theme color and added to the pull request. Cheers, E. -- Eliot Kimber http://contrext.com On 8/1/18, 9:30 PM, "Mark Murphy" wrote: Here's how I would do it: public void setUnderli

Any Idea Why Word Does not Preserve Leading or Trailing Space?

2018-08-15 Thread Eliot Kimber
en an inline element). Thanks, Eliot -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org

General Support for Percentage Values?

2018-08-15 Thread Eliot Kimber
for working with percentage values in the XWPF API? Thanks, E. -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For additional commands, e-mail: user-h...@poi.apache.org

Re: General Support for Percentage Values?

2018-08-15 Thread Eliot Kimber
erstood the specs and percentages should actually always be integers (although I'm pretty sure the spec allows fractional percentages). Thanks, Eliot -- Eliot Kimber http://contrext.com On 8/15/18, 3:40 PM, "Eliot Kimber" wrote: I need to extend the options for setting tab

Re: General Support for Percentage Values?

2018-08-15 Thread Eliot Kimber
a BigDecimal. Cheers, E. -- Eliot Kimber http://contrext.com On 8/15/18, 5:39 PM, "Eliot Kimber" wrote: (This is in the context of setting the width on XWPFTable.) I decided that the best (and simplest) approach would be to use strings to set the width value for

Re: General Support for Percentage Values?

2018-08-16 Thread Eliot Kimber
o the percentage-to-integer conversion when it sets the @w:w value. Cheers, Eliot -- Eliot Kimber http://contrext.com On 8/16/18, 8:42 AM, "Murphy, Mark" wrote: According to the spec, w:val is always an integer value. What that integer represents depends on the w:type value. If w

Re: Any Idea Why Word Does not Preserve Leading or Trailing Space?

2018-08-16 Thread Eliot Kimber
Eliot Kimber http://contrext.com On 8/16/18, 8:46 AM, "Murphy, Mark" wrote: Maybe the space is preserved only at the end of the text in the node? -Original Message- From: Eliot Kimber [mailto:ekim...@contrext.com] Sent: Wednesday, August 15, 2018 4:21 PM

Re: General Support for Percentage Values?

2018-08-16 Thread Eliot Kimber
I'm using ECMA-376 3rd Edition / June 2011, Office Open XML File Formats – Part 1 Although it looks like there's a 5th edition from 2015. I'll get that one: https://www.ecma-international.org/publications/standards/Ecma-376.htm Cheers, E. -- Eliot Kimber http://contrext.com

Re: General Support for Percentage Values?

2018-08-16 Thread Eliot Kimber
Shouldn't we be reflecting the latest schemas? Cheers, E. -- Eliot Kimber http://contrext.com On 8/16/18, 11:25 AM, "Mark Murphy" wrote: Use 1st edition, part 4. The CT classes were all generated from the 1st edition schema. On Thu, Aug 16, 2018 at 12:17

Re: General Support for Percentage Values?

2018-08-16 Thread Eliot Kimber
Makes sense--I figured it was something like that. Cheers, E. -- Eliot Kimber http://contrext.com On 8/16/18, 12:31 PM, "Mark Murphy" wrote: There is a significant difference, and since the schemas are so tightly integrated, that will be a lot of work. Someone tried a

POI-Using Project: The Wordinator

2018-08-16 Thread Eliot Kimber
PX transform. Once I have that working I plan to then adapt it to the DITA world using HTML5 produced by the DITA Open Toolkit. Cheers, Eliot -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr..

How To Get/Generated XmlBean

2018-08-20 Thread Eliot Kimber
The very latest POI code requires XmlBeans 3.0.1 which is not yet released. How do I get or build the 3.0.1 jar? I cloned https://github.com/apache/xmlbeans but there didn't seem to be an Ant target comparable to mvn-install as in the main POI project. Thanks, Eliot -- Eliot Kimber

Re: How To Get/Generated XmlBean

2018-08-20 Thread Eliot Kimber
I must not have done the necessary clean or build. I did it again and I do have XmlBeans 3.0.1 in my local mvn repo. Cheers, E. -- Eliot Kimber http://contrext.com On 8/20/18, 1:47 PM, "pj.fanning" wrote: POI now needs xmlbeans 3.0.1. It will only work with th

Re: How To Get/Generated XmlBean

2018-08-20 Thread Eliot Kimber
Actually, it put the jar in ooxml-lib, not in my mvn repo, but of course it's easy enough to copy. Cheers, E. -- Eliot Kimber http://contrext.com On 8/20/18, 2:07 PM, "Eliot Kimber" wrote: I must not have done the necessary clean or build. I did it again and I do have

How to Add Notes To XSLFSlide?

2019-05-02 Thread Eliot Kimber
the current API? If so, I can possibly try to add the necessary methods if appropriate, although I'm waiting on landing a client project to pursue Slidinator updates more actively... I assume that I can always jump down in the markup and construct things that way but I always hate to do tha

Re: How to Add Notes To XSLFSlide?

2019-05-04 Thread Eliot Kimber
getNotesSlide() does get me an XSLFNotes instance and I can then add content to it, but as Andreas points out, addNotes() is a no-op ( I'll see if I can puzzle out what's involved in adding the notes object to a slide. Cheers, E. -- Eliot Kimber http://contrext.com On 5/2/1

Re: How to Add Notes To XSLFSlide?

2019-05-04 Thread Eliot Kimber
lide note XML). So looks like it's just my user error, which is good. Cheers, E. -- Eliot Kimber http://contrext.com On 5/4/19, 9:58 AM, "Eliot Kimber" wrote: getNotesSlide() does get me an XSLFNotes instance and I can then add content to it, but as Andreas points out, a

Re: How to Add Notes To XSLFSlide?

2019-05-04 Thread Eliot Kimber
ng code. Cheers, E. -- Eliot Kimber http://contrext.com On 5/4/19, 10:11 AM, "Eliot Kimber" wrote: I may have spoken too soon--looks like I'm actually getting the notes for the slide I'm constructing but the paragraphs I'm adding are not in the right place or don

Any Active Work on XWPF Sections?

2019-06-22 Thread Eliot Kimber
ection creation stuff in my Wordinator code but I'd like to fold anything I come up with back into the XWPF API. Cheers, E. -- Eliot Kimber http://contrext.com - To unsubscribe, e-mail: user-unsubscr...@poi.apache.org For

Re: Any Active Work on XWPF Sections?

2019-06-25 Thread Eliot Kimber
section doesn't specify it's own (that's certainly what I would expect), but I don't know if that's how Word actually works. Cheers, E. -- Eliot Kimber http://contrext.com On 6/24/19, 3:16 PM, "Mark Murphy" wrote: I don't think there is anyone wor

Re: Any Active Work on XWPF Sections?

2019-06-29 Thread Eliot Kimber
define the headers. This matches what I think Word does when you create a new section manually and matches the expectation of users of Wordinator. I can make a pull request for this change if its wanted. Cheers, E. -- Eliot Kimber http://contrext.com On 6/25/19, 9:22 AM, "Eliot

Wordinator 1.0.0 Released

2019-07-21 Thread Eliot Kimber
complex tables, including the use of table styles. Find Wordinator at wordinator.org or on GitHub at https://github.com/drmacro/wordinator My thanks again to the POI team for providing an excellent foundation. Cheers, Eliot -- Eliot Kimber http://contrext.com