xiuzhi--CH2000 wrote:
> Hi Christian,
>    My question is How I can modify the fontwork gallery default text, 
> "Fontwork", to another default text?
As I told you in my last mail. Use the environment variables to make the
hidden themes visible. Drag all shapes from the fontwork theme to an
empty document. Change the text on all shapes. Delete all shapes from
the fontwork theme and drag the changed shapes from the document back
to the theme. Close the office and you have updated gallery binary files.

> Another question is how to add a theme as a object on gallery dialog?
> That is, after I select a theme on the gallery left side,a sub theme
> will appear in the right gallery frame just like a object.then when
> I click the subtheme,the objects of subtheme will appear. how can I do
this?
Do you want to add that feature to the office gallery or to the fontwork
gallery dialog? In both cases you would have to change the
implementations to support that feature. Implementation for the office
gallery is in svx/source/gallery, implementation for the fontwork
gallery dialog is in svx/source/gallery/fontwork.

Please do not get confused here. The office gallery is different to the
fontwork dialog where you can choose the fontwork layouts. The fontwork
dialog is also called fontwork gallery but it is not the same as the
office gallery. To make this more complicate, the fontwork dialog uses
the office gallery to store the fontwork layouts. But you don't see
them in the office gallery as it is a hidden theme.

Regards,
Christian

> 
> Thanks.
> Xiuzhi
>    
> 
>> Hi Xiuzhi,
>>
>> since your mail does not contain any question I can't answer much.
>> Have you tried using the environment variables? Do you know how
>> to use them? To repeat the basic idea behind this, the fontwork
>> shapes you see in the fontwork gallery are take from a hidden
>> theme from the office gallery. You can see and edit this hidden
>> theme when you start the office in an environment where
>> GALLERY_SHOW_HIDDEN_THEMES is defined. Then you can drag all
>> shapes back into an empty document, modify them and drag them
>> back. Now the gallery files (sg36.sdg,sg36.sdv,sg36.thm) are
>> updated by the office itself.
>>
>> Regards,
>> Christian
>>
>> xiuzhi--CH2000 wrote:
>>> Hi Christian,KAMI:
>>>     Thank you for  your reply.I do not have a clear description of what I 
>>> want to know in my last e-mail.
>>>     1.After I click the "Fontwork gallery" icon on the Drawing toolbar,the 
>>> Fontwork Gallery dialog will popup.
>>>     2.In the "Fontwork Gallery Dialog",we can see all kinds of shapes with 
>>> the default word "Fontwork".
>>>     3 After double-click the object to enter text edit mode,the "Fontwork 
>>> "will insert to the document.
>>>    My focus is to modify the default text"Fontwork" to another text,for 
>>> example,"China"in Chinese.That is :the shaps with the default word "China" 
>>> will appear in the "Fontwork Gallery Dialog" when I click the "Fontwork 
>>> Gallery" icon,the "China" will insert to the document.
>>>  Thank you!
>>>
>>> Xiuzhi
>>>
>>>> Hi Xiuzhi,
>>>>
>>>> just set the environment variable GALLERY_SHOW_HIDDEN_THEMES and
>>>> AVOID_BURN_IN_FOR_GALLERY_THEME to something and then start office.
>>>> Now you can drag'n'drop shapes to and from the hidden gallery themes.
>>>>
>>>> Regards,
>>>> Christian
>>>>
>>>> PS: Info is from
>>>> http://wiki.services.openoffice.org/wiki/Environment_Variables
>>>>
>>>> xiuzhi--CH2000 wrote:
>>>>> hi all,
>>>>>     I want to known how can edit the fontwork gallery  files 
>>>>> (sg36.sdg,sg36.sdv,sg36.thm). I use OpenOffice open the three file, but I 
>>>>> can not understand the file (I only can see the binary code).
>>>>>   What tools can do this? Can you tell me? I want to change the word used 
>>>>> in the fontwork gallery ,for example using "font" instead of 
>>>>> "fontwork".How can I do this?
>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to