new makePptx(genobj, new_type, options, gen_private, type_info)
Extend officegen object with PPTX/PPSX support.
This method extending the given officegen object to create PPTX/PPSX document.
| Name | Type | Description |
|---|---|---|
genobj |
object | The object to extend. |
new_type |
string | The type of object to create. |
options |
object | The object's options. |
gen_private |
object | Access to the internals of this object. |
type_info |
object | Additional information about this type. |
Members
-
innerpptWidth
-
Convert shape name to shape information. This method convert the shape information reseived from the user to the real shape information object.
Methods
-
innercbGenerateEffects(effectData, effectName)
-
Create the XML code of a single effect. This method creating the effect XML code for a single object.
Name Type Description effectDataobject Effect data. effectNamestring The name of the effect. -
innercbMakeCharts(chartInfo)
-
Create XML string for a chart description
Name Type Description chartInfoobject Returns:
Text Xml string. -
innercbMakePptxApp(data)
-
Generate the extended attributes file (app) for PPTX/PPSX documents.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxLayout(data)
-
Create the 'slideLayout1.xml' resource.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxPresentation(data)
-
Create the main presentation resource. This resource is the main resource of any PowerPoint document.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxPresProps(data)
-
Create the 'presProps.xml' resource.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxSlide(data)
-
Generate a slider resource. This function generating a slider XML resource.
Name Type Description dataobject The main slide object. Returns:
Text string. -
innercbMakePptxSlideMasters(data)
-
Create the slides masters resource.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxStyles(data)
-
Create the 'tableStyles.xml' resource.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbMakePptxViewProps(data)
-
Create the 'viewProps.xml' resource.
Name Type Description dataobject Ignored by this callback function. Returns:
Text string. -
innercbPreparePptxToGenerate()
-
Prepare everything to generate PPTX files. This method checking for extra resources needed to add by the generator engine.
-
innercMakePptxColorSelection(color_info, back_info)
-
Generate the XML code to describe colors.
Name Type Description color_infoobject Foreground color information. back_infoobject Background color information. -
innercMakePptxOutTextCommand(text_info, text_string, slide_obj, slide_num)
-
Create a text object for adding into a slide.
Name Type Description text_infoobject Information how to display the text. text_stringobject The text string or requested field. slide_objobject The object of this slider. slide_numobject Current slide number. Returns:
The PPTX code. -
innercMakePptxOutTextData(text_info, slide_obj)
-
???.
Name Type Description text_infoobject Information how to display the text. slide_objobject The object of this slider. Returns:
Text string. -
innercreateBodyProperties()
-
Create the body properties code for text. This method creating the XML code of the body properties of a text.
Returns:
The body properties XML code. -
innerCreateFieldText(field_name, slide_num)
-
Translate field_name into the text real value. This method creating the text to display for the given field.
Name Type Description field_namestring the name of the field. slide_numnumber current slide number. Returns:
The text string data. -
innerparseSmartNumber(in_data_val, max_value, def_value, auto_val, mul_val)
-
???.
Name Type Description in_data_valobject Input value as passed by the user. max_valuenumber Maximum value allowed. def_valuenumber Default value. auto_valnumber ???. mul_valnumber ???. Returns:
???.