Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

BlockContentRectangle.java 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. /*
  2. *
  3. * Copyright 2004 The Apache Software Foundation.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. *
  17. * Created on 17/06/2004
  18. * $Id$
  19. */
  20. package org.apache.fop.area;
  21. /**
  22. * @author pbw
  23. * @version $Revision$ $Name$
  24. */
  25. public class BlockContentRectangle extends ContentRectangle {
  26. /**
  27. * @param area
  28. */
  29. public BlockContentRectangle(Area area) {
  30. super(area);
  31. // TODO Auto-generated constructor stub
  32. }
  33. /**
  34. * @param area
  35. * @param ipOrigin
  36. * @param bpOrigin
  37. * @param ipDim
  38. * @param bpDim
  39. */
  40. public BlockContentRectangle(Area area, double ipOrigin, double bpOrigin,
  41. double ipDim, double bpDim) {
  42. super(area, ipOrigin, bpOrigin, ipDim, bpDim);
  43. // TODO Auto-generated constructor stub
  44. }
  45. private BlockAllocationRectangle allocation;
  46. public void setBlockAllocationRectangle(
  47. BlockAllocationRectangle allocation) {
  48. this.allocation = allocation;
  49. // Set the content dimension of the allocation rectangle
  50. }
  51. }