Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2006
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2006

[Date Index] [Thread Index] [Author Index]

Search the Archive

Developer`UseFrontEnd + FrontEndExecute + GetBoundingBoxSizePacket

  • To: mathgroup at smc.vnet.net
  • Subject: [mg71278] Developer`UseFrontEnd + FrontEndExecute + GetBoundingBoxSizePacket
  • From: "Chris Chiasson" <chris at chiasson.name>
  • Date: Sun, 12 Nov 2006 06:49:15 -0500 (EST)

In the front end, the statement inside Developer`UseFrontEnd, below,
will return {{width,top,bottom}}. When executing the statement below
in the text interface (Mathematica 5.2 Kernel from the start menu), it
hangs Mathematica. This is also the case when running Mathematica from
Ant using the Mathematica Ant task.

Developer`UseFrontEnd[blah=FrontEndExecute[GetBoundingBoxSizePacket[BoxData[ToBoxes[Expand[(1
+x)^11]]]]]]

Does anyone know a way to make this statement (or one like it) work? I
have a good use for it. The baseline to bottom distance will be
written to a processing instruction in an XML file that eventually
tells a PDF writing program how to adjust the inline positioning of
Mathematica graphics relative to a line of text.

-- 
http://chris.chiasson.name/


  • Prev by Date: Re: Question Solve
  • Next by Date: Re: [Help Needed] Function to solve polynomial
  • Previous by thread: two questions
  • Next by thread: Re: Developer`UseFrontEnd + FrontEndExecute + GetBoundingBoxSizePacket