Page Object in Writer?

asked 2019-06-28 00:49:39 +0200

Shadowskull1247 gravatar image

updated 2019-06-28 02:02:46 +0200

EDIT: Crossposted here

Hello,

Is there a page object in Writer that can be accessed via macro?

For example, say I wanted to copy the first page via macro, how would I access the first page object (if a page object exists) to copy it?

Would it be something like:

ThisComponent.page

or

ThisComponent.CurrentController.page

or

ThisComponent.CurrentController.Frame.page

If there is no such thing as a page object, how would I copy all Draw, Images, and objects from the first page?

edit retag flag offensive close merge delete

Comments

Same question asked on OpenOffice forum

robleyd gravatar imagerobleyd ( 2019-06-28 01:38:27 +0200 )edit

@robleyd The question on OOF was asked by me - two questions = double reply time.

Shadowskull1247 gravatar imageShadowskull1247 ( 2019-06-28 01:47:20 +0200 )edit

I'm well aware that the question was posted by the same user; who didn't have the courtesy to advise that they were cross posting. It saves people duplicating the efforts of those responding on the other site(s).

robleyd gravatar imagerobleyd ( 2019-06-28 01:54:50 +0200 )edit

I apologize. I did not think of that. Editing posts now.

Shadowskull1247 gravatar imageShadowskull1247 ( 2019-06-28 02:01:16 +0200 )edit