Thank you!


At 2013-01-31 14:07:22,"Fan Zheng" <zheng.easy...@gmail.com> wrote:
>Hi:
>
>Now I understand what you want.
>
>Personally, I do not like the way to change ext file name of ODF files you
>want to try, but that is OK if you just want to dig deeper into the source
>code.
>
>First, you should get some knowledge about the whole data module framework
>stuff. For example, the relationship between the SwDocShell,
>Sd.DrawDocShell and SfxObjectShell.
>
>Second, certain classes which involving into the document operation
>executing especially the saving executing process, for example the
>SfxBaseShell, SfxStoringHelper.
>
>In general, the saving process of each application in AOO is abstracted
>into a common one, with certain different implementation (e.g. the filter
>part of each application) for identified saving execution. Which, maybe you
>already realized, is following the design pattern 'Template Method' more or
>less.
>
>With the default setting of AOO, saving file process will use the OS
>provided File Execute Dialog (response of SfxStoringHelper::GUIStoreModel),
>with a series of parameters for customizing default provided
>selecting/nam/path stuff, and of cause the optional filter setting
>(corresponding to the ext file name) included. The available filter
>properties list is provided by ModelData_Impl::GetPreselectedFilter_Impl.
>And I am not sure now, that whether such list are actually defined in any
>configuration file or not.
>
>I remember that there are some introductions about said classes and design
>inside the WIKI pages, which you can refer at first. And just like lots of
>others open source project, AOO also need us to find out our owned sense by
>the source code investigation.
>
>Hope this could help you.
>
>2013/1/30 2 <laoyi...@126.com>
>
>> Thank you for your reply.
>> I guess my way is by the UI/dialog way inside AOO.
>> What I want is that when I open a writer file and input something, click
>> save button, there
>> will be a dialog for save, I can choose "ABC" as the file type but not
>> "ODT". certainly
>> this "ABC" type file can be open by writer, e.g "file1.ABC".
>> I don't kown how to implement these and which way is the best I can choose
>>
>> Yi
>>
>>
>>
>>
>> At 2013-01-30 09:43:10,"Fan Zheng" <zheng.easy...@gmail.com> wrote:
>> >Hi:
>> >
>> >We still need know more details.
>> >
>> >Which way you want to use on saving a customized extension name ODT file?
>> >By the UI/dialog way inside AOO? By the UNO programming way with a running
>> >AOO service? Or an via a special short cut in SW executive slot?
>> >
>> >In general, all of them are possible, but with huge differences on
>> >implementation.
>> >
>> >2013/1/29 2 <laoyi...@126.com>
>> >
>> >> Andrea,
>> >> Sorry,thankyou for reminding me.I mean I want tomodify the writer
>> >> file'sextension,for example writer's extension is "odt" , how can I
>> replace
>> >> it to "abc"。
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> At 2013-01-29 16:00:16,"Andrea Pescetti" <pesce...@apache.org> wrote:
>> >> >laoyi419 wrote:
>> >> >> I just wanna kown some details, which can help me to understand the
>> >> >> project, I think it is the basic. Who can help me to understand in
>> >> >> the shortest possible time?
>> >> >
>> >> >This mailing list is a good resource and several people may be able to
>> >> >help you with development-related issues. But you need to be more
>> >> >descriptive. For example, your previous question:
>> >> >
>> >> >> Hi, I have built the sw module for debug, I want to modify the
>> >> >> extension of the writer for test, How can I do?
>> >> >
>> >> >is too concise for me to understand (what is the "extension" you need
>> to
>> >> >change?). If you make the effort to describe in more detail what you
>> >> >need help with, you will get better help.
>> >> >
>> >> >Regards,
>> >> >   Andrea.
>> >>
>>

Reply via email to