Re: Orientation page - Writer

2013-06-25 Thread Oliver-Rainer Wittmann

Hi,

On 14.06.2013 01:27, Henry Tiquet Leyva wrote:

Hello Oliver,

I already saw the new sidebar function but the idea is to do one function
(or one default style) for change the orientation of one page without
change the orientation of all pages in a document.



Sorry for the late response.

I am willing to support you.
Unfortunately, I will concentrate my complete energy on the AOO 4.0 
release in the next days. Then I will be on vacation till the end of 
July. Afterwards, I hope I have some time for further and deeper support.


I assume you know the UI steps to change the orientation of a single 
page. Possible steps are:
- create a new page style with the same attributes as the current one, 
but with changed orientation and with following page style set to the 
current one
- insert a page break at the first paragraph of the page with applying 
the newly created page style


Try to figure out how you can implement such UI steps.


Best regards, Oliver.


Best regards!


2013/6/13 Oliver-Rainer Wittmann orwittm...@googlemail.com


Hi,


On 12.06.2013 21:09, Henry Tiquet Leyva wrote:


So, I would like to know if I can program these styles and what part of
code I need to modify for do it.



I can help.

Again, I would like to know, if you had a look at the current function in
the new sidebar and how this function relates to the one you have in mind.
I would also like to know what concrete you have in mind to implement - it
is still unclear to me.
Then I can point you to the corresponding source code and the stuff that
needs to be done.


Best regards, Oliver.





2013/6/11 Alexandro Colorado j...@oooes.org

  On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:



Hi,

On 11.06.2013 11:24, Alexandro Colorado wrote:


On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:


Hi,

On 11.06.2013 04:23, Henry Tiquet Leyva wrote:


Hello everyone,
I would like begin to modify the AOO code and I think to begin with


the



page orientation (Writer).

The idea is to create a button on the toolbar for change the page
orientation with a click.

I would like to know what code manipulates the orientation page in
Writer.



The new sidebar feature introduced a page property panel which is


active



in Writer. In this page property panel you can easily change the page

orientation of the page style which is applied at the current cursor
position.

Is this function the one you want to implement?
If yes, I propose not to duplicate this functionality in a toolbar.
May
be you have further ideas how the user experience of this existing
function could be changed/improved.
If not, I would like to ask you to tell more about the function you


want



to implement. Thanks in advance.




I would need to see this feature in action, then I will understand it
better as well as learn how they got around the previous explanation
by RGB.

Is the implementation from the current page up to the end of the
document? or is it ONLY that current page.



May be you have missed some of my words which are:
In this page property panel you can easily change the page orientation
of the page style which is applied at the current cursor position.



Ok but that has always be the way the regular page dialog is built I
thought it was a NEW behavior.

  As said, this function changes the page orientation of a page style.

Thus, all pages which have this page style applied will change its
orientation. This will also influence the text flow as the pages will in
general not contain the same content when the orientation is changed.

Best regards, Oliver.

--**--**
-
To unsubscribe, e-mail: 
dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org





--
Alexandro Colorado
Apache OpenOffice Contributor
http://es.openoffice.org

--**--**
-
To unsubscribe, e-mail: 
dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org






--**--**-
To unsubscribe, e-mail: 
dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org






-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Orientation page - Writer

2013-06-13 Thread Oliver-Rainer Wittmann

Hi,

On 12.06.2013 21:09, Henry Tiquet Leyva wrote:

So, I would like to know if I can program these styles and what part of
code I need to modify for do it.



I can help.

Again, I would like to know, if you had a look at the current function 
in the new sidebar and how this function relates to the one you have in 
mind.
I would also like to know what concrete you have in mind to implement - 
it is still unclear to me.
Then I can point you to the corresponding source code and the stuff that 
needs to be done.



Best regards, Oliver.




2013/6/11 Alexandro Colorado j...@oooes.org


On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:

Hi,

On 11.06.2013 11:24, Alexandro Colorado wrote:

On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:

Hi,

On 11.06.2013 04:23, Henry Tiquet Leyva wrote:

Hello everyone,
I would like begin to modify the AOO code and I think to begin with

the

page orientation (Writer).
The idea is to create a button on the toolbar for change the page
orientation with a click.

I would like to know what code manipulates the orientation page in
Writer.



The new sidebar feature introduced a page property panel which is

active

in Writer. In this page property panel you can easily change the page
orientation of the page style which is applied at the current cursor
position.

Is this function the one you want to implement?
If yes, I propose not to duplicate this functionality in a toolbar. May
be you have further ideas how the user experience of this existing
function could be changed/improved.
If not, I would like to ask you to tell more about the function you

want

to implement. Thanks in advance.


I would need to see this feature in action, then I will understand it
better as well as learn how they got around the previous explanation
by RGB.

Is the implementation from the current page up to the end of the
document? or is it ONLY that current page.



May be you have missed some of my words which are:
In this page property panel you can easily change the page orientation
of the page style which is applied at the current cursor position.


Ok but that has always be the way the regular page dialog is built I
thought it was a NEW behavior.


As said, this function changes the page orientation of a page style.
Thus, all pages which have this page style applied will change its
orientation. This will also influence the text flow as the pages will in
general not contain the same content when the orientation is changed.

Best regards, Oliver.

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org





--
Alexandro Colorado
Apache OpenOffice Contributor
http://es.openoffice.org

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org






-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org



Re: Orientation page - Writer

2013-06-13 Thread Henry Tiquet Leyva
Hello Oliver,

I already saw the new sidebar function but the idea is to do one function
(or one default style) for change the orientation of one page without
change the orientation of all pages in a document.

Best regards!


2013/6/13 Oliver-Rainer Wittmann orwittm...@googlemail.com

 Hi,


 On 12.06.2013 21:09, Henry Tiquet Leyva wrote:

 So, I would like to know if I can program these styles and what part of
 code I need to modify for do it.


 I can help.

 Again, I would like to know, if you had a look at the current function in
 the new sidebar and how this function relates to the one you have in mind.
 I would also like to know what concrete you have in mind to implement - it
 is still unclear to me.
 Then I can point you to the corresponding source code and the stuff that
 needs to be done.


 Best regards, Oliver.




 2013/6/11 Alexandro Colorado j...@oooes.org

  On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:

 Hi,

 On 11.06.2013 11:24, Alexandro Colorado wrote:

 On 6/11/13, Oliver-Rainer Wittmann orwittm...@googlemail.com wrote:

 Hi,

 On 11.06.2013 04:23, Henry Tiquet Leyva wrote:

 Hello everyone,
 I would like begin to modify the AOO code and I think to begin with

 the

 page orientation (Writer).
 The idea is to create a button on the toolbar for change the page
 orientation with a click.

 I would like to know what code manipulates the orientation page in
 Writer.


 The new sidebar feature introduced a page property panel which is

 active

 in Writer. In this page property panel you can easily change the page
 orientation of the page style which is applied at the current cursor
 position.

 Is this function the one you want to implement?
 If yes, I propose not to duplicate this functionality in a toolbar.
 May
 be you have further ideas how the user experience of this existing
 function could be changed/improved.
 If not, I would like to ask you to tell more about the function you

 want

 to implement. Thanks in advance.


 I would need to see this feature in action, then I will understand it
 better as well as learn how they got around the previous explanation
 by RGB.

 Is the implementation from the current page up to the end of the
 document? or is it ONLY that current page.


 May be you have missed some of my words which are:
 In this page property panel you can easily change the page orientation
 of the page style which is applied at the current cursor position.


 Ok but that has always be the way the regular page dialog is built I
 thought it was a NEW behavior.

  As said, this function changes the page orientation of a page style.
 Thus, all pages which have this page style applied will change its
 orientation. This will also influence the text flow as the pages will in
 general not contain the same content when the orientation is changed.

 Best regards, Oliver.

 --**--**
 -
 To unsubscribe, e-mail: 
 dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org




 --
 Alexandro Colorado
 Apache OpenOffice Contributor
 http://es.openoffice.org

 --**--**
 -
 To unsubscribe, e-mail: 
 dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org




 --**--**-
 To unsubscribe, e-mail: 
 dev-unsubscribe@openoffice.**apache.orgdev-unsubscr...@openoffice.apache.org
 For additional commands, e-mail: dev-h...@openoffice.apache.org




Re: Orientation page - Writer

2013-06-11 Thread RGB ES
2013/6/11 Henry Tiquet Leyva henry.tiquet.le...@gmail.com

 Hello everyone,
 I would like begin to modify the AOO code and I think to begin with the
 page orientation (Writer).
 The idea is to create a button on the toolbar for change the page
 orientation with a click.

 I would like to know what code manipulates the orientation page in Writer.


Please, note that on Writer there is no direct formatting for pages, they
can only be formatted through page styles. To insert a different page
layout between two other pages you need to insert two page breaks with
change of page style.

Maybe this feature request is of interest for you ;)

Bug 119355 - Making Page Breaks more visible and easy to modify
https://issues.apache.org/ooo/show_bug.cgi?id=119355

Regards
Ricardo




 Regards.



Orientation page - Writer

2013-06-10 Thread Henry Tiquet Leyva
Hello everyone,
I would like begin to modify the AOO code and I think to begin with the
page orientation (Writer).
The idea is to create a button on the toolbar for change the page
orientation with a click.

I would like to know what code manipulates the orientation page in Writer.

Regards.


Re: Orientation page - Writer

2013-06-10 Thread Rory O'Farrell
On Mon, 10 Jun 2013 21:23:13 -0500
Henry Tiquet Leyva henry.tiquet.le...@gmail.com wrote:

 Hello everyone,
 I would like begin to modify the AOO code and I think to begin with the
 page orientation (Writer).
 The idea is to create a button on the toolbar for change the page
 orientation with a click.
 
 I would like to know what code manipulates the orientation page in Writer.
 

There is an earlier extension to do this at
http://extensions.openoffice.org/en/project/Alba
but I understand it has been rendered inoperable by later code changes in 
OpenOffice. 

Its code may give you some useful hints.

How do  you propose to cope with the style changes such an orientation change 
will involve?

-- 
Rory O'Farrell ofarr...@iol.ie

-
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org