for getRules() you can just create your own subclass and override it with a public version that returns super.getRules()
for matches, I don't see a quick easy way to override. What rule definition seems to be slow, and what range does it cover? There are definitely some formulas that take longer to evaluate than others - especially things that do lookups or evaluate over an entire column range. Could be something else as well. Right now there is no easy way to shortcut the logic for a range when the formula is static (has no references relative to the specific range cell being evaluated, meaning the formula has the same result independent of "current" range cell). That kind of optimization hasn't even been discussed yet, and reliably guaranteeing the code wouldn't miss a case is probably non-trivial. Might even make it more expensive than it's worth unless the range is large and has a large number of non-empty cells. Patches welcome, of course ;D On Fri, Jan 5, 2018 at 4:10 PM Greg Woolsey <[email protected]> wrote: > Which Java version is your compiler compatibility set to? POI 4.0 > requires Java 8. > > On Fri, Jan 5, 2018 at 3:14 PM Blake Watson <[email protected]> > wrote: > >> I am trying to =just= recompile two classes: >> ConditionalFormattingEvaluator, EvaluationConditionalFormatRule. I'm >> trying >> to expose ConditionalFormattingEvaluator.getRules and >> EvaluationConditionalFormatRule.matches. I think the latter is the source >> of the slowness I'm experiencing. >> >> On Fri, Jan 5, 2018 at 3:03 PM, pj.fanning <[email protected]> wrote: >> >> > I use IntelliJ and it handles the poi repo well, in my experience. >> > I allow IntelliJ to use the gradle build and use a Zulu 8 JDK as the >> SDK. >> > >> > >> > >> > -- >> > Sent from: https://urldefense.proofpoint.com/v2/url?u=http-3A__apache- >> > 2Dpoi.1045710.n5.nabble.com_POI-2DDev-2Df2312866.html&d=DwICAg&c= >> > dmLomitc30UP5j2qU8E1rg&r=p42pHJHEwFZOHtVFHKJUdL2fYbroN3 >> > 3stXXb3Psthjw&m=OExuMa3xd_yH4_SVZiaToE0s8nt0Zmeyb-ix5r6oN1U&s= >> > 0rB61Zj027i8stAVAhjMIWPzlVubaK49e2oEtLwoN_g&e= >> > >> > --------------------------------------------------------------------- >> > To unsubscribe, e-mail: [email protected] >> > For additional commands, e-mail: [email protected] >> > >> > >> >> >> -- >> >> *Blake Watson* >> >> *PNMAC* >> Application Development Manager >> 5898 Condor Drive >> Moorpark, CA 93021 >> (805) 330.4911 x7742 <(805)%20330-4911> >> [email protected] >> www.PennyMacUSA.com <http://www.pennymacusa.com/> >> >
