shapeimport.hxx (ecfe53c5) shapeimport.hxx (f3b8b509)
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 380 unchanged lines hidden (view full) ---

389 const rtl::OUString& rDestShapeId,
390 sal_Int32 nDestGlueId );
391
392 /** adds a mapping for a glue point identifier from an xml file to the identifier created after inserting
393 the new glue point into the core. The saved mappings can be retrieved by getGluePointId() */
394 void addGluePointMapping( com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape,
395 sal_Int32 nSourceId, sal_Int32 nDestinnationId );
396
1/**************************************************************
2 *
3 * Licensed to the Apache Software Foundation (ASF) under one
4 * or more contributor license agreements. See the NOTICE file
5 * distributed with this work for additional information
6 * regarding copyright ownership. The ASF licenses this file
7 * to you under the Apache License, Version 2.0 (the
8 * "License"); you may not use this file except in compliance

--- 380 unchanged lines hidden (view full) ---

389 const rtl::OUString& rDestShapeId,
390 sal_Int32 nDestGlueId );
391
392 /** adds a mapping for a glue point identifier from an xml file to the identifier created after inserting
393 the new glue point into the core. The saved mappings can be retrieved by getGluePointId() */
394 void addGluePointMapping( com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape,
395 sal_Int32 nSourceId, sal_Int32 nDestinnationId );
396
397 /** find mapping for given DestinationID. This allows to extract the original draw:id imported with a draw:glue-point */
398 sal_Int32 findGluePointMapping(
399 const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape,
400 sal_Int32 nDestinnationId ) const;
401
397 /** moves all current DestinationId's for rXShape by n */
398 void moveGluePointMapping( const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape, const sal_Int32 n );
399
400 /** retrieves a mapping for a glue point identifier from the current xml file to the identifier created after
401 inserting the new glue point into the core. The mapping must be initialized first with addGluePointMapping() */
402 /** moves all current DestinationId's for rXShape by n */
403 void moveGluePointMapping( const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape, const sal_Int32 n );
404
405 /** retrieves a mapping for a glue point identifier from the current xml file to the identifier created after
406 inserting the new glue point into the core. The mapping must be initialized first with addGluePointMapping() */
402 sal_Int32 getGluePointId( com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape, sal_Int32 nSourceId );
407 sal_Int32 getGluePointId( const com::sun::star::uno::Reference< com::sun::star::drawing::XShape >& xShape, sal_Int32 nSourceId );
403
404 /** this method must be calling before the first shape is imported for the given page.
405 Calls to this method can be nested */
406 void startPage( com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes );
407
408 /** this method must be calling after the last shape is imported for the given page
409 Calls to this method can be nested */
410 void endPage( com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes );

--- 25 unchanged lines hidden ---
408
409 /** this method must be calling before the first shape is imported for the given page.
410 Calls to this method can be nested */
411 void startPage( com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes );
412
413 /** this method must be calling after the last shape is imported for the given page
414 Calls to this method can be nested */
415 void endPage( com::sun::star::uno::Reference< com::sun::star::drawing::XShapes >& rShapes );

--- 25 unchanged lines hidden ---