(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.
(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
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
(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?)
. 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
>
>
>
(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:
erno wrote:
> . 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
(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 . 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:
> > . 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
>
>
>
(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?)
erno wrote:
> Thanx a lot. You saved my life . 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:
>>> . 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
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