Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

jpicedt.format.eepic.* (12)jpicedt.format.eepic.parser.* (4)jpicedt.format.latex.* (30)
jpicedt.format.latex.parser.* (19)jpicedt.format.pstricks.* (39)jpicedt.format.pstricks.parser.* (28)

Package Samples:

jpicedt.format.latex.parser: Classes (formatter, view factory,...) related to the LaTeX (standard) content-type.  
jpicedt.format.eepic.parser: Classes (formatter, view factory,...) related to the epic/eepic content-type.  
jpicedt.format.pstricks.parser: Classes (formatter, view factory,...) related to the PsTricks content-type.  
jpicedt.format.pstricks: Contains the main JPicEdt class, as well as some utilities.  


LatexConstants: "emulated latex" parameters : these parameters get used by LatexFormatter, LatexParser and LatexViewFactory. lineThickness : (mm) ; used when parsing LaTeX file, when no \\lineThickness command is found emLineLength : (mm) when in "em. latex" mode, a line whose slope doesn't match an existing LaTeX slope (cf. picture environment) is emulated by tiny horizontal and/or vertical segments ; this parameter determines the length of these segments maxLatexCircleDiameter (mm) : circles whose diameter is greater than this value are emulated ; this ususally depends on available "lasym" fonts maxLatexDiskDiameter ...
PSTParametersExpression: PsTricks graphics parameters, e.g. "linewidth=5pt, fillcolor=blue,..." (no leading, nor trailing brackets, these should be added to an enclosing expression) Currently supported parameters : xunit, yunit, runit, unit linestyle=xxx linewidth=xxx (with unit) + dash'n dot parameters linecolor=xxx (may be a native PsTrick colour, see predefined colours in PsTricksFormater, OR a user-defined colours) fillstyle=xxx fillcolor=xxx (same note as for linecolor) shadow parameters hatch parameters. Depending on the value of "attributeSetKey" given to the constructor, these parameters may act on the attribute ...
PicTextFormatter: A formatter for PicText objects in the PsTricks format : \\rput[refpoint]{rotation}(x,y){stuff} where : stuff can be any of the following : \\psframebox[param]{text}} \\pscirclebox[param]{text}} \\psovalbox[param]{text}} refpoint = B|b|t for vertical and l|r for horizontal (B = baseline) rotation = any angle in degree or U,L,D,R,N,W,S or E. The following are built from "frame", "oval" or "circle", but are allegedly more efficient : \\psdblframebox[param]{stuff} % same as psframebox with doubleline=true \\psshadowbox[param]{stuff} % same as psframebox with shadow=true \\cput[shadow=true](x,y){a ...
PsUnitLengthExpression: Used by PSTParamExpression to parse statement involving the 4 pstricks length registers, that is "unit=1mm,xunit=1mm,yunit=1mm,runit=1mm" (or pt or cm), where setting "unit" sets "xunit", "yunit" and "runit" simultaneously. Parsed value are stored in Pool's hashtable using PstricksParser.KEY_X_UNIT and related keys. Note that default PsTricks's unit is 1cm ! (whereas jPicEdt default unit is 1mm) hence no unit leads to pstXunit = 0.1, etc... Allowed syntaxs are : "0.11" (i.e. cm), "0.11mm", "0.11cm", "0.11pt" According to PsTricks's doc, whitespaces are allowed ONLY after the comma (see PsTricks ...
UserDefinedColorExpression: Parse statement defining user-colours, that is : \\newgray{user-def colour name}{num} (where num is a gray scale specification b/w 0 and 1) \\newrgbcolor{user-def-colour-name}{num1 num2 num3} (where num are numbers b/w 0 and 1) \\newhsbcolor{user-def-colour-name}{num1 num2 num3} (where num are numbers b/w 0 and 1) \\newcmykcolor{user-def-colour-name}{num1 num2 num3 num4} (where num are numbers b/w 0 and 1) Colour names may contain letters and numbers. Spaces are NOT allowed, except as separators b/w colour numbers. New colours are then added to the pool's hashtable associated with key = PstricksParser ...
PSTLengthParameter: Parses statement involving length units (as set by PsTricks's "runit" register), e.g. "linewidth=13mm" or "doublesep=5.6" (default to current "runit") Numerical parsed value is pushed in the Pool's PicAttributeSet having the given key, (after conversion to mm) This expression contains a StatementExpression with parameters "DOUBLE" and "POSITIVE". So far, this expression parses "cm", "mm" and "pt". This expression MUST NOT be used to parse expressions that modify one of "xunit", "yunit" or "runit", since it relies on the value of these registers to compute the actual length value in case no unit ...
PsRPutExpression: \\rput[refpoint]{rotation}(x,y){stuff} \\rput*[refpoint]{rotation}(x,y){stuff} (line-breaks being allowed b/w each "block"), where : refpoint = B|b|t for vertical and l|r for horizontal (B = baseline), used only for psframebox and rel. rotation = any angle in degree or U,L,D,R,N,W,S or E. stuff = whatever ! (this allows in particular to rotate things) Depending on the "stuff" found, instanciates : PicText : \\psframebox, \\pscirclebox, \\psovalbox, LR-argument huuu... [pending] instanciate other elements + handle rotations.
PstricksParser: Root expression for the Pstricks parser, containing grammar rules for the pstricks format. Pstricks support is pretty ok, though add-ons (like pst-nodes.sty) are still missing. This class consists of grammar rules, wrapped in a RootExpression which can itself be directly added to the main tree (for instance, using DefaultParser.addGrammar()). Note : the current parser used across the JPicEdt application can be retrieved using jpicedt.JPicEdt.getParser(). [TODO] : \psgrid, \psaxes, arrow size, dot style.
PsPolygonExpression: Parses \\pspolygon, \\psdots and \\psline commands : \\pspolygon[param](2,4)(3,15) // NO ARROW ALLOWED HERE ! \\pspolygon*[param](5,1)(5,8)...(xN,yN) \\psline[param]{arrows}(5,1)(5,8)...(xN,yN) \\psline*[param]{arrows}(5,1)(5,8)...(xN,yN) \\psdots[param]{arrows}(5,1)(5,8)...(xN,yN) \\psdots*[param]{arrows}(5,1)(5,8)...(xN,yN) (same as above, '*' being unused) Note : PsPolygon -> close path ; PsLine -> open path ; PsDots -> dots only
PSTColorExpression: Used by PSTParametersExpression to parse statements involving colours, for instance "linecolor=green" (predefined colour) or "fillcolor=MyGray" (user-defined colours). If no pstricks's native colour matches the RHS, we fetch a HashMap from the Pool's hashtable (value associated with key PstricksParser.KEY_USER_COLOURS) and look up the given colour ; this HashMap may've been filled by UserDefinedColorExpression in the course of the parsing process.
PSTArrowExpression: Parses Pstricks's arrows, as given by the PsTricks's documentation (p.29). This is based on the following rules : an opening "{" ; " ", "(",... or even "", to set the first arrow ; a "-" in the middle ; same thing on the right side to set the second arrow ; a closing "}". If this expression is successfully parsed, the attribute set associated with the Pool's currentObj is modified accordingly.
PsEllipticalArcExpression: See PicEllipseFormater for details on the trick used to build elliptical arcs %PSTEllipticArc arcStart=xxx arcExtent=xxx \psclip{\pswedge[linecolor=white](xC,yC){radius}{Ang1}{Ang2}}\psellipse[param](xC,yC)(hradius,vradius)\endpsclip %End PSTEllipticArc We expect the parsed expression to have EXACTLY the same syntax as that produced by the formatter. [pending] of course, need to be improved ! Not used anymore.
BeginPsPictureExpression: \begin{pspicture}(x0,y0)(x1,y1) -> defines a box with BL=(x0,y0) and TR=(x1,y1) \begin{pspicture}*(x0,y0)(x1,y1) -> clipped \begin{pspicture}[baseline](x0,y0)(x1,y1) -> changes baseline (see pstricks's doc p.41) \begin{pspicture}[](x0,y0)(x1,y1) -> baseline passes across the origine And the same commands with \pspicture (that is, TeX-like).
PsBezierExpression: Rules for parsing cubic splines with a PsTricks syntax : \\psbezier[parameters]{arrows}(x0,y0)(x1,y1)(x2,y2)(x3,y3) \\psbezier*[parameters]{arrows}(x0,y0)(x1,y1)(x2,y2)(x3,y3) or PsTricks's object previously defined by help of a \\newpsobject command.
PSTPicPointExpression: an expression that parses "(x,y)" string (PsTricks-like PicPoint) and gives the corresponding numerical values to the point number "ptNumber" of the current Element (see jpicedt.graphic.model.Element interface for details on the setPoint()/getPoint() methods).
LaTeXPicPointExpression: an expression that parses "(x,y)" string (LaTeX-like PicPoint) and gives the corresponding numerical values to the point number "ptNumber" of the current Element (see jpicedt.graphic.model.Element interface for details on the setPoint()/getPoint() methods).
PicBezierExpression: Rules for parsing quad curves with a PicEdt syntax : PicBezier : %Bezier 0|1 0|1 (x1,y1)(xC,yC)(x2,y2) dash=value Any string %End Bezier dash is optional. The whole expression MUST hold on a single line (as opposed to LaTeX or eepic commands)
LatexViewFactory: A factory to create a View for a given Element when the underlying content type is LaTeX (i.e. picture env.) This is essentially based on Epic/Eepic behaviour, except for filling shapes (only small circles and rectangles can be filled).
LineThicknessExpression: Legal syntax : \linethickness{0.4pt} \linethickness{0.4mm} \linethickness{0.4cm} \linethickness{0.4} // en mm par défaut note : 1pt = 1/72.27 inch = 0.3515 mm cf. LaTeX Book (Leslie Lamport) p.192
PsArcExpression: Parses \\psarc commands : \\psarc[parameters]{ }(x0,y0){rad}{angleA}{angleB} ; where at least "arrows" or (x0,y0) args must be included \\psarc*[parameters]{ }(x0,y0){rad}{angleA}{angleB} ; idid. but filled
PicLineExpression: PicLine : %Line 0 0 (x0,y0)(x1,y1) dash=value %Line 0 1 (x0,y0)(x1,y1) dash=value %Line 1 0 (x0,y0)(x1,y1) dash=value %Line 1 1 (x0,y0)(x1,y1) dash=value (dash is optional) Any string (\multiput, etc...) %End Line

Home | Contact Us | Privacy Policy | Terms of Service