WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log in/Register/PasswordLog in/Register/Password

Export document as PDF/A

 
   Home -> Office -> Conversions RSS
Next:  Conversions: migrating Word 2002 template with custom toolbar to word 2..  
Author Message
erno

External


Since: Apr 21, 2008
Posts: 3



(Msg. 1) Posted: Mon Apr 21, 2008 4:07 am
Post subject: Export document as PDF/A Add to elertz
Archived from groups: microsoft>public>word>conversions (more info?)

Hello,

I am currently working at some e-government project and my task is to write
a plugin in C# that can export a document as PDF. The problem is that my boss
wants PDF/A. Currently I am using SaveAs(...) method to export an document as
a PDF. What should I pass to this method or what method should I call to
generate PDF/A? Thanx in advance.

Best regards
Ernad
Back to top
Login to vote
Graham Mayor

External


Since: Jul 04, 2006
Posts: 9657



(Msg. 2) Posted: Mon Apr 21, 2008 2:32 pm
Post subject: Re: Export document as PDF/A Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Why are you re-inventing the wheel? I'm glad I am not paying taxes to your
government!
If you are using Word 2007, simply download the PDF add-in from Microsoft,
and use that, which will create PDF/A format files iof you check the option.
If not then use Acrobat.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


erno wrote:
> Hello,
>
> I am currently working at some e-government project and my task is to
> write a plugin in C# that can export a document as PDF. The problem
> is that my boss wants PDF/A. Currently I am using SaveAs(...) method
> to export an document as a PDF. What should I pass to this method or
> what method should I call to generate PDF/A? Thanx in advance.
>
> Best regards
> Ernad
Back to top
Login to vote
erno

External


Since: Apr 21, 2008
Posts: 3



(Msg. 3) Posted: Mon Apr 21, 2008 2:32 pm
Post subject: Re: Export document as PDF/A Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Smile. I am just a student that works on this project. I am using that plugin
but currently I can export my documents only as PDF and it shoud be as PDF/A
exported. It is possible with the Office 2007 PDF plugin but I don't know
what parameter should I pass to the SaveAs(...) method. Thanx.

regards
Ernad

"Graham Mayor" wrote:

> Why are you re-inventing the wheel? I'm glad I am not paying taxes to your
> government!
> If you are using Word 2007, simply download the PDF add-in from Microsoft,
> and use that, which will create PDF/A format files iof you check the option.
> If not then use Acrobat.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> erno wrote:
> > Hello,
> >
> > I am currently working at some e-government project and my task is to
> > write a plugin in C# that can export a document as PDF. The problem
> > is that my boss wants PDF/A. Currently I am using SaveAs(...) method
> > to export an document as a PDF. What should I pass to this method or
> > what method should I call to generate PDF/A? Thanx in advance.
> >
> > Best regards
> > Ernad
>
>
>
Back to top
Login to vote
Graham Mayor

External


Since: Jul 04, 2006
Posts: 9657



(Msg. 4) Posted: Mon Apr 21, 2008 3:55 pm
Post subject: Re: Export document as PDF/A Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

The PDF plug-in doesn't use SaveAs. Recording the function gives:

ActiveDocument.ExportAsFixedFormat OutputFileName:= _
"D:\My Documents\Word documents\Doc1.pdf", ExportFormat:= _
wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1,
to:=1, _
Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True,
_
CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True,
_
BitmapMissingFonts:=True, UseISO19005_1:=True

of which UseISO19005_1:=True is the PDF/A parameter.

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


erno wrote:
> Smile. I am just a student that works on this project. I am using that
> plugin but currently I can export my documents only as PDF and it
> shoud be as PDF/A exported. It is possible with the Office 2007 PDF
> plugin but I don't know what parameter should I pass to the
> SaveAs(...) method. Thanx.
>
> regards
> Ernad
>
> "Graham Mayor" wrote:
>
>> Why are you re-inventing the wheel? I'm glad I am not paying taxes
>> to your government!
>> If you are using Word 2007, simply download the PDF add-in from
>> Microsoft, and use that, which will create PDF/A format files iof
>> you check the option. If not then use Acrobat.
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>>
>> erno wrote:
>>> Hello,
>>>
>>> I am currently working at some e-government project and my task is
>>> to write a plugin in C# that can export a document as PDF. The
>>> problem is that my boss wants PDF/A. Currently I am using
>>> SaveAs(...) method to export an document as a PDF. What should I
>>> pass to this method or what method should I call to generate PDF/A?
>>> Thanx in advance.
>>>
>>> Best regards
>>> Ernad
Back to top
Login to vote
erno

External


Since: Apr 21, 2008
Posts: 3



(Msg. 5) Posted: Tue Apr 22, 2008 1:09 am
Post subject: Re: Export document as PDF/A Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Thanx a lot. You saved my life Smile. Can you tell me please what the last one
argument means? Thanks.

Regards,
Ernad

"Graham Mayor" wrote:

> The PDF plug-in doesn't use SaveAs. Recording the function gives:
>
> ActiveDocument.ExportAsFixedFormat OutputFileName:= _
> "D:\My Documents\Word documents\Doc1.pdf", ExportFormat:= _
> wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
> wdExportOptimizeForPrint, Range:=wdExportAllDocument, From:=1,
> to:=1, _
> Item:=wdExportDocumentContent, IncludeDocProps:=True, KeepIRM:=True,
> _
> CreateBookmarks:=wdExportCreateNoBookmarks, DocStructureTags:=True,
> _
> BitmapMissingFonts:=True, UseISO19005_1:=True
>
> of which UseISO19005_1:=True is the PDF/A parameter.
>
> --
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> Graham Mayor - Word MVP
>
> My web site www.gmayor.com
> Word MVP web site http://word.mvps.org
> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>
>
> erno wrote:
> > Smile. I am just a student that works on this project. I am using that
> > plugin but currently I can export my documents only as PDF and it
> > shoud be as PDF/A exported. It is possible with the Office 2007 PDF
> > plugin but I don't know what parameter should I pass to the
> > SaveAs(...) method. Thanx.
> >
> > regards
> > Ernad
> >
> > "Graham Mayor" wrote:
> >
> >> Why are you re-inventing the wheel? I'm glad I am not paying taxes
> >> to your government!
> >> If you are using Word 2007, simply download the PDF add-in from
> >> Microsoft, and use that, which will create PDF/A format files iof
> >> you check the option. If not then use Acrobat.
> >>
> >> --
> >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> >> Graham Mayor - Word MVP
> >>
> >> My web site www.gmayor.com
> >> Word MVP web site http://word.mvps.org
> >> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
> >>
> >>
> >> erno wrote:
> >>> Hello,
> >>>
> >>> I am currently working at some e-government project and my task is
> >>> to write a plugin in C# that can export a document as PDF. The
> >>> problem is that my boss wants PDF/A. Currently I am using
> >>> SaveAs(...) method to export an document as a PDF. What should I
> >>> pass to this method or what method should I call to generate PDF/A?
> >>> Thanx in advance.
> >>>
> >>> Best regards
> >>> Ernad
>
>
>
Back to top
Login to vote
Graham Mayor

External


Since: Jul 04, 2006
Posts: 9657



(Msg. 6) Posted: Tue Apr 22, 2008 12:30 pm
Post subject: Re: Export document as PDF/A Add to elertz [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

ISO 19005-1 is explained at
http://www.iso.org/iso/catalogue_detail?csnumber=38920

--
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>
Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org
<>>< ><<> ><<> <>>< ><<> <>>< <>><<>


erno wrote:
> Thanx a lot. You saved my life Smile. Can you tell me please what the
> last one argument means? Thanks.
>
> Regards,
> Ernad
>
> "Graham Mayor" wrote:
>
>> The PDF plug-in doesn't use SaveAs. Recording the function gives:
>>
>> ActiveDocument.ExportAsFixedFormat OutputFileName:= _
>> "D:\My Documents\Word documents\Doc1.pdf", ExportFormat:= _
>> wdExportFormatPDF, OpenAfterExport:=False, OptimizeFor:= _
>> wdExportOptimizeForPrint, Range:=wdExportAllDocument,
>> From:=1, to:=1, _
>> Item:=wdExportDocumentContent, IncludeDocProps:=True,
>> KeepIRM:=True, _
>> CreateBookmarks:=wdExportCreateNoBookmarks,
>> DocStructureTags:=True, _
>> BitmapMissingFonts:=True, UseISO19005_1:=True
>>
>> of which UseISO19005_1:=True is the PDF/A parameter.
>>
>> --
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>> Graham Mayor - Word MVP
>>
>> My web site www.gmayor.com
>> Word MVP web site http://word.mvps.org
>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>
>>
>> erno wrote:
>>> Smile. I am just a student that works on this project. I am using that
>>> plugin but currently I can export my documents only as PDF and it
>>> shoud be as PDF/A exported. It is possible with the Office 2007 PDF
>>> plugin but I don't know what parameter should I pass to the
>>> SaveAs(...) method. Thanx.
>>>
>>> regards
>>> Ernad
>>>
>>> "Graham Mayor" wrote:
>>>
>>>> Why are you re-inventing the wheel? I'm glad I am not paying taxes
>>>> to your government!
>>>> If you are using Word 2007, simply download the PDF add-in from
>>>> Microsoft, and use that, which will create PDF/A format files iof
>>>> you check the option. If not then use Acrobat.
>>>>
>>>> --
>>>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>>> Graham Mayor - Word MVP
>>>>
>>>> My web site www.gmayor.com
>>>> Word MVP web site http://word.mvps.org
>>>> <>>< ><<> ><<> <>>< ><<> <>>< <>><<>
>>>>
>>>>
>>>> erno wrote:
>>>>> Hello,
>>>>>
>>>>> I am currently working at some e-government project and my task is
>>>>> to write a plugin in C# that can export a document as PDF. The
>>>>> problem is that my boss wants PDF/A. Currently I am using
>>>>> SaveAs(...) method to export an document as a PDF. What should I
>>>>> pass to this method or what method should I call to generate
>>>>> PDF/A? Thanx in advance.
>>>>>
>>>>> Best regards
>>>>> Ernad
Back to top
Login to vote
Display posts from previous:   
       Home -> Office -> Conversions All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
 Windows Other
  Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET