Sure.
As explained in Getting Started, to find out, you'd create a suitable pptx in Powerpoint, save, unzip and inspect.
Here is what I found when I did that. In each case, note contents of a:bodyPr, including its @wrap:
Liquid layout ("resize shape to fit text"):
Using xml Syntax Highlighting
<p:txBody>
<a:bodyPr wrap="none" rtlCol="0">
<a:spAutoFit/>
</a:bodyPr>
<a:lstStyle/>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>Liquid – resize shape to fit text
</a:t>
</a:r>
<a:endParaRPr lang="en-AU" dirty="0"/>
</a:p>
</p:txBody>
Parsed in 0.001 seconds, using
GeSHi 1.0.8.4
Other possibilities:-
Do not autofit (not so useful, on its own, since it is similar to the above)
Using xml Syntax Highlighting
<p:txBody>
<a:bodyPr wrap="none" rtlCol="0">
<a:noAutofit/>
</a:bodyPr>
<a:lstStyle/>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>Do not
</a:t>
</a:r>
<a:r>
<a:rPr lang="en-AU" dirty="0" err="1" smtClean="0"/>
<a:t>autofit
</a:t>
</a:r>
<a:endParaRPr lang="en-AU" dirty="0"/>
</a:p>
</p:txBody>
Parsed in 0.002 seconds, using
GeSHi 1.0.8.4
Do not autofit; but wrap text in shape:
Using xml Syntax Highlighting
<p:txBody>
<a:bodyPr wrap="square" rtlCol="0">
<a:noAutofit/>
</a:bodyPr>
<a:lstStyle/>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>Do not
</a:t>
</a:r>
<a:r>
<a:rPr lang="en-AU" dirty="0" err="1" smtClean="0"/>
<a:t>autofit
</a:t>
</a:r>
<a:endParaRPr lang="en-AU" dirty="0" smtClean="0"/>
</a:p>
<a:p>
<a:endParaRPr lang="en-AU" dirty="0"/>
</a:p>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>Wrap text in shape
</a:t>
</a:r>
<a:endParaRPr lang="en-AU" dirty="0"/>
</a:p>
</p:txBody>
Parsed in 0.003 seconds, using
GeSHi 1.0.8.4
Shrink text on overflow:
Using xml Syntax Highlighting
<p:txBody>
<a:bodyPr wrap="square" rtlCol="0">
<a:normAutofit fontScale="47500" lnSpcReduction="20000"/>
</a:bodyPr>
<a:lstStyle/>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>Shrink text on overflow
</a:t>
</a:r>
</a:p>
<a:p>
<a:r>
<a:rPr lang="en-AU" dirty="0" smtClean="0"/>
<a:t>- only works if you have “wrap text in shape” selected
</a:t>
</a:r>
<a:endParaRPr lang="en-AU" dirty="0"/>
</a:p>
</p:txBody>
Parsed in 0.002 seconds, using
GeSHi 1.0.8.4
When you work out the Java code to do this (refer Getting Started), you might post your results here for the benefit of someone else. thanks!