Location: PHPKode > projects > ClPHPppt > clphpppt/src/clPHPppt_constants.php
<?php
/**
* @package clPHPppt
* @author {@link mailto:chritian-hide@address.com chritian-hide@address.com} Christian Arnold
*/

//EnumExport Regex:
//  (mso([a-zA-Z0-9]*))(;)([0-9]{1,3})(;)(.*)
//preg_replace String:
//  public \$mso${2} = ${4}; //${6}
//  * - mso${2} - ${6}

/**
* ppLayouts containing the possible PowerPoint Slide Layouts
* 
* Possible Layouts:
* - ppLayoutTitle = 1
* - ppLayoutText = 2
* - ppLayoutTwoColumnText = 3
* - ppLayoutTable = 4
* - ppLayoutTextAndChart = 5
* - ppLayoutChartAndText = 6
* - ppLayoutOrgchart = 7
* - ppLayoutChart = 8
* - ppLayoutTextAndClipart = 9
* - ppLayoutClipartAndText = 10
* - ppLayoutTitleOnly = 11
* - ppLayoutBlank = 12
* - ppLayoutTextAndObject = 13
* - ppLayoutObjectAndText = 14
* - ppLayoutLargeObject = 15
* - ppLayoutObject = 16
* - ppLayoutTextAndMediaclip = 17
* - ppLayoutMediaClipAndText = 18
* - ppLayoutObjectOverText = 19
* - ppLayoutTextOverObject = 20
* - ppLayoutTextAndTwoObjects = 21
* - ppLayoutTwoObjectsAndText = 22
* - ppLayoutTwoObjectsOverText = 23
* - ppLayoutFourObjects = 24
* - ppLayoutVerticalText = 25
* - ppLayoutClipartAndVerticalText = 26
* - ppLayoutVerticalTitleAndText = 27
* - ppLayoutVerticalTitleAndTextOverChart = 28
* - ppLayoutTwoObjects = 29
* - ppLayoutObjectAndTwoObjects = 30
* - ppLayoutTwoObjectsAndObject = 31
* 
* Don't use:	
* - ppLayoutMixed = -2
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppSlideLayouts {	
	public $ppLayoutTitle = 1;
	public $ppLayoutText = 2;
	public $ppLayoutTwoColumnText = 3;
	public $ppLayoutTable = 4;
	public $ppLayoutTextAndChart = 5;
	public $ppLayoutChartAndText = 6;
	public $ppLayoutOrgchart = 7;
	public $ppLayoutChart = 8;
	public $ppLayoutTextAndClipart = 9;
	public $ppLayoutClipartAndText = 10;
	public $ppLayoutTitleOnly = 11;
	public $ppLayoutBlank = 12;
	public $ppLayoutTextAndObject = 13;
	public $ppLayoutObjectAndText = 14;
	public $ppLayoutLargeObject = 15;
	public $ppLayoutObject = 16;
	public $ppLayoutTextAndMediaclip = 17;
	public $ppLayoutMediaClipAndText = 18;
	public $ppLayoutObjectOverText = 19;
	public $ppLayoutTextOverObject = 20;
	public $ppLayoutTextAndTwoObjects = 21;
	public $ppLayoutTwoObjectsAndText = 22;
	public $ppLayoutTwoObjectsOverText = 23;
	public $ppLayoutFourObjects = 24;
	public $ppLayoutVerticalText = 25;
	public $ppLayoutClipartAndVerticalText = 26;
	public $ppLayoutVerticalTitleAndText = 27;
	public $ppLayoutVerticalTitleAndTextOverChart = 28;
	public $ppLayoutTwoObjects = 29;
	public $ppLayoutObjectAndTwoObjects = 30;
	public $ppLayoutTwoObjectsAndObject = 31;
	
	public $ppLayoutMixed = -2;
}

/**
* All possible text orientations fot TextBox
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
* @ignore
*/
class ppTextOrientations {
  public $ppTextOrientationHorizontal = 1;
  public $ppTextOrientationUpward = 2;
  public $ppTextOrientationDownward = 3;
  public $ppTextOrientationVertical = 5;
  
  public $ppTextOrientationVerticalFarEast = 4;
  public $ppTextOrientationHorizontalRotatedFarEast = 6;
  public $ppTextOrientationMixed = -2;
}

/**
* The possible text alignments
* 
* Possible text aligns
* - ppTextAlignLeft = 1
* - ppTextAlignCenter = 2
* - ppTextAlignRight = 3
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppTextAligns {
  public $ppTextAlignLeft = 1;
  public $ppTextAlignCenter = 2;
  public $ppTextAlignRight = 3;
}

/**
* All possible WordArt text effects
* 
* Specifies what text effect to use on a WordArt object. Refer to the WordArt Gallery dialog box in any Microsoft Office product that supports WordArt to see a preview of each effect. The values of the MsoPresetTextEffect constants correspond to the formats listed in the WordArt Gallery dialog box (numbered from left to right and from top to bottom).
* 
* Possible Text Effects are msoTextEffect1 to msoTextEffect30
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppTextEffectStyles {
  public $msoTextEffect1 = 0; //First text effect.
  public $msoTextEffect10 = 9; //Tenth text effect.
  public $msoTextEffect11 = 10; //Eleventh text effect.
  public $msoTextEffect12 = 11; //Twelfth text effect.
  public $msoTextEffect13 = 12; //Thirteenth text effect.
  public $msoTextEffect14 = 13; //Fourteenth text effect.
  public $msoTextEffect15 = 14; //Fifteenth text effect.
  public $msoTextEffect16 = 15; //Sixteenth text effect.
  public $msoTextEffect17 = 16; //Seventeenth text effect.
  public $msoTextEffect18 = 17; //Eighteenth text effect.
  public $msoTextEffect19 = 18; //Nineteenth text effect.
  public $msoTextEffect2 = 1; //Second text effect.
  public $msoTextEffect20 = 19; //Twentieth text effect.
  public $msoTextEffect21 = 20; //Twenty-first text effect.
  public $msoTextEffect22 = 21; //Twenty-second text effect.
  public $msoTextEffect23 = 22; //Twenty-third text effect.
  public $msoTextEffect24 = 23; //Twenty-fourth text effect.
  public $msoTextEffect25 = 24; //Twenty-fifth text effect.
  public $msoTextEffect26 = 25; //Twenty-sixth text effect.
  public $msoTextEffect27 = 26; //Twenty-seventh text effect.
  public $msoTextEffect28 = 27; //Twenty-eighth text effect.
  public $msoTextEffect29 = 28; //Twenty-ninth text effect.
  public $msoTextEffect3 = 2; //Third text effect.
  public $msoTextEffect30 = 29; //Thirtieth text effect.
  public $msoTextEffect4 = 3; //Fourth text effect.
  public $msoTextEffect5 = 4; //Fifth text effect.
  public $msoTextEffect6 = 5; //Sixth text effect.
  public $msoTextEffect7 = 6; //Seventh text effect.
  public $msoTextEffect8 = 7; //Eighth text effect.
  public $msoTextEffect9 = 8; //Ninth text effect.
  public $msoTextEffectMixed = -2; //Not used.
}

/**
* All possible shapes
* 
* Possbile Shapes are:
* - msoShape16pointStar - 16-point star.
* - msoShape24pointStar - 24-point star.
* - msoShape32pointStar - 32-point star.
* - msoShape4pointStar - 4-point star.
* - msoShape5pointStar - 5-point star.
* - msoShape8pointStar - 8-point star.
* - msoShapeActionButtonBackorPrevious - Back or Previous button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonBeginning - Beginning button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonCustom - Button with no default picture or text. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonDocument - Document button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonEnd - End button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonForwardorNext - Forward or Next button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonHelp - Help button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonHome - Home button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonInformation - Information button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonMovie - Movie button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonReturn - Return button. Supports mouse-click and mouse-over actions.
* - msoShapeActionButtonSound - Sound button. Supports mouse-click and mouse-over actions.
* - msoShapeArc - Arc.
* - msoShapeBalloon - Balloon.
* - msoShapeBentArrow - Block arrow that follows a curved 90-degree angle.
* - msoShapeBentUpArrow - Block arrow that follows a sharp 90-degree angle. Points up by default.
* - msoShapeBevel - Bevel.
* - msoShapeBlockArc - Block arc.
* - msoShapeCan - Can.
* - msoShapeChevron - Chevron.
* - msoShapeCircularArrow - Block arrow that follows a curved 180-degree angle.
* - msoShapeCloudCallout - Cloud callout.
* - msoShapeCross - Cross.
* - msoShapeCube - Cube.
* - msoShapeCurvedDownArrow - Block arrow that curves down.
* - msoShapeCurvedDownRibbon - Ribbon banner that curves down.
* - msoShapeCurvedLeftArrow - Block arrow that curves left.
* - msoShapeCurvedRightArrow - Block arrow that curves right.
* - msoShapeCurvedUpArrow - Block arrow that curves up.
* - msoShapeCurvedUpRibbon - Ribbon banner that curves up.
* - msoShapeDiamond - Diamond.
* - msoShapeDonut - Donut.
* - msoShapeDoubleBrace - Double brace.
* - msoShapeDoubleBracket - Double bracket.
* - msoShapeDoubleWave - Double wave.
* - msoShapeDownArrow - Block arrow that points down.
* - msoShapeDownArrowCallout - Callout with arrow that points down.
* - msoShapeDownRibbon - Ribbon banner with center area below ribbon ends.
* - msoShapeExplosion1 - Explosion.
* - msoShapeExplosion2 - Explosion.
* - msoShapeFlowchartAlternateProcess - Alternate process flowchart symbol.
* - msoShapeFlowchartCard - Card flowchart symbol.
* - msoShapeFlowchartCollate - Collate flowchart symbol.
* - msoShapeFlowchartConnector - Connector flowchart symbol.
* - msoShapeFlowchartData - Data flowchart symbol.
* - msoShapeFlowchartDecision - Decision flowchart symbol.
* - msoShapeFlowchartDelay - Delay flowchart symbol.
* - msoShapeFlowchartDirectAccessStorage - Direct access storage flowchart symbol.
* - msoShapeFlowchartDisplay - Display flowchart symbol.
* - msoShapeFlowchartDocument - Document flowchart symbol.
* - msoShapeFlowchartExtract - Extract flowchart symbol.
* - msoShapeFlowchartInternalStorage - Internal storage flowchart symbol.
* - msoShapeFlowchartMagneticDisk - Magnetic disk flowchart symbol.
* - msoShapeFlowchartManualInput - Manual input flowchart symbol.
* - msoShapeFlowchartManualOperation - Manual operation flowchart symbol.
* - msoShapeFlowchartMerge - Merge flowchart symbol.
* - msoShapeFlowchartMultidocument - Multi-document flowchart symbol.
* - msoShapeFlowchartOffpageConnector - Off-page connector flowchart symbol.
* - msoShapeFlowchartOr - """Or"" flowchart symbol."
* - msoShapeFlowchartPredefinedProcess - Predefined process flowchart symbol.
* - msoShapeFlowchartPreparation - Preparation flowchart symbol.
* - msoShapeFlowchartProcess - Process flowchart symbol.
* - msoShapeFlowchartPunchedTape - Punched tape flowchart symbol.
* - msoShapeFlowchartSequentialAccessStorage - Sequential access storage flowchart symbol.
* - msoShapeFlowchartSort - Sort flowchart symbol.
* - msoShapeFlowchartStoredData - Stored data flowchart symbol.
* - msoShapeFlowchartSummingJunction - Summing junction flowchart symbol.
* - msoShapeFlowchartTerminator - Terminator flowchart symbol.
* - msoShapeFoldedCorner - Folded corner.
* - msoShapeHeart - Heart.
* - msoShapeHexagon - Hexagon.
* - msoShapeHorizontalScroll - Horizontal scroll.
* - msoShapeIsoscelesTriangle - Isosceles triangle.
* - msoShapeLeftArrow - Block arrow that points left.
* - msoShapeLeftArrowCallout - Callout with arrow that points left.
* - msoShapeLeftBrace - Left brace.
* - msoShapeLeftBracket - Left bracket.
* - msoShapeLeftRightArrow - Block arrow with arrowheads that point both left and right.
* - msoShapeLeftRightArrowCallout - Callout with arrowheads that point both left and right.
* - msoShapeLeftRightUpArrow - Block arrow with arrowheads that point left, right, and up.
* - msoShapeLeftUpArrow - Block arrow with arrowheads that point left and up.
* - msoShapeLightningBolt - Lightning bolt.
* - msoShapeLineCallout1 - Callout with border and horizontal callout line.
* - msoShapeLineCallout1AccentBar - Callout with horizontal accent bar.
* - msoShapeLineCallout1BorderandAccentBar - Callout with border and horizontal accent bar.
* - msoShapeLineCallout1NoBorder - Callout with horizontal line.
* - msoShapeLineCallout2 - Callout with diagonal straight line.
* - msoShapeLineCallout2AccentBar - Callout with diagonal callout line and accent bar.
* - msoShapeLineCallout2BorderandAccentBar - Callout with border, diagonal straight line, and accent bar.
* - msoShapeLineCallout2NoBorder - Callout with no border and diagonal callout line.
* - msoShapeLineCallout3 - Callout with angled line.
* - msoShapeLineCallout3AccentBar - Callout with angled callout line and accent bar.
* - msoShapeLineCallout3BorderandAccentBar - Callout with border, angled callout line, and accent bar.
* - msoShapeLineCallout3NoBorder - Callout with no border and angled callout line.
* - msoShapeLineCallout4 - Callout with callout line segments forming a U-shape.
* - msoShapeLineCallout4AccentBar - Callout with accent bar and callout line segments forming a U-shape.
* - msoShapeLineCallout4BorderandAccentBar - Callout with border, accent bar, and callout line segments forming a U-shape.
* - msoShapeLineCallout4NoBorder - Callout with no border and callout line segments forming a U-shape.
* - msoShapeMixed - "Return value only; indicates a combination of the other states."
* - msoShapeMoon - Moon.
* - msoShapeNoSymbol - """No"" symbol."
* - msoShapeNotchedRightArrow - Notched block arrow that points right.
* - msoShapeNotPrimitive - Not supported.
* - msoShapeOctagon - Octagon.
* - msoShapeOval - Oval.
* - msoShapeOvalCallout - Oval-shaped callout.
* - msoShapeParallelogram - Parallelogram.
* - msoShapePentagon - Pentagon.
* - msoShapePlaque - Plaque.
* - msoShapeQuadArrow - Block arrows that point up, down, left, and right.
* - msoShapeQuadArrowCallout - Callout with arrows that point up, down, left, and right.
* - msoShapeRectangle - Rectangle.
* - msoShapeRectangularCallout - Rectangular callout.
* - msoShapeRegularPentagon - Pentagon.
* - msoShapeRightArrow - Block arrow that points right.
* - msoShapeRightArrowCallout - Callout with arrow that points right.
* - msoShapeRightBrace - Right brace.
* - msoShapeRightBracket - Right bracket.
* - msoShapeRightTriangle - Right triangle.
* - msoShapeRoundedRectangle - Rounded rectangle.
* - msoShapeRoundedRectangularCallout - Rounded rectangle-shaped callout.
* - msoShapeSmileyFace - Smiley face.
* - msoShapeStripedRightArrow - Block arrow that points right with stripes at the tail.
* - msoShapeSun - Sun.
* - msoShapeTrapezoid - Trapezoid.
* - msoShapeUpArrow - Block arrow that points up.
* - msoShapeUpArrowCallout - Callout with arrow that points up.
* - msoShapeUpDownArrow - Block arrow that points up and down.
* - msoShapeUpDownArrowCallout - Callout with arrows that point up and down.
* - msoShapeUpRibbon - Ribbon banner with center area above ribbon ends.
* - msoShapeUTurnArrow - Block arrow forming a U shape.
* - msoShapeVerticalScroll - Vertical scroll.
* - msoShapeWave - Wave.
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppAutoShapeTypes {
public $msoShapeMixed = -2; //"Return value only; indicates a combination of the other states."
public $msoShapeRectangle = 1; //Rectangle.
public $msoShapeParallelogram = 2; //Parallelogram.
public $msoShapeTrapezoid = 3; //Trapezoid.
public $msoShapeDiamond = 4; //Diamond.
public $msoShapeRoundedRectangle = 5; //Rounded rectangle.
public $msoShapeOctagon = 6; //Octagon.
public $msoShapeIsoscelesTriangle = 7; //Isosceles triangle.
public $msoShapeRightTriangle = 8; //Right triangle.
public $msoShapeOval = 9; //Oval.
public $msoShapeHexagon = 10; //Hexagon.
public $msoShapeCross = 11; //Cross.
public $msoShapeRegularPentagon = 12; //Pentagon.
public $msoShapeCan = 13; //Can.
public $msoShapeCube = 14; //Cube.
public $msoShapeBevel = 15; //Bevel.
public $msoShapeFoldedCorner = 16; //Folded corner.
public $msoShapeSmileyFace = 17; //Smiley face.
public $msoShapeDonut = 18; //Donut.
public $msoShapeNoSymbol = 19; //"""No"" symbol."
public $msoShapeBlockArc = 20; //Block arc.
public $msoShapeHeart = 21; //Heart.
public $msoShapeLightningBolt = 22; //Lightning bolt.
public $msoShapeSun = 23; //Sun.
public $msoShapeMoon = 24; //Moon.
public $msoShapeArc = 25; //Arc.
public $msoShapeDoubleBracket = 26; //Double bracket.
public $msoShapeDoubleBrace = 27; //Double brace.
public $msoShapePlaque = 28; //Plaque.
public $msoShapeLeftBracket = 29; //Left bracket.
public $msoShapeRightBracket = 30; //Right bracket.
public $msoShapeLeftBrace = 31; //Left brace.
public $msoShapeRightBrace = 32; //Right brace.
public $msoShapeRightArrow = 33; //Block arrow that points right.
public $msoShapeLeftArrow = 34; //Block arrow that points left.
public $msoShapeUpArrow = 35; //Block arrow that points up.
public $msoShapeDownArrow = 36; //Block arrow that points down.
public $msoShapeLeftRightArrow = 37; //Block arrow with arrowheads that point both left and right.
public $msoShapeUpDownArrow = 38; //Block arrow that points up and down.
public $msoShapeQuadArrow = 39; //Block arrows that point up, down, left, and right.
public $msoShapeLeftRightUpArrow = 40; //Block arrow with arrowheads that point left, right, and up.
public $msoShapeBentArrow = 41; //Block arrow that follows a curved 90-degree angle.
public $msoShapeUTurnArrow = 42; //Block arrow forming a U shape.
public $msoShapeLeftUpArrow = 43; //Block arrow with arrowheads that point left and up.
public $msoShapeBentUpArrow = 44; //Block arrow that follows a sharp 90-degree angle. Points up by default.
public $msoShapeCurvedRightArrow = 45; //Block arrow that curves right.
public $msoShapeCurvedLeftArrow = 46; //Block arrow that curves left.
public $msoShapeCurvedUpArrow = 47; //Block arrow that curves up.
public $msoShapeCurvedDownArrow = 48; //Block arrow that curves down.
public $msoShapeStripedRightArrow = 49; //Block arrow that points right with stripes at the tail.
public $msoShapeNotchedRightArrow = 50; //Notched block arrow that points right.
public $msoShapePentagon = 51; //Pentagon.
public $msoShapeChevron = 52; //Chevron.
public $msoShapeRightArrowCallout = 53; //Callout with arrow that points right.
public $msoShapeLeftArrowCallout = 54; //Callout with arrow that points left.
public $msoShapeUpArrowCallout = 55; //Callout with arrow that points up.
public $msoShapeDownArrowCallout = 56; //Callout with arrow that points down.
public $msoShapeLeftRightArrowCallout = 57; //Callout with arrowheads that point both left and right.
public $msoShapeUpDownArrowCallout = 58; //Callout with arrows that point up and down.
public $msoShapeQuadArrowCallout = 59; //Callout with arrows that point up, down, left, and right.
public $msoShapeCircularArrow = 60; //Block arrow that follows a curved 180-degree angle.
public $msoShapeFlowchartProcess = 61; //Process flowchart symbol.
public $msoShapeFlowchartAlternateProcess = 62; //Alternate process flowchart symbol.
public $msoShapeFlowchartDecision = 63; //Decision flowchart symbol.
public $msoShapeFlowchartData = 64; //Data flowchart symbol.
public $msoShapeFlowchartPredefinedProcess = 65; //Predefined process flowchart symbol.
public $msoShapeFlowchartInternalStorage = 66; //Internal storage flowchart symbol.
public $msoShapeFlowchartDocument = 67; //Document flowchart symbol.
public $msoShapeFlowchartMultidocument = 68; //Multi-document flowchart symbol.
public $msoShapeFlowchartTerminator = 69; //Terminator flowchart symbol.
public $msoShapeFlowchartPreparation = 70; //Preparation flowchart symbol.
public $msoShapeFlowchartManualInput = 71; //Manual input flowchart symbol.
public $msoShapeFlowchartManualOperation = 72; //Manual operation flowchart symbol.
public $msoShapeFlowchartConnector = 73; //Connector flowchart symbol.
public $msoShapeFlowchartOffpageConnector = 74; //Off-page connector flowchart symbol.
public $msoShapeFlowchartCard = 75; //Card flowchart symbol.
public $msoShapeFlowchartPunchedTape = 76; //Punched tape flowchart symbol.
public $msoShapeFlowchartSummingJunction = 77; //Summing junction flowchart symbol.
public $msoShapeFlowchartOr = 78; //"""Or"" flowchart symbol."
public $msoShapeFlowchartCollate = 79; //Collate flowchart symbol.
public $msoShapeFlowchartSort = 80; //Sort flowchart symbol.
public $msoShapeFlowchartExtract = 81; //Extract flowchart symbol.
public $msoShapeFlowchartMerge = 82; //Merge flowchart symbol.
public $msoShapeFlowchartStoredData = 83; //Stored data flowchart symbol.
public $msoShapeFlowchartDelay = 84; //Delay flowchart symbol.
public $msoShapeFlowchartSequentialAccessStorage = 85; //Sequential access storage flowchart symbol.
public $msoShapeFlowchartMagneticDisk = 86; //Magnetic disk flowchart symbol.
public $msoShapeFlowchartDirectAccessStorage = 87; //Direct access storage flowchart symbol.
public $msoShapeFlowchartDisplay = 88; //Display flowchart symbol.
public $msoShapeExplosion1 = 89; //Explosion.
public $msoShapeExplosion2 = 90; //Explosion.
public $msoShape4pointStar = 91; //4-point star.
public $msoShape5pointStar = 92; //5-point star.
public $msoShape8pointStar = 93; //8-point star.
public $msoShape16pointStar = 94; //16-point star.
public $msoShape24pointStar = 95; //24-point star.
public $msoShape32pointStar = 96; //32-point star.
public $msoShapeUpRibbon = 97; //Ribbon banner with center area above ribbon ends.
public $msoShapeDownRibbon = 98; //Ribbon banner with center area below ribbon ends.
public $msoShapeCurvedUpRibbon = 99; //Ribbon banner that curves up.
public $msoShapeCurvedDownRibbon = 100; //Ribbon banner that curves down.
public $msoShapeVerticalScroll = 101; //Vertical scroll.
public $msoShapeHorizontalScroll = 102; //Horizontal scroll.
public $msoShapeWave = 103; //Wave.
public $msoShapeDoubleWave = 104; //Double wave.
public $msoShapeRectangularCallout = 105; //Rectangular callout.
public $msoShapeRoundedRectangularCallout = 106; //Rounded rectangle-shaped callout.
public $msoShapeOvalCallout = 107; //Oval-shaped callout.
public $msoShapeCloudCallout = 108; //Cloud callout.
public $msoShapeLineCallout1 = 109; //Callout with border and horizontal callout line.
public $msoShapeLineCallout2 = 110; //Callout with diagonal straight line.
public $msoShapeLineCallout3 = 111; //Callout with angled line.
public $msoShapeLineCallout4 = 112; //Callout with callout line segments forming a U-shape.
public $msoShapeLineCallout1AccentBar = 113; //Callout with horizontal accent bar.
public $msoShapeLineCallout2AccentBar = 114; //Callout with diagonal callout line and accent bar.
public $msoShapeLineCallout3AccentBar = 115; //Callout with angled callout line and accent bar.
public $msoShapeLineCallout4AccentBar = 116; //Callout with accent bar and callout line segments forming a U-shape.
public $msoShapeLineCallout1NoBorder = 117; //Callout with horizontal line.
public $msoShapeLineCallout2NoBorder = 118; //Callout with no border and diagonal callout line.
public $msoShapeLineCallout3NoBorder = 119; //Callout with no border and angled callout line.
public $msoShapeLineCallout4NoBorder = 120; //Callout with no border and callout line segments forming a U-shape.
public $msoShapeLineCallout1BorderandAccentBar = 121; //Callout with border and horizontal accent bar.
public $msoShapeLineCallout2BorderandAccentBar = 122; //Callout with border, diagonal straight line, and accent bar.
public $msoShapeLineCallout3BorderandAccentBar = 123; //Callout with border, angled callout line, and accent bar.
public $msoShapeLineCallout4BorderandAccentBar = 124; //Callout with border, accent bar, and callout line segments forming a U-shape.
public $msoShapeActionButtonCustom = 125; //Button with no default picture or text. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonHome = 126; //Home button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonHelp = 127; //Help button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonInformation = 128; //Information button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonBackorPrevious = 129; //Back or Previous button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonForwardorNext = 130; //Forward or Next button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonBeginning = 131; //Beginning button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonEnd = 132; //End button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonReturn = 133; //Return button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonDocument = 134; //Document button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonSound = 135; //Sound button. Supports mouse-click and mouse-over actions.
public $msoShapeActionButtonMovie = 136; //Movie button. Supports mouse-click and mouse-over actions.
public $msoShapeBalloon = 137; //Balloon.
public $msoShapeNotPrimitive = 138; //Not supported.
}

/**
* Possible line dash styles
* 
* List of all possible line dash styles. In PowerPoint it would be the the 1st box in the 2nd row on the settingspage in the lines section.
*
* - msoLineDash - Line consists of dashes only.
* - msoLineDashDot - Line is a dash-dot pattern.
* - msoLineDashDotDot - Line is a dash-dot-dot pattern.
* - msoLineLongDash - Line consists of long dashes.
* - msoLineLongDashDot - Line is a long dash-dot pattern.
* - msoLineRoundDot - Line is made up of round dots.
* - msoLineSolid - Line is solid.
* - msoLineSquareDot - Line is made up of square dots.
* 
* Don't use:
* - msoLineDashStyleMixed - Not supported.
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppLineDashStyles {
  public $msoLineDash = 4; //Line consists of dashes only.
  public $msoLineDashDot = 5; //Line is a dash-dot pattern.
  public $msoLineDashDotDot = 6; //Line is a dash-dot-dot pattern.
  public $msoLineDashStyleMixed = -2; //Not supported.
  public $msoLineLongDash = 7; //Line consists of long dashes.
  public $msoLineLongDashDot = 8; //Line is a long dash-dot pattern.
  public $msoLineRoundDot = 3; //Line is made up of round dots.
  public $msoLineSolid = 1; //Line is solid.
  public $msoLineSquareDot = 2; //Line is made up of square dots.
}

/**
* Possible line styles
* 
* List of all possible line styles. In PowerPoint it would be the the 2nd box in the 1st row on the settingspage in the lines section.
* 
* - msoLineSingle - Single line.
* - msoLineThickBetweenThin - Thick line with a thin line on each side.
* - msoLineThickThin - Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line.
* - msoLineThinThick - Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line.
* - msoLineThinThin - Two thin lines.
* 
* Don't use:
* - msoLineStyleMixed - Not supported.
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppLineStyles {
  public $msoLineSingle = 1; //Single line.
  public $msoLineStyleMixed = -2; //Not supported.
  public $msoLineThickBetweenThin = 5; //Thick line with a thin line on each side.
  public $msoLineThickThin = 4; //Thick line next to thin line. For horizontal lines, thick line is above thin line. For vertical lines, thick line is to the left of the thin line.
  public $msoLineThinThick = 3; //Thick line next to thin line. For horizontal lines, thick line is below thin line. For vertical lines, thick line is to the right of the thin line.
  public $msoLineThinThin = 2; //Two thin lines.
}

/**
* Possible arrow styles
* 
* Possible arrow styles
* - msoArrowheadDiamond - Diamond-shaped.
* - msoArrowheadNone - No arrowhead.
* - msoArrowheadOpen - Open.
* - msoArrowheadOval - Oval-shaped.
* - msoArrowheadStealth - Stealth-shaped.
* - msoArrowheadTriangle - Triangular.  
* 
* Don't use:
* - msoArrowheadStyleMixed - "Return value only; indicates a combination of the other states."
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppArrowStyles {
  public $msoArrowheadDiamond = 5; //Diamond-shaped.
  public $msoArrowheadNone = 1; //No arrowhead.
  public $msoArrowheadOpen = 3; //Open.
  public $msoArrowheadOval = 6; //Oval-shaped.
  public $msoArrowheadStealth = 4; //Stealth-shaped.
  public $msoArrowheadStyleMixed = -2; //"Return value only; indicates a combination of the other states."
  public $msoArrowheadTriangle = 2; //Triangular.  
}

/**
* Possible arrow lengths
* 
* Possible arrow lengths
* - msoArrowheadLengthMedium - Medium.
* - msoArrowheadLong - Long.
* - msoArrowheadShort - Short.
* 
* Don't use:
* - msoArrowheadLengthMixed - "Return value only; indicates a combination of the other states in the specified shape range."
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppArrowLengths {
  public $msoArrowheadLengthMedium = 2; //Medium.
  public $msoArrowheadLengthMixed = -2; //"Return value only; indicates a combination of the other states in the specified shape range."
  public $msoArrowheadLong = 3; //Long.
  public $msoArrowheadShort = 1; //Short.
}

/**
* Possible arrow widths
* 
* Possible arrow widths
* - msoArrowheadNarrow = 1; //Narrow.
* - msoArrowheadWide = 3; //Wide.
* - msoArrowheadWidthMedium = 2; //Medium.
* 
* Don't use:
* - msoArrowheadWidthMixed = -2; //"Return value only; indicates a combination of the other states."
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppArrowWidths {
  public $msoArrowheadNarrow = 1; //Narrow.
  public $msoArrowheadWide = 3; //Wide.
  public $msoArrowheadWidthMedium = 2; //Medium.
  public $msoArrowheadWidthMixed = -2; //"Return value only; indicates a combination of the other states."
}

/**
* Possible shape types 
* 
* Possible shape types:
* - msoAutoShape - AutoShape.
* - msoCallout - Callout.
* - msoChart - Chart.
* - msoComment - Comment.
* - msoFreeform - Freeform.
* - msoGroup - Group.
* - msoEmbeddedOLEObject - Embedded OLE object.
* - msoFormControl - Form control.
* - msoLine - Line
* - msoLinkedOLEObject - Linked OLE object
* - msoLinkedPicture - Linked picture
* - msoOLEControlObject - OLE control object
* - msoPicture - Picture
* - msoPlaceholder - Placeholder
* - msoTextEffect - Text effect
* - msoMedia - Media
* - msoTextBox - Text box
* - msoScriptAnchor - Script anchor
* - msoTable - Table
* - msoCanvas - Canvas.
* - msoDiagram - Diagram.
* - msoInk - Ink
* - msoInkComment - Ink comment
* - msoIgxGraphic - SmartArt graphic
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
* @ignore
*/
class ppShapeTypes {
  public $msoAutoShape = 1; //AutoShape.
  public $msoCallout = 2; //Callout.
  public $msoChart = 3; //Chart.
  public $msoComment = 4; //Comment.
  public $msoFreeform = 5; //Freeform.
  public $msoGroup = 6; //Group.
  public $msoEmbeddedOLEObject = 7; //Embedded OLE object.
  public $msoFormControl = 8; //Form control.
  public $msoLine = 9; //Line
  public $msoLinkedOLEObject = 10; //Linked OLE object
  public $msoLinkedPicture = 11; //Linked picture
  public $msoOLEControlObject = 12; //OLE control object
  public $msoPicture = 13; //Picture
  public $msoPlaceholder = 14; //Placeholder
  public $msoTextEffect = 15; //Text effect
  public $msoMedia = 16; //Media
  public $msoTextBox = 17; //Text box
  public $msoScriptAnchor = 18; //Script anchor
  public $msoTable = 19; //Table
  public $msoCanvas = 20; //Canvas.
  public $msoDiagram = 21; //Diagram.
  public $msoInk = 22; //Ink
  public $msoInkComment = 23; //Ink comment
  public $msoIgxGraphic = 24; //SmartArt graphic
  
  public $msoShapeTypeMixed = -2; //Mixed shape type
}

/**
* Possible shadow types
* 
* Specifies the type of shadow displayed with a shape.The msoShadowType constants are numbered according to their order (left to right, top to bottom) within the Shadow Style set shown in the Drawing toolbar.
* 
* Possible shadow types are from msoShadow1 to msoShadow20
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppShadowTypes {
  public $msoShadow1 = 1; //First shadow type.
  public $msoShadow10 = 10; //Tenth shadow type.
  public $msoShadow11 = 11; //Eleventh shadow type.
  public $msoShadow12 = 12; //Twelfth shadow type.
  public $msoShadow13 = 13; //Thirteenth shadow type.
  public $msoShadow14 = 14; //Fourteenth shadow type.
  public $msoShadow15 = 15; //Fifteenth shadow type.
  public $msoShadow16 = 16; //Sixteenth shadow type.
  public $msoShadow17 = 17; //Seventeenth shadow type.
  public $msoShadow18 = 18; //Eighteenth shadow type.
  public $msoShadow19 = 19; //Nineteenth shadow type.
  public $msoShadow2 = 2; //Second shadow type.
  public $msoShadow20 = 20; //Twentieth shadow type.
  public $msoShadow3 = 3; //Third shadow type.
  public $msoShadow4 = 4; //Fourth shadow type.
  public $msoShadow5 = 5; //Fifth shadow type.
  public $msoShadow6 = 6; //Sixth shadow type.
  public $msoShadow7 = 7; //Seventh shadow type.
  public $msoShadow8 = 8; //Eighth shadow type.
  public $msoShadow9 = 9; //Ninth shadow type.
  public $msoShadowMixed = -2; //Not supported.
}

/**
* Specifies the vertical alignment of text in a text frame.
* 
* Possible constants:
* - msoAnchorBottom - Aligns text to bottom of text frame.
* - msoAnchorBottomBaseLine - Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
* - msoAnchorMiddle - Centers text vertically.
* - msoAnchorTop - Aligns text to top of text frame.
* - msoAnchorTopBaseline - Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
* 
* Don't use:
* - msoVerticalAnchorMixed - Return value only; indicates a combination of the other states.
* 
* @package clPHPppt
*/
class ppVerticalAnchor {
  public $msoAnchorBottom = 4; //Aligns text to bottom of text frame.
  public $msoAnchorBottomBaseLine = 5; //Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
  public $msoAnchorMiddle = 3; //Centers text vertically.
  public $msoAnchorTop = 1; //Aligns text to top of text frame.
  public $msoAnchorTopBaseline = 2; //Anchors bottom of text string to current position, regardless of text resizing. When you resize text without baseline anchoring, text centers itself on previous position.
  public $msoVerticalAnchorMixed =-2; //"Return value only; indicates a combination of the other states."
}

/**
* All PowerPoint Classes in one class for easier access
* 
* @author Christian Arnold
* @version 1.0
* @package clPHPppt
*/
class ppConstants {
  public $ppSlideLayouts = null;
  public $ppTextOrientations = null;
  public $ppTextAligns = null;
  public $ppTextEffectStyles = null;
  public $ppAutoShapeTypes = null;
  public $ppLineDashStyles = null;
  public $ppLineStyles = null;
  public $ppArrowStyles = null;
  public $ppArrowLengths = null;
  public $ppArrowWidths = null;
  public $ppShapeTypes = null;
  public $ppShadowTypes = null;
  public $ppVerticalAnchor = null;
  
  public function __construct() {
	$this->ppSlideLayouts = new ppSlideLayouts();
	$this->ppTextOrientations = new ppTextOrientations();
	$this->ppTextAligns = new ppTextAligns();
	$this->ppTextEffectStyles = new ppTextEffectStyles();
	$this->ppAutoShapeTypes = new ppAutoShapeTypes();
	$this->ppLineDashStyles = new ppLineDashStyles();
	$this->ppLineStyles = new ppLineStyles();
	$this->ppArrowStyles = new ppArrowStyles();
	$this->ppArrowLengths = new ppArrowLengths();
	$this->ppArrowWidths = new ppArrowWidths();
	$this->ppShapeTypes = new ppShapeTypes();
	$this->ppShadowTypes = new ppShadowTypes();
	$this->ppVerticalAnchor = new ppVerticalAnchor();
  }

}
?>
Return current item: ClPHPppt