Microsoft Word, Excel, and PowerPoint documents contain hidden information, some of which is shown by default when exported, and some of which is hidden by default. There are several options that allow you to determine which types of hidden data are shown.
You can show several types of hidden data from Microsoft Word, Excel, and PowerPoint documents, each of which has a corresponding flag in the KVXMLConfig() function, which you can toggle to determine whether the hidden data is shown or not. Hidden data settings lists each data type, its default behavior, and its corresponding configuration API flag.
Hidden Data Type |
Default Behavior |
Configuration API Flag |
---|---|---|
Microsoft Word |
|
|
Comments1Word comment settings can also be toggled with a configuration parameter in the formats_e.ini file. See “Toggle Word Comment Settings in the formats_e.ini File” on page 144. |
Shown2Shown by default in Microsoft Word 97 to 2003 documents. |
|
Hidden |
||
Calculated date |
||
Document file name |
||
Microsoft Excel |
|
|
Hidden |
||
Hidden |
||
Calculated value |
||
Microsoft PowerPoint |
|
|
Shown |
||
Shown3Shown by default in Microsoft PowerPoint 97 to 2000 documents. |
||
Hidden |
|
|
Slide notes5PowerPoint slide note settings can also be toggled with a configuration parameter in the formats_e.ini file. See “Toggle PowerPoint Slide Note Settings in the formats_e.ini File” on page 145. |
Hidden |
To toggle the display of any type of hidden data
Use the configuration API and set the third parameter to TRUE
or FALSE
:
(*fpHTMLConfig)(pKVHTML, KVCFG_WP_NOCOMMENTS, TRUE, NULL)
In this example, comments will not be exported from Word documents.
TRUE
.For more information, see KVXMLConfig().
Microsoft Word 97 to 2003 comment settings can also be controlled through a parameter in the formats_e.ini
file.
The formats_e.ini
file is in the directory install
\
OS
\bin
, where install
is the path name of the Export installation directory and OS
is the name of the operating system.
To toggle comment output in formats_e.ini
Open the formats_e.ini
file in a text editor.
Under [Options]
, add the WP_NOCOMMENTS
parameter and set it to 0
to show comments, or 1
to hide comments. For example:
[Options]
WP_NOCOMMENTS=1
KVCFG_WP_NOCOMMENTS
configuration API flag overrides the setting in formats_e.ini
.Microsoft PowerPoint slide note settings can also be controlled through a parameter in the formats_e.ini
file.
The formats_e.ini
file is in the directory install
\
OS
\bin
, where install
is the path name of the Export installation directory and OS
is the name of the operating system.
To toggle slide note output in formats_e.ini
Open the formats_e.ini
file in a text editor.
Under [Options]
, add the ShowSlideNotes
parameter and set it to 1
to show slide notes, or 0
to hide slide notes. For example:
[Options]
ShowSlideNotes=1
KVCFG_PG_SHOWSLIDENOTES
configuration API flag overrides the setting in formats_e.ini
.
|