The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Pod::WordML - Turn Pod into Microsoft Word's WordML

SYNOPSIS

        use Pod::WordML;

DESCRIPTION

***THIS IS AN ABANDONED MODULE. YOU CAN ADOPT IT *** *** https://pause.perl.org/pause/authenquery?ACTION=pause_04about#takeover ***

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.

The style information

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.

document_header

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

head1_style, head2_style, head3_style, head4_style

The paragraph styles to use with each heading level. By default these are Head1Style, and so on.

normal_paragraph_style

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.

bullet_paragraph_style

Like normal_paragraph_style, but for paragraphs sections under =item sections.

code_paragraph_style

Like normal_paragraph_style, but for verbatim sections. To get more fancy handling, you'll need to override start_Verbatim and end_Verbatim.

inline_code_style

The character style that goes with C<>.

inline_url_style

The character style that goes with U<>.

inline_italic_style

The character style that goes with I<>.

inline_bold_style

The character style that goes with B<>.

The Pod::Simple mechanics

Everything else is the same stuff from Pod::Simple.

  <w:p wsp:rsidR="00FE5092" wsp:rsidRDefault="00FE5092" wsp:rsidP="00FE5092">
    <w:pPr>
      <w:pStyle w:val="ListBullet" />
      <w:listPr>
        <wx:t wx:val="·" />
        <wx:font wx:val="Symbol" />
      </w:listPr>
    </w:pPr>
    <w:r>
      <w:t>List item 1</w:t>
    </w:r>
  </w:p>

TO DO

SEE ALSO

Pod::PseudoPod, Pod::Simple

SOURCE AVAILABILITY

This is an abandoned module. You can adopt it if you like:

        https://pause.perl.org/pause/authenquery?ACTION=pause_04about#takeover

This source is in Github:

        https://github.com/CPAN-Adoptable-Modules/pod-wordml.git

If, for some reason, I disappear from the world, one of the other members of the project can shepherd this module appropriately.

AUTHOR

brian d foy, <bdfoy@cpan.org>

COPYRIGHT AND LICENSE

Copyright © 2009-2021, brian d foy <bdfoy@cpan.org>. All rights reserved.

You may redistribute this under the Artistic License 2.0.