Pod::WordML - Turn Pod into Microsoft Word's WordML
use Pod::WordML;
***THIS IS ALPHA SOFTWARE. MAJOR PARTS WILL CHANGE***
I wrote just enough of this module to get my job done, and I skipped every part of the specification I didn't need while still making it flexible enough to handle stuff later.
I don't handle all of the complexities of styles, defining styles, and all that other stuff. There are methods to return style names, and you can override those in a subclass.
This is the start of the document that defines all of the styles. You'll need to override this. You can take this directly from
The paragraph styles to use with each heading level. By default these are Head1Style, and so on.
Head1Style
The paragraph style for normal Pod paragraphs. You don't have to use this for all normal paragraphs, but you'll have to override and extend more things to get everything just how you like. You'll need to override start_Para to get more variety.
start_Para
Like normal_paragraph_style, but for paragraphs sections under =item sections.
normal_paragraph_style
=item
Like normal_paragraph_style, but for verbatim sections. To get more fancy handling, you'll need to override start_Verbatim and end_Verbatim.
start_Verbatim
end_Verbatim
The character style that goes with C<>.
C<>
The character style that goes with U<>.
U<>
The character style that goes with I<>.
I<>
The character style that goes with B<>.
B<>
Everything else is the same stuff from Pod::Simple.
Pod::Simple
1 POD Error
The following errors were encountered while parsing the POD:
Non-ASCII character seen before =encoding in 'wx:val="·"'. Assuming UTF-8
To install Pod::WordML, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Pod::WordML
CPAN shell
perl -MCPAN -e shell install Pod::WordML
For more information on module installation, please visit the detailed CPAN module installation guide.